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
c59b3c58
authored
2023-12-19 14:48:53 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
96955478
05e3a0c4
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
42 additions
and
72 deletions
src/styles/tablecss.scss
src/views/djbworkflow/mixin/index.js
src/views/printdjb/components/zdjbxx.vue
src/views/registerBook/zdjbxx.vue
src/views/system/dymbgl/components/editDialog.vue
src/views/workflow/components/dialog/zsdy.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/mixin/index.js
src/styles/tablecss.scss
View file @
c59b3c5
.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 @
c59b3c5
/*
* @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"
;
...
...
@@ -142,27 +142,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 @
c59b3c5
...
...
@@ -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 @
c59b3c5
<!--
* @Description :宗地基本信息
* @Autor : miaofang
* @LastEditTime: 2023-
08-04 10:06:45
* @LastEditTime: 2023-
12-19 14:48:11
-->
<
template
>
<div
class=
"tableDivCss"
>
...
...
@@ -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,11 +112,11 @@
</
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
()
{
export
default
{
data
()
{
return
{
printObj
:
{
id
:
"box"
,
...
...
@@ -197,7 +197,7 @@ export default {
}
},
},
created
()
{
created
()
{
this
.
loadData
();
},
methods
:
{
...
...
@@ -205,7 +205,7 @@ export default {
* @description: loadData
* @author: renchao
*/
loadData
()
{
loadData
()
{
getZdjjxxBybdcdyid
({
bdcdyid
:
this
.
propsParam
.
bdcdyid
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
this
.
zdjbxx
=
res
.
result
.
zdjbxx
;
...
...
@@ -218,11 +218,11 @@ export default {
},
},
};
};
</
script
>
<
style
lang=
"scss"
scoped
>
@import
"~@/styles/tablecss.scss"
;
.tableDivCss
{
@import
"~@/styles/tablecss.scss"
;
.tableDivCss
{
position
:
relative
;
.print
{
display
:
inline
;
...
...
@@ -232,5 +232,5 @@ export default {
left
:
11px
;
top
:
11px
;
}
}
}
</
style
>
...
...
src/views/system/dymbgl/components/editDialog.vue
View file @
c59b3c5
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-1
8 16:08:26
* @LastEditTime: 2023-12-1
9 09:40:39
-->
<
template
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
...
...
@@ -169,7 +169,7 @@
that
.
loadStatus
=
'1'
;
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
if
([
'zsdy'
,
'zmdy'
,
'zsdy1'
].
includes
(
that
.
ruleForm
.
tmpno
))
{
LODOP
.
SET_PRINT_PAGESIZE
(
2
,
0
,
0
,
"B4
IS) 旋转"
);
// 设置纸张大小为 B4
// LODOP.SET_PRINT_PAGESIZE(2, 0, 0, "B4 (J
IS) 旋转"); // 设置纸张大小为 B4
LODOP
.
SET_PRINT_MODE
(
"RESELECT_ORIENT"
,
true
);
// 手动设置方向
}
else
{
LODOP
.
SET_PRINT_PAGESIZE
(
1
,
0
,
0
,
"A4"
);
// 设置纸张大小为 A4
...
...
src/views/workflow/components/dialog/zsdy.vue
View file @
c59b3c5
...
...
@@ -28,7 +28,7 @@
<el-tab-pane
label=
"第二页"
name=
"title2"
></el-tab-pane>
</el-tabs>
</el-col>
<el-col
:span=
"2"
v-if=
"this.formData.ysxlh"
>
<el-col
:span=
"2"
v-if=
"this.formData.ysxlh"
style=
"float:right"
>
<el-button
type=
"primary"
@
click=
"handleZF"
v-if=
"disabled"
>
作废
</el-button>
</el-col>
</el-row>
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
c59b3c5
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-12-19 0
8:54:37
* @LastEditTime: 2023-12-19 0
9:17:03
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"text-align: center;"
>
<!-- 表单部分 -->
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
v-if=
"headTabBdcqz.length >1"
style=
"margin-top:-23px"
>
<div
style=
"margin-top:-20px"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
v-if=
"headTabBdcqz.length >1"
>
<el-tab-pane
:label=
"item.qlr + (item.bdcqzh !== null ? '(' + item.bdcqzh + ')' : '')"
:name=
"item.bsmBdcqz"
v-for=
"(item, index) in headTabBdcqz"
:key=
"index"
>
</el-tab-pane>
</el-tabs>
<el-tabs
v-model=
"activeTitle"
style=
"margin-top:-20px"
>
</div>
<el-empty
description=
"暂无数据"
v-if=
"headTabBdcqz.length == 0 && noData"
></el-empty>
<div
style=
"height:85vh"
>
<div
v-show=
"this.bdcqz.bdcqzlx==1"
>
<el-tabs
v-model=
"activeTitle"
>
<el-tab-pane
label=
"第一页"
name=
"title1"
></el-tab-pane>
<el-tab-pane
label=
"第二页"
name=
"title2"
></el-tab-pane>
</el-tabs>
<el-empty
description=
"暂无数据"
v-if=
"headTabBdcqz.length == 0 && noData"
></el-empty>
<div
:style=
"
{'width':'1180px','overflow-y': 'auto'}">
<canvas
ref=
"zs1"
width=
"1000"
v-show=
"this.bdcqz.bdcqzlx==1 && activeTitle=='title1'"
height=
"700"
></canvas>
<canvas
ref=
"zs"
width=
"1000"
v-show=
"this.bdcqz.bdcqzlx==1 && activeTitle=='title2'"
height=
"700"
></canvas>
<canvas
ref=
"zm"
width=
"1180"
v-show=
"this.bdcqz.bdcqzlx==2"
height=
"780"
></canvas>
<div
:style=
"
{'width':'1185px','overflow-y': 'auto','height': '670px',}">
<canvas
ref=
"zs1"
width=
"1000"
v-show=
"activeTitle=='title1'"
height=
"700"
></canvas>
<canvas
ref=
"zs"
width=
"1000"
v-show=
"activeTitle=='title2'"
height=
"700"
></canvas>
</div>
</div>
<div
style=
"width:1185px;overflow-x: hidden;height: 700px;overflow-y:auto"
v-show=
"this.bdcqz.bdcqzlx==2"
>
<canvas
ref=
"zm"
width=
"1180"
height=
"780"
></canvas>
</div>
</div>
</div>
</
template
>
...
...
@@ -573,6 +581,9 @@
/
deep
/
.el-form-item--small.el-form-item
{
margin-bottom
:
0
;
}
/
deep
/
.mask-content
{
padding-top
:
10px
!important
;
}
.imgClass
{
display
:
inline-block
;
height
:
auto
;
...
...
src/views/workflow/mixin/index.js
View file @
c59b3c5
/*
* @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