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
e5b54f4a
authored
2023-09-01 08:42:47 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'dev'
2 parents
d6aab474
c2f2c209
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
347 additions
and
329 deletions
src/api/bdcqz.js
src/views/system/dymbgl/components/editDialog.vue
src/views/system/sqywgz/sqywDetail.vue
src/views/system/xttz/components/addDialog.vue
src/views/system/xttz/xttz.vue
src/views/workflow/components/dialog/zsyl.vue
src/views/workflow/components/qlrCommonTable.vue
src/views/workflow/components/szxx.vue
src/views/workflow/mixin/index.js
src/views/zhcx/zslqcx/zslqcx.vue
src/api/bdcqz.js
View file @
e5b54f4
...
...
@@ -119,7 +119,7 @@ export function getSlsqBdcqzList (params) {
}
/**
* @description: 证书预览
* @description: 证书
证明
预览
* @param {*} data
* @author: renchao
*/
...
...
src/views/system/dymbgl/components/editDialog.vue
View file @
e5b54f4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
8-30 08:40:36
* @LastEditTime: 2023-0
9-01 08:20:51
-->
<
template
>
<el-form
ref=
"ruleForm"
:model=
"ruleForm"
label-width=
"100px"
:rules=
"rules"
>
...
...
@@ -187,9 +187,9 @@
setTimeout
(()
=>
{
that
.
ruleForm
.
tmpcontent
=
document
.
getElementById
(
"S1"
).
value
;
if
(
that
.
ruleForm
.
tmpno
==
'zsdy'
)
{
LODOP
.
ADD_PRINT_SETUP_BKIMG
(
"<img border='0' src=
'http://192.168.2.38
:9000/bdcdj/zhengshu_image/bdcqzs2.jpg'>"
);
LODOP
.
ADD_PRINT_SETUP_BKIMG
(
"<img border='0' src=
"
+
window
.
_config
.
services
.
management
+
"'
:9000/bdcdj/zhengshu_image/bdcqzs2.jpg'>"
);
}
else
if
(
that
.
ruleForm
.
tmpno
==
'zmdy'
)
{
LODOP
.
ADD_PRINT_SETUP_BKIMG
(
"<img border='0' src=
'http://192.168.2.38
:9000/bdcdj/zhengshu_image/bdcdjzm.jpg'>"
);
LODOP
.
ADD_PRINT_SETUP_BKIMG
(
"<img border='0' src=
"
+
window
.
_config
.
services
.
management
+
"'
:9000/bdcdj/zhengshu_image/bdcdjzm.jpg'>"
);
}
LODOP
.
SET_SHOW_MODE
(
"BKIMG_PRINT"
,
1
);
//打印包含背景图
that
.
loadStatus
=
'2'
;
...
...
src/views/system/sqywgz/sqywDetail.vue
View file @
e5b54f4
...
...
@@ -5,7 +5,7 @@
-->
<
template
>
<div>
<ul
class=
"edit-title-list"
v-if=
"djlxList.length > 0"
>
<ul
class=
"edit-title-list"
v-if=
"djlxList.length > 0
"
>
<li
v-for=
"(item, index) in djlxList"
@
click=
"handleTitleSelct(item, index)"
:key=
"index"
:class=
"
{ active: index == tn }">
{{
item
.
nodename
}}
...
...
@@ -190,15 +190,19 @@
*/
init
()
{
this
.
tn
=
0
;
getDjlxInfo
(
this
.
formData
.
bsmSqyw
).
then
((
res
)
=>
{
let
{
result
}
=
res
;
this
.
djlxList
=
result
?
result
:
[];
if
(
this
.
djlxList
.
length
>
0
)
{
this
.
getDetail
(
this
.
djlxList
[
0
].
bsmSqyw
);
}
else
{
if
(
this
.
formData
.
sqfl
==
"2"
){
this
.
getDetail
(
this
.
formData
.
bsmSqyw
);
}
})
}
else
{
getDjlxInfo
(
this
.
formData
.
bsmSqyw
).
then
((
res
)
=>
{
let
{
result
}
=
res
;
this
.
djlxList
=
result
?
result
:
[];
if
(
this
.
djlxList
.
length
>
0
)
{
this
.
getDetail
(
this
.
djlxList
[
0
].
bsmSqyw
);
}
else
{
this
.
getDetail
(
this
.
formData
.
bsmSqyw
);
}
})
}
},
/**
* @description: orderNoChange
...
...
src/views/system/xttz/components/addDialog.vue
View file @
e5b54f4
...
...
@@ -54,317 +54,318 @@
</el-form>
</
template
>
<
script
>
import
{
addSysNotice
,
updateSysNotice
}
from
"@/api/sysNotice.js"
;
import
{
upload
}
from
"@/api/file.js"
;
import
{
quillEditor
}
from
"vue-quill-editor"
;
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{
}
}
},
components
:
{
quillEditor
},
data
()
{
return
{
ruleForm
:
{
noticeTitle
:
""
,
noticeContent
:
""
,
noticeFileUrl
:
""
,
noticeSource
:
""
,
validDays
:
14
,
noticeType
:
"1"
},
rules
:
{
noticeTitle
:
[
{
required
:
true
,
message
:
"请输入通知标题"
,
trigger
:
"blur"
}
],
noticeContent
:
[
{
required
:
true
,
message
:
"请输入通知内容"
,
trigger
:
"blur"
}
],
noticeSource
:
[
{
required
:
true
,
message
:
"请输入通知来源"
,
trigger
:
"blur"
}
]
},
// 富文本编辑器配置
editorOption
:
{
theme
:
"snow"
,
// or 'bubble'
modules
:
{
toolbar
:
{
container
:
[
[
"bold"
,
"italic"
,
"underline"
,
"strike"
],
// 加粗 斜体 下划线 删除线
[
"blockquote"
,
"code-block"
],
// 引用 代码块
[{
header
:
1
},
{
header
:
2
}],
// 1、2 级标题
[{
list
:
"ordered"
},
{
list
:
"bullet"
}],
// 有序、无序列表
[{
script
:
"sub"
},
{
script
:
"super"
}],
// 上标/下标
[{
indent
:
"-1"
},
{
indent
:
"+1"
}],
// 缩进
[{
direction
:
"rtl"
}],
// 文本方向
[{
size
:
[
"small"
,
false
,
"large"
,
"huge"
]
}],
// 字体大小
[{
header
:
[
1
,
2
,
3
,
4
,
5
,
6
]
}],
// 标题
[{
color
:
[]
},
{
background
:
[]
}],
// 字体颜色、字体背景颜色
// [{ font: ['songti'] }], // 字体种类
[{
align
:
[]
}],
// 对齐方式
[
"clean"
],
// 清除文本格式
[
"image"
,
"video"
]
// 链接、图片、视频
],
handlers
:
{
image
:
function
(
value
)
{
if
(
value
)
{
// 用upload的点击事件代替文本编辑器的图片上传事件
document
.
querySelector
(
".richUpload input"
).
click
();
}
else
{
this
.
quill
.
format
(
"image"
,
false
);
import
{
addSysNotice
,
updateSysNotice
}
from
"@/api/sysNotice.js"
;
import
{
upload
}
from
"@/api/file.js"
;
import
store
from
'@/store'
import
{
quillEditor
}
from
"vue-quill-editor"
;
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{
}
}
},
components
:
{
quillEditor
},
data
()
{
return
{
ruleForm
:
{
noticeTitle
:
""
,
noticeContent
:
""
,
noticeFileUrl
:
""
,
noticeSource
:
""
,
validDays
:
14
,
noticeType
:
"1"
},
rules
:
{
noticeTitle
:
[
{
required
:
true
,
message
:
"请输入通知标题"
,
trigger
:
"blur"
}
],
noticeContent
:
[
{
required
:
true
,
message
:
"请输入通知内容"
,
trigger
:
"blur"
}
],
noticeSource
:
[
{
required
:
true
,
message
:
"请输入通知来源"
,
trigger
:
"blur"
}
]
},
// 富文本编辑器配置
editorOption
:
{
theme
:
"snow"
,
// or 'bubble'
modules
:
{
toolbar
:
{
container
:
[
[
"bold"
,
"italic"
,
"underline"
,
"strike"
],
// 加粗 斜体 下划线 删除线
[
"blockquote"
,
"code-block"
],
// 引用 代码块
[{
header
:
1
},
{
header
:
2
}],
// 1、2 级标题
[{
list
:
"ordered"
},
{
list
:
"bullet"
}],
// 有序、无序列表
[{
script
:
"sub"
},
{
script
:
"super"
}],
// 上标/下标
[{
indent
:
"-1"
},
{
indent
:
"+1"
}],
// 缩进
[{
direction
:
"rtl"
}],
// 文本方向
[{
size
:
[
"small"
,
false
,
"large"
,
"huge"
]
}],
// 字体大小
[{
header
:
[
1
,
2
,
3
,
4
,
5
,
6
]
}],
// 标题
[{
color
:
[]
},
{
background
:
[]
}],
// 字体颜色、字体背景颜色
// [{ font: ['songti'] }], // 字体种类
[{
align
:
[]
}],
// 对齐方式
[
"clean"
],
// 清除文本格式
[
"image"
,
"video"
]
// 链接、图片、视频
],
handlers
:
{
image
:
function
(
value
)
{
if
(
value
)
{
// 用upload的点击事件代替文本编辑器的图片上传事件
document
.
querySelector
(
".richUpload input"
).
click
();
}
else
{
this
.
quill
.
format
(
"image"
,
false
);
}
}
}
}
}
},
placeholder
:
"请输入正文"
},
placeholder
:
"请输入正文"
}
};
},
mounted
()
{
this
.
$nextTick
(()
=>
{
//创建富文本粘贴事件监听
let
quill
=
this
.
$refs
.
myQuillEditor
.
quill
;
this
.
$forceUpdate
();
quill
.
root
.
addEventListener
(
"paste"
,
evt
=>
{
if
(
evt
.
clipboardData
&&
evt
.
clipboardData
.
files
&&
evt
.
clipboardData
.
files
.
length
)
{
evt
.
preventDefault
();
[].
forEach
.
call
(
evt
.
clipboardData
.
files
,
file
=>
{
if
(
!
file
.
type
.
match
(
/^image
\/(
gif|jpe
?
g|a
?
png|bmp
)
/i
))
{
return
;
}
that
.
clipboardPictureChange
(
file
);
});
}
},
false
)
})
if
(
!
this
.
formData
.
isButtonFlag
)
{
this
.
getDetailInfo
(
this
.
formData
)
}
};
},
mounted
()
{
this
.
$nextTick
(()
=>
{
//创建富文本粘贴事件监听
let
quill
=
this
.
$refs
.
myQuillEditor
.
quill
;
this
.
$forceUpdate
();
quill
.
root
.
addEventListener
(
"paste"
,
evt
=>
{
if
(
evt
.
clipboardData
&&
evt
.
clipboardData
.
files
&&
evt
.
clipboardData
.
files
.
length
)
{
evt
.
preventDefault
();
[].
forEach
.
call
(
evt
.
clipboardData
.
files
,
file
=>
{
if
(
!
file
.
type
.
match
(
/^image
\/(
gif|jpe
?
g|a
?
png|bmp
)
/i
))
{
return
;
}
that
.
clipboardPictureChange
(
file
);
});
if
(
this
.
formData
.
edit
)
{
this
.
getDetailInfo
(
this
.
formData
)
}
},
methods
:
{
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
that
.
ruleForm
.
bsmNotice
)
{
that
.
editNotice
();
}
else
{
that
.
addNotice
();
}
}
else
{
return
false
;
}
},
false
)
})
if
(
!
this
.
formData
.
isButtonFlag
)
{
this
.
getDetailInfo
(
this
.
formData
)
}
if
(
this
.
formData
.
edit
)
{
this
.
getDetailInfo
(
this
.
formData
)
}
},
methods
:
{
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
let
that
=
this
;
that
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
if
(
that
.
ruleForm
.
bsmNotice
)
{
that
.
editNotice
();
});
},
//关闭窗口
/**
* @description: 关闭窗口
* @author: renchao
*/
closeDialog
()
{
this
.
$popupCacel
()
this
.
resetRuleForm
();
},
//新增通知
/**
* @description: 新增通知
* @author: renchao
*/
addNotice
()
{
// 解决报错
// this.ruleForm.noticeType = "1"
addSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
store
.
dispatch
(
"user/refreshPage"
,
true
);
this
.
$popupCacel
()
this
.
resetRuleForm
();
}
else
{
th
at
.
addNotice
(
);
th
is
.
$message
.
error
(
res
.
message
);
}
}
else
{
return
false
;
}
});
},
//关闭窗口
/**
* @description: 关闭窗口
* @author: renchao
*/
closeDialog
()
{
this
.
$popupCacel
()
this
.
resetRuleForm
();
},
//新增通知
/**
* @description: 新增通知
* @author: renchao
*/
addNotice
()
{
// 解决报错
// this.ruleForm.noticeType = "1"
addSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"保存成功"
);
this
.
$popupCacel
()
this
.
resetRuleForm
();
this
.
$parent
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
//编辑通知
/**
* @description: 编辑通知
* @author: renchao
*/
editNotice
()
{
updateSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"编辑成功"
);
this
.
$popupCacel
()
this
.
resetRuleForm
();
this
.
$parent
.
queryClick
();
}
else
{
this
.
$message
.
error
(
res
.
message
);
});
},
//编辑通知
/**
* @description: 编辑通知
* @author: renchao
*/
editNotice
()
{
updateSysNotice
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
"编辑成功"
);
this
.
$popupCacel
()
this
.
resetRuleForm
();
store
.
dispatch
(
"user/refreshPage"
,
true
);
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
});
},
/**
* @description: 重置表单
* @author: renchao
*/
resetRuleForm
()
{
this
.
ruleForm
=
{
noticeTitle
:
""
,
noticeContent
:
""
,
noticeFileUrl
:
""
,
noticeSource
:
""
,
validDays
:
14
,
noticeType
:
"1"
}
});
},
//重置表单
/**
* @description: 重置表单
* @author: renchao
*/
resetRuleForm
()
{
this
.
ruleForm
=
{
noticeTitle
:
""
,
noticeContent
:
""
,
noticeFileUrl
:
""
,
noticeSource
:
""
,
validDays
:
14
,
noticeType
:
"1"
},
/**
* @description: beforeUpload
* @param {*} file
* @author: renchao
*/
beforeUpload
(
file
)
{
return
true
;
},
//附件上传事件
/**
* @description: 附件上传事件
* @param {*} file
* @author: renchao
*/
async
handleChange
(
file
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"file"
,
file
.
raw
);
upload
(
formdata
).
then
(
res
=>
{
this
.
ruleForm
.
noticeFileUrl
=
res
.
message
;
});
},
//富文本图片上传事件
/**
* @description: 富文本图片上传事件
* @param {*} file
* @author: renchao
*/
RichTexthandleChange
(
file
)
{
this
.
uploadPicture
(
file
.
raw
)
},
//图片粘贴事件
/**
* @description: 图片粘贴事件
* @param {*} file
* @author: renchao
*/
clipboardPictureChange
(
file
)
{
this
.
uploadPicture
(
file
)
},
/**
* @description: getDetailInfo
* @param {*} item
* @author: renchao
*/
getDetailInfo
(
item
)
{
this
.
ruleForm
=
item
},
/**
* @description: uploadPicture
* @param {*} file
* @author: renchao
*/
uploadPicture
(
file
)
{
let
that
=
this
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"file"
,
file
);
upload
(
formdata
).
then
(
res
=>
{
//editor对象
const
quill
=
that
.
$refs
.
myQuillEditor
.
quill
;
// 如果上传成功
// 获取光标所在位置
const
length
=
quill
.
selection
.
savedRange
.
index
;
// 插入图片
quill
.
insertEmbed
(
length
,
"image"
,
res
.
message
);
// 调整光标到最后
quill
.
setSelection
(
length
+
1
);
});
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
//console.log("submit!");
},
// 失去焦点事件
/**
* @description: 失去焦点事件
* @param {*} quill
* @author: renchao
*/
onEditorBlur
(
quill
)
{
//console.log("editor blur!", quill);
},
// 获得焦点事件
/**
* @description: 获得焦点事件
* @param {*} quill
* @author: renchao
*/
onEditorFocus
(
quill
)
{
//console.log("editor focus!", quill);
},
// 准备富文本编辑器
/**
* @description: 准备富文本编辑器
* @param {*} quill
* @author: renchao
*/
onEditorReady
(
quill
)
{
//console.log("editor ready!", quill);
},
// 内容改变事件
/**
* @description: 内容改变事件
* @param {*} quill
* @param {*} html
* @param {*} text
* @author: renchao
*/
onEditorChange
({
quill
,
html
,
text
})
{
//console.log("editor change!", quill, html, text);
//this.content = html;
}
},
/**
* @description: beforeUpload
* @param {*} file
* @author: renchao
*/
beforeUpload
(
file
)
{
return
true
;
},
//附件上传事件
/**
* @description: 附件上传事件
* @param {*} file
* @author: renchao
*/
async
handleChange
(
file
)
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"file"
,
file
.
raw
);
upload
(
formdata
).
then
(
res
=>
{
this
.
ruleForm
.
noticeFileUrl
=
res
.
message
;
});
},
//富文本图片上传事件
/**
* @description: 富文本图片上传事件
* @param {*} file
* @author: renchao
*/
RichTexthandleChange
(
file
)
{
this
.
uploadPicture
(
file
.
raw
)
},
//图片粘贴事件
/**
* @description: 图片粘贴事件
* @param {*} file
* @author: renchao
*/
clipboardPictureChange
(
file
)
{
this
.
uploadPicture
(
file
)
},
/**
* @description: getDetailInfo
* @param {*} item
* @author: renchao
*/
getDetailInfo
(
item
)
{
this
.
ruleForm
=
item
},
/**
* @description: uploadPicture
* @param {*} file
* @author: renchao
*/
uploadPicture
(
file
)
{
let
that
=
this
;
var
formdata
=
new
FormData
();
formdata
.
append
(
"file"
,
file
);
upload
(
formdata
).
then
(
res
=>
{
//editor对象
const
quill
=
that
.
$refs
.
myQuillEditor
.
quill
;
// 如果上传成功
// 获取光标所在位置
const
length
=
quill
.
selection
.
savedRange
.
index
;
// 插入图片
quill
.
insertEmbed
(
length
,
"image"
,
res
.
message
);
// 调整光标到最后
quill
.
setSelection
(
length
+
1
);
});
},
/**
* @description: onSubmit
* @author: renchao
*/
onSubmit
()
{
//console.log("submit!");
},
// 失去焦点事件
/**
* @description: 失去焦点事件
* @param {*} quill
* @author: renchao
*/
onEditorBlur
(
quill
)
{
//console.log("editor blur!", quill);
},
// 获得焦点事件
/**
* @description: 获得焦点事件
* @param {*} quill
* @author: renchao
*/
onEditorFocus
(
quill
)
{
//console.log("editor focus!", quill);
},
// 准备富文本编辑器
/**
* @description: 准备富文本编辑器
* @param {*} quill
* @author: renchao
*/
onEditorReady
(
quill
)
{
//console.log("editor ready!", quill);
},
// 内容改变事件
/**
* @description: 内容改变事件
* @param {*} quill
* @param {*} html
* @param {*} text
* @author: renchao
*/
onEditorChange
({
quill
,
html
,
text
})
{
//console.log("editor change!", quill, html, text);
//this.content = html;
}
}
};
};
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/dialogBoxheader.scss"
;
@import
"~@/styles/dialogBoxheader.scss"
;
.quill-editor
{
padding
:
0
;
}
.quill-editor
{
padding
:
0
;
}
.ql-editor
{
height
:
auto
!important
;
}
.ql-editor
{
height
:
auto
!important
;
}
/
deep
/
.ql-container
{
padding
:
0
;
max-height
:
400px
;
min-height
:
160px
;
overflow-y
:
scroll
;
}
</
style
>
/
deep
/
.ql-container
{
padding
:
0
;
max-height
:
400px
;
min-height
:
160px
;
overflow-y
:
scroll
;
}
</
style
>
...
...
src/views/system/xttz/xttz.vue
View file @
e5b54f4
...
...
@@ -38,6 +38,7 @@
</
template
>
<
script
>
import
table
from
"@/utils/mixin/table"
;
import
{
mapGetters
}
from
'vuex'
import
{
datas
,
sendThis
}
from
"./xttzdata"
;
import
{
getSysNoticeList
,
deleteSysNotice
,
publishNotice
,
unPublishNotice
}
from
"@/api/sysNotice.js"
import
addDialog
from
"./components/addDialog.vue"
;
...
...
@@ -73,6 +74,17 @@
isDiglog
:
false
}
},
computed
:
{
...
mapGetters
([
'isRefresh'
])
},
watch
:
{
isRefresh
:
{
handler
(
newVal
,
oldVal
)
{
if
(
newVal
)
this
.
queryClick
()
},
immediate
:
true
}
},
methods
:
{
// 列表渲染接口
/**
...
...
@@ -90,7 +102,6 @@
}
})
},
//打开新增弹窗
/**
* @description: 打开新增弹窗
* @param {*} item
...
...
@@ -102,6 +113,7 @@
}
else
{
this
.
$popupDialog
(
"新增系统通知"
,
"system/xttz/components/addDialog"
,
{
"isButtonFlag"
:
true
},
"50%"
)
}
this
.
$store
.
dispatch
(
"user/refreshPage"
,
false
);
},
//删除
delNotice
(
item
)
{
...
...
src/views/workflow/components/dialog/zsyl.vue
View file @
e5b54f4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-31 09:
25:1
2
* @LastEditTime: 2023-08-31 09:
48:5
2
-->
<
template
>
<div
class=
"from-clues loadingtext"
v-Loading=
"loading"
element-loading-text=
"拼命加载中..."
style=
"height:720px;text-align: center;"
>
...
...
@@ -468,7 +468,7 @@
})
}
else
{
arr
.
forEach
((
line
,
index
)
=>
{
context
.
fillText
(
line
,
770
,
4
28
+
(
23
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
context
.
fillText
(
line
,
770
,
4
35
+
(
23
*
(
i
-
1
))
+
(
index
*
14
));
// 调整行高
})
}
}
else
{
...
...
src/views/workflow/components/qlrCommonTable.vue
View file @
e5b54f4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
8-30 16:03:09
* @LastEditTime: 2023-0
9-01 08:21:18
-->
<
template
>
<div>
...
...
@@ -66,13 +66,13 @@
)
}
},
//
{
//
label: '身份证读卡器',
//
align: 'center',
//
render: (h, scope) => {
//
return <el-button type="text" icon="el-icon-tickets" disabled={!this.disabled} onClick={() => { this.readClick(scope.row) }}>读取</el-button>
//
}
//
},
{
label
:
'身份证读卡器'
,
align
:
'center'
,
render
:
(
h
,
scope
)
=>
{
return
<
el
-
button
type
=
"text"
icon
=
"el-icon-tickets"
disabled
=
{
!
this
.
disabled
}
onClick
=
{()
=>
{
this
.
readClick
(
scope
.
row
)
}}
>
读取
<
/el-button
>
}
},
{
prop
:
"sqrmc"
,
label
:
"姓名/名称"
...
...
src/views/workflow/components/szxx.vue
View file @
e5b54f4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-3
0 17:31:53
* @LastEditTime: 2023-08-3
1 09:36:04
-->
<
template
>
<div
class=
"szxx"
>
...
...
@@ -134,7 +134,7 @@
store
.
dispatch
(
'user/reWorkFresh'
,
false
)
if
(
type
==
1
)
{
//证书预览
//证书
证明
预览
this
.
$popupDialog
(
"证书证明预览"
,
"workflow/components/dialog/zsyl"
,
{
bdcqz
:
item
,
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
},
"76%"
,
true
);
}
else
{
this
.
$popupDialog
(
"证书证明打印"
,
"workflow/components/dialog/zsdy"
,
{
bdcqz
:
item
,
bsmSlsq
:
this
.
$route
.
query
.
bsmSlsq
},
"76%"
,
true
);
...
...
src/views/workflow/mixin/index.js
View file @
e5b54f4
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-3
0 14:13:47
* @LastEditTime: 2023-08-3
1 09:35:49
*/
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
import
{
uploadUndo
}
from
"@/api/clxx"
;
...
...
@@ -122,7 +122,7 @@ export default {
this
.
$popupDialog
(
"登记簿详情"
,
"registerBook/djbFrame"
,
this
.
currentSelectProps
,
'80%'
,
true
)
break
;
case
"B5"
:
this
.
$popupDialog
(
"证书预览"
,
"workflow/components/dialog/zsyl"
,
{
this
.
$popupDialog
(
"证书
证明
预览"
,
"workflow/components/dialog/zsyl"
,
{
bsmSlsq
:
this
.
bsmSlsq
,
entryType
:
'1'
},
'1210px'
,
true
)
...
...
src/views/zhcx/zslqcx/zslqcx.vue
View file @
e5b54f4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
8-31 09:24:28
* @LastEditTime: 2023-0
9-01 08:42:43
-->
<
template
>
<div
class=
"from-clues"
>
...
...
@@ -106,7 +106,8 @@
openDialog
(
item
)
{
this
.
$startLoading
()
bdcqzPreview
(
item
).
then
(
res
=>
{
this
.
$popupDialog
(
"证书预览"
,
"workflow/components/dialog/zsyl"
,
{
this
.
$endLoading
()
this
.
$popupDialog
(
"证书证明预览"
,
"workflow/components/dialog/zsyl"
,
{
bsmSlsq
:
item
.
bsmSlsq
,
bsmBdcqz
:
item
.
bsmBdcqz
},
'1210px'
,
true
)
...
...
Please
register
or
sign in
to post a comment