Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
05e3a0c4
authored
2023-12-19 14:48:41 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:宗地基本信息
1 parent
f206defa
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
119 additions
and
160 deletions
src/styles/tablecss.scss
src/views/djbworkflow/mixin/index.js
src/views/printdjb/components/zdjbxx.vue
src/views/registerBook/zdjbxx.vue
src/views/workflow/mixin/index.js
src/styles/tablecss.scss
View file @
05e3a0c
.tableDivCss
{
width
:
100%
;
height
:
100
%
;
height
:
95
%
;
background-color
:
#f5f5f5
;
padding
:
5px
;
overflow-y
:
scroll
;
box-sizing
:
border-box
;
}
.tableCss
{
...
...
src/views/djbworkflow/mixin/index.js
View file @
05e3a0c
/*
* @Description:workFramezu.vue组件的方法 头部按钮弹框方法
* @Autor: miaofang
* @LastEditTime: 2023-
09-26 14:25:23
* @LastEditTime: 2023-
12-19 10:02:20
*/
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
import
{
getQllxByBdcdyid
}
from
"@/api/djbDetail.js"
;
...
...
@@ -143,27 +143,9 @@ export default {
}
break
;
case
"B6"
:
//根据编号获取对应信息
getPrintTemplateByCode
({
tmpno
:
'dysqs'
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
getPrintApplicationForm
(
this
.
currentSelectProps
.
bsmSldy
).
then
(
infoRes
=>
{
if
(
infoRes
.
code
==
200
)
{
//打开模板设计
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
res
.
result
.
tmpcontent
);
//装载模板
//todo 调取后端接口获取数据 循环set
for
(
let
key
in
infoRes
.
result
)
{
LODOP
.
SET_PRINT_STYLEA
(
key
,
"CONTENT"
,
infoRes
.
result
[
key
]);
}
LODOP
.
PREVIEW
();
}
else
{
this
.
$message
.
error
(
infoRes
.
message
)
}
})
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
this
.
$popupDialog
(
"打印申请书"
,
"workflow/components/dialog/sqs"
,
{
bsmSldy
:
this
.
currentSelectProps
.
bsmSldy
},
'30%'
,
true
)
break
;
case
"B7"
:
this
.
$popupDialog
(
"证书领取"
,
"workflow/components/dialog/zslq"
,
...
...
src/views/printdjb/components/zdjbxx.vue
View file @
05e3a0c
...
...
@@ -219,10 +219,9 @@
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"~@/styles/tablecss.scss"
;
.tableDivCss
{
.tableDivCss
{
width
:
100%
;
height
:
100%
;
background-color
:
rgb
(
255
,
255
,
255
);
}
</
style
>
...
...
src/views/registerBook/zdjbxx.vue
View file @
05e3a0c
<!--
* @Description :宗地基本信息
* @Autor : miaofang
* @LastEditTime: 2023-
08-04 10:06:45
* @LastEditTime: 2023-
12-19 14:48:11
-->
<
template
>
<div
class=
"tableDivCss"
>
<el-button
class=
"print"
v-print=
"printObj"
>
打印
</el-button>
<el-button
class=
"print"
v-print=
"printObj"
>
打印
</el-button>
<table
cellpadding=
"0"
cellspacing=
"0"
id=
"box"
class=
"tableCss"
>
<tr>
<th
colspan=
"5"
class=
"title"
>
宗地基本信息
</th>
...
...
@@ -29,7 +29,7 @@
<td
style=
"width: 15%"
>
宗地面积
</td>
<td
style=
"width: 30%"
>
{{
zdjbxx
.
zdmj
}}
m²
</td>
<td
style=
"width: 15%"
>
用途
</td>
<td
style=
"width: 30%"
>
{{
zdjbxx
.
yt
|
dicyt
(
"tdyt"
)
}}
</td>
<td
style=
"width: 30%"
>
{{
zdjbxx
.
ghytmc
}}
</td>
</tr>
<tr>
<td>
等级
</td>
...
...
@@ -112,125 +112,125 @@
</
template
>
<
script
>
import
store
from
"@/store/index.js"
;
import
{
getZdjjxxBybdcdyid
}
from
"@/api/djbDetail.js"
;
import
store
from
"@/store/index.js"
;
import
{
getZdjjxxBybdcdyid
}
from
"@/api/djbDetail.js"
;
export
default
{
data
()
{
return
{
printObj
:
{
id
:
"box"
,
//其他配置项,
},
bhqkColumns
:
[
{
prop
:
"ssywh"
,
label
:
"上手业务号"
,
},
{
prop
:
"zddm"
,
label
:
"宗地代码"
,
},
{
prop
:
"bhqzddm"
,
label
:
"变化前宗地代码"
,
},
{
prop
:
"bhnr"
,
label
:
"变化内容"
,
},
{
prop
:
"bhyy"
,
label
:
"变化原因"
,
export
default
{
data
()
{
return
{
printObj
:
{
id
:
"box"
,
//其他配置项,
},
{
prop
:
"djsj"
,
label
:
"登记时间"
,
},
{
prop
:
"dbr"
,
label
:
"登簿人"
,
},
{
prop
:
"fj"
,
label
:
"附记"
,
},
],
bhqkTableWidth
:
745
,
zdjbxx
:
{},
zdbhqks
:
[],
propsParam
:
this
.
$attrs
,
showGroup
:
false
,
bdclxList
:
[
""
,
"宗地"
,
"宗海"
,
"自然幢"
,
"多幢"
,
"构筑物"
,
"林权"
,
"户"
],
foundItemaa
:
{},
foundItemaaa
:
{},
};
},
filters
:
{
dictionary
:
function
(
value
,
param
)
{
const
foundItem
=
store
.
getters
.
dictData
[
param
].
find
(
(
item
)
=>
item
.
dcode
===
String
(
value
)
);
if
(
foundItem
)
{
return
foundItem
.
dname
;
}
bhqkColumns
:
[
{
prop
:
"ssywh"
,
label
:
"上手业务号"
,
},
{
prop
:
"zddm"
,
label
:
"宗地代码"
,
},
{
prop
:
"bhqzddm"
,
label
:
"变化前宗地代码"
,
},
{
prop
:
"bhnr"
,
label
:
"变化内容"
,
},
{
prop
:
"bhyy"
,
label
:
"变化原因"
,
},
{
prop
:
"djsj"
,
label
:
"登记时间"
,
},
{
prop
:
"dbr"
,
label
:
"登簿人"
,
},
{
prop
:
"fj"
,
label
:
"附记"
,
},
],
bhqkTableWidth
:
745
,
zdjbxx
:
{},
zdbhqks
:
[],
propsParam
:
this
.
$attrs
,
showGroup
:
false
,
bdclxList
:
[
""
,
"宗地"
,
"宗海"
,
"自然幢"
,
"多幢"
,
"构筑物"
,
"林权"
,
"户"
],
foundItemaa
:
{},
foundItemaaa
:
{},
};
},
dicyt
:
function
(
value
,
param
)
{
const
res
=
store
.
getters
.
dictData
[
param
].
filter
((
item
)
=>
{
if
(
item
.
dcode
===
String
(
value
))
{
return
item
;
}
else
{
if
(
item
.
children
.
length
)
{
const
res2
=
item
.
children
.
filter
((
items
)
=>
{
if
(
items
.
dcode
===
String
(
value
))
{
return
items
;
filters
:
{
dictionary
:
function
(
value
,
param
)
{
const
foundItem
=
store
.
getters
.
dictData
[
param
].
find
(
(
item
)
=>
item
.
dcode
===
String
(
value
)
);
if
(
foundItem
)
{
return
foundItem
.
dname
;
}
},
dicyt
:
function
(
value
,
param
)
{
const
res
=
store
.
getters
.
dictData
[
param
].
filter
((
item
)
=>
{
if
(
item
.
dcode
===
String
(
value
))
{
return
item
;
}
else
{
if
(
item
.
children
.
length
)
{
const
res2
=
item
.
children
.
filter
((
items
)
=>
{
if
(
items
.
dcode
===
String
(
value
))
{
return
items
;
}
});
if
(
res2
.
length
)
{
return
res2
;
}
});
if
(
res2
.
length
)
{
return
res2
;
}
}
});
if
(
res
[
0
])
{
return
res
[
0
].
dname
;
}
});
if
(
res
[
0
])
{
return
res
[
0
].
dname
;
}
},
},
},
created
()
{
this
.
loadData
();
},
methods
:
{
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
getZdjjxxBybdcdyid
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
zdjbxx
=
res
.
result
.
zdjbxx
;
this
.
zdbhqks
=
res
.
result
.
zdbhqkList
;
if
(
this
.
zdbhqks
!=
null
&&
this
.
zdbhqks
.
length
>
0
)
{
this
.
showGroup
=
true
;
}
}
});
created
()
{
this
.
loadData
();
},
methods
:
{
/**
* @description: loadData
* @author: renchao
*/
loadData
()
{
getZdjjxxBybdcdyid
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
zdjbxx
=
res
.
result
.
zdjbxx
;
this
.
zdbhqks
=
res
.
result
.
zdbhqkList
;
if
(
this
.
zdbhqks
!=
null
&&
this
.
zdbhqks
.
length
>
0
)
{
this
.
showGroup
=
true
;
}
}
});
},
},
};
},
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"~@/styles/tablecss.scss"
;
.tableDivCss
{
position
:
relative
;
.print
{
display
:
inline
;
//
background-color
:
#0079fe
;
z-index
:
10
;
position
:
absolute
;
left
:
11px
;
top
:
11px
;
@import
"~@/styles/tablecss.scss"
;
.tableDivCss
{
position
:
relative
;
.print
{
display
:
inline
;
//
background-color
:
#0079fe
;
z-index
:
10
;
position
:
absolute
;
left
:
11px
;
top
:
11px
;
}
}
}
</
style
>
...
...
src/views/workflow/mixin/index.js
View file @
05e3a0c
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-1
1-22 17:05:55
* @LastEditTime: 2023-1
2-19 10:02:03
*/
import
Vue
from
'vue'
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
...
...
@@ -137,29 +137,6 @@ export default {
this
.
$popupDialog
(
"打印申请书"
,
"workflow/components/dialog/sqs"
,
{
bsmSldy
:
this
.
currentSelectProps
.
bsmSldy
},
'30%'
,
true
)
//根据编号获取对应信息
// getPrintTemplateByCode({ tmpno: Vue.prototype.BASE_API.adapter }).then(res => {
// if (res.code === 200) {
// getPrintApplicationForm(this.currentSelectProps.bsmSldy).then(infoRes => {
// if (infoRes.code === 200) {
// let LODOP = getLodop(document.getElementById('LODOP_OB'), document.getElementById('LODOP_EM'));
// // 装载第一个模板并设置数据
// LODOP.ADD_PRINT_DATA("ProgramData", res.result.tmpcontent);
// for (let key in infoRes.result) {
// LODOP.SET_PRINT_STYLEA(key, "CONTENT", infoRes.result[key]);
// }
// // 进行预览
// LODOP.PREVIEW();
// } else {
// this.$message.error(infoRes.message);
// }
// });
// } else {
// this.$message.error(res.message);
// }
// })
break
;
case
"B7"
:
this
.
$popupDialog
(
"证书领取"
,
"workflow/components/dialog/zslq"
,
...
...
Please
register
or
sign in
to post a comment