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
075543ab
authored
2023-06-27 14:03:05 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style: 家庭房产
1 parent
cc30c538
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
86 deletions
src/views/sqcx/jtfc/components/addjtfc.vue
src/views/system/dymbgl/components/editDialog.vue
src/views/system/dymbgl/dymbgl.vue
src/views/workflow/mixin/index.js
src/views/sqcx/jtfc/components/addjtfc.vue
View file @
075543a
...
...
@@ -119,6 +119,7 @@
import
{
getIdCardInfo
}
from
'@/utils/operation.js'
import
{
getPrintTemplateByCode
}
from
"@/api/system"
;
import
{
addJtfcCxjgXx
,
getJtfcInfo
,
printJtcfInfo
}
from
"@/api/sqcx"
;
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
props
:
{
formData
:
{
...
...
@@ -297,7 +298,8 @@
}
},
watch
:
{
"form.djSqcxDO.ycqrgx"
(
val
)
{
"form.djSqcxDO.ycqrgx"
:
{
handler
:
function
(
val
)
{
if
(
val
==
"1"
)
{
this
.
form
.
qlrList
=
_
.
cloneDeep
(
this
.
form
.
sqrList
);
}
else
{
...
...
@@ -305,10 +307,15 @@
this
.
add
(
"qlr"
);
}
},
"form.sqrList"
(
val
)
{
immediate
:
true
},
"form.sqrList"
:
{
handler
:
function
(
val
)
{
if
(
this
.
form
.
djSqcxDO
.
ycqrgx
==
'1'
)
{
this
.
form
.
qlrList
=
_
.
cloneDeep
(
val
)
}
},
deep
:
true
}
},
methods
:
{
...
...
src/views/system/dymbgl/components/editDialog.vue
View file @
075543a
...
...
@@ -25,7 +25,7 @@
</el-col>
</el-row>
<object
id=
"LODOP_OB"
classid=
"clsid:2105C259-1E0C-4534-8141-A753534CB4CA"
v-show=
"false"
>
<embed
id=
"LODOP_EM"
type=
"application/x-print-lodop"
width=
8
20
height=
45
0
pluginspage=
"install_lodop32.exe"
/>
<embed
id=
"LODOP_EM"
type=
"application/x-print-lodop"
width=
8
00
height=
60
0
pluginspage=
"install_lodop32.exe"
/>
</object>
<textarea
rows=
"0"
id=
"S1"
cols=
"0"
v-show=
"false"
></textarea>
...
...
@@ -37,11 +37,11 @@
</
template
>
<
script
>
import
{
getLodop
}
from
"@/utils/LodopFuncs"
import
{
mapGetters
}
from
'vuex'
import
store
from
'@/store/index.js'
import
{
addPrintTemplate
,
editPrintTemplate
}
from
"@/api/system.js"
export
default
{
import
{
getLodop
}
from
"@/utils/LodopFuncs"
import
{
mapGetters
}
from
'vuex'
import
store
from
'@/store/index.js'
import
{
addPrintTemplate
,
editPrintTemplate
}
from
"@/api/system.js"
export
default
{
computed
:
{
...
mapGetters
([
'dictData'
]),
},
...
...
@@ -160,17 +160,17 @@ export default {
LODOP
.
PRINT_DESIGN
();
//打印设计或者打印维护需要放到最后
}
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/dialogBoxheader.scss"
;
@import
"~@/styles/mixin.scss"
;
@import
"~@/styles/dialogBoxheader.scss"
;
.font-red
{
color
:
red
}
.font-red
{
color
:
red
;
}
.middle-margin-bottom
{
margin-top
:
20px
}
.middle-margin-bottom
{
margin-top
:
20px
;
}
</
style
>
...
...
src/views/system/dymbgl/dymbgl.vue
View file @
075543a
...
...
@@ -57,8 +57,9 @@
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
fetchData
}
if
(
newVal
)
this
.
fetchData
()
},
immediate
:
true
}
},
methods
:
{
...
...
@@ -101,72 +102,9 @@
message
:
"已取消删除"
,
});
});
},
//设计打印模板
DesignByPRGData
(
item
)
{
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
LODOP
.
ADD_PRINT_DATA
(
"ProgramData"
,
item
.
tmpcontent
);
//装载模板
//窗口关闭后,回调函数中保存的设计代码
if
(
LODOP
.
CVERSION
)
CLODOP
.
On_Return
=
function
(
TaskID
,
printList
)
{
if
(
LODOP
.
CVERSION
)
LODOP
.
On_Return
=
function
(
TaskID
,
Value
)
{
document
.
getElementById
(
"S1"
).
value
=
Value
;
};
document
.
getElementById
(
"S1"
).
value
=
LODOP
.
GET_VALUE
(
"ProgramData"
,
0
);
setTimeout
(()
=>
{
item
.
tmpcontent
=
document
.
getElementById
(
"S1"
).
value
;
},
1000
);
};
LODOP
.
PRINT_DESIGN
();
//打印设计或者打印维护需要放到最后
},
editClick
()
{
let
LODOP
=
getLodop
();
LODOP
.
SET_PRINT_MODE
(
"PRINT_SETUP_PROGRAM"
,
true
);
LODOP
.
PRINT_INITA
(
0
,
0
,
850
,
560
,
"不动产证明"
);
LODOP
.
ADD_PRINT_SETUP_BKIMG
(
"<img border='1' src="
+
this
.
images
+
">"
);
LODOP
.
ADD_PRINT_TEXT
(
403
,
220
,
39
,
25
,
this
.
printList
.
year
);
//year
LODOP
.
ADD_PRINT_TEXT
(
403
,
278
,
25
,
25
,
this
.
printList
.
month
);
//month
LODOP
.
ADD_PRINT_TEXT
(
403
,
309
,
25
,
25
,
this
.
printList
.
day
);
//day
LODOP
.
ADD_PRINT_TEXT
(
493
,
205
,
160
,
25
,
this
.
printList
.
bh
);
//编号
// 头部信息
LODOP
.
ADD_PRINT_TEXT
(
78
,
419
,
39
,
25
,
this
.
printList
.
xzq
);
//陕
LODOP
.
ADD_PRINT_TEXT
(
78
,
466
,
39
,
25
,
this
.
printList
.
xh
);
//
LODOP
.
ADD_PRINT_TEXT
(
78
,
520
,
60
,
25
,
this
.
printList
.
d
);
//
LODOP
.
ADD_PRINT_TEXT
(
78
,
670
,
60
,
25
,
this
.
printList
.
h
);
//
LODOP
.
ADD_PRINT_TEXT
(
119
,
555
,
190
,
25
,
this
.
printList
.
zmsx
);
//然后多个ADD语句及SET语句
LODOP
.
ADD_PRINT_TEXT
(
152
,
557
,
190
,
25
,
this
.
printList
.
qlr
);
//权利人
LODOP
.
ADD_PRINT_TEXT
(
186
,
557
,
190
,
25
,
this
.
printList
.
ywr
);
//义务人
LODOP
.
ADD_PRINT_TEXT
(
219
,
557
,
190
,
25
,
this
.
printList
.
zl
);
//坐落
LODOP
.
ADD_PRINT_TEXT
(
254
,
557
,
190
,
25
,
this
.
printList
.
bdcdyh
);
//不动产单元号
LODOP
.
ADD_PRINT_TEXT
(
318
,
557
,
190
,
67
,
this
.
printList
.
qt
);
//其他
LODOP
.
ADD_PRINT_TEXT
(
426
,
557
,
190
,
67
,
this
.
printList
.
fj
);
//附记
LODOP
.
SET_SHOW_MODE
(
"BKIMG_PRINT"
,
1
);
LODOP
.
SET_SHOW_MODE
(
"BKIMG_IN_PREVIEW"
,
1
);
//窗口关闭后,回调函数中保存的设计代码
if
(
LODOP
.
CVERSION
)
CLODOP
.
On_Return
=
function
(
TaskID
,
printList
)
{
if
(
LODOP
.
CVERSION
)
LODOP
.
On_Return
=
function
(
TaskID
,
Value
)
{
document
.
getElementById
(
"S1"
).
value
=
Value
;
};
document
.
getElementById
(
"S1"
).
value
=
LODOP
.
GET_VALUE
(
"ProgramData"
,
0
);
setTimeout
(()
=>
{
let
printValue
=
document
.
getElementById
(
"S1"
).
value
;
console
.
log
(
"value"
,
printValue
);
},
1000
);
};
LODOP
.
PRINT_DESIGN
();
//打印设计或者打印维护需要放到最后
},
},
};
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/public.scss"
;
...
...
src/views/workflow/mixin/index.js
View file @
075543a
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-06-2
0 11:28:09
* @LastEditTime: 2023-06-2
6 17:03:07
*/
import
{
getWorkFlowImage
}
from
"@/api/workflow/jsydsyqFlow.js"
;
import
{
getPrintTemplateByCode
}
from
"@/api/system"
;
...
...
@@ -113,6 +113,7 @@ export default {
getPrintTemplateByCode
({
tmpno
:
'dysqs'
}).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
getPrintApplicationInfo
(
this
.
currentSelectProps
).
then
(
infoRes
=>
{
console
.
log
(
infoRes
,
'infoRes'
);
if
(
infoRes
.
code
==
200
)
{
//打开模板设计
let
LODOP
=
getLodop
(
document
.
getElementById
(
'LODOP_OB'
),
document
.
getElementById
(
'LODOP_EM'
));
...
...
Please
register
or
sign in
to post a comment