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
a1d7f8c4
authored
2023-09-22 15:54:35 +0800
by
renchao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:补录信息义务人信息模块的开发
1 parent
f1796538
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
523 additions
and
160 deletions
src/views/djbworkflow/components/batchDel.vue
src/views/djbworkflow/components/dialog/addQlr.vue
src/views/djbworkflow/components/dialog/addYwr.vue
src/views/djbworkflow/components/dialog/addYwrData.js
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
src/views/djbworkflow/mixin/index.js
src/views/workflow/components/leftmenu/ordinaryMenu.vue
src/views/djbworkflow/components/batchDel.vue
View file @
a1d7f8c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
4-26 16:05:28
* @LastEditTime: 2023-0
9-22 13:38:52
-->
<!-- 批量删除弹框 -->
<
template
>
...
...
@@ -52,7 +52,6 @@
}
},
methods
:
{
// 批量删除确定按钮
/**
* @description: 批量删除确定按钮
* @author: renchao
...
...
src/views/djbworkflow/components/dialog/addQlr.vue
View file @
a1d7f8c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-2
1 16:03:36
* @LastEditTime: 2023-09-2
2 13:49:53
-->
<
template
>
<dialogBox
...
...
@@ -541,7 +541,7 @@
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
replace
(
val
.
bsmCompany
,
this
.
$route
.
query
.
bsmSlsq
,
bsmSldy
).
then
(
res
=>
{
that
.
$emit
(
"updateDetail"
,
_
.
cloneDeep
({
...
val
,
sq
rlx
:
'2'
}));
that
.
$emit
(
"updateDetail"
,
_
.
cloneDeep
({
...
val
,
ql
rlx
:
'2'
}));
that
.
$emit
(
"input"
,
false
);
if
(
res
.
code
==
200
)
{
that
.
$message
({
...
...
src/views/djbworkflow/components/dialog/addYwr.vue
View file @
a1d7f8c
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-0
5-17 10:39:47
* @LastEditTime: 2023-0
9-22 13:51:38
-->
<
template
>
<dialogBox
title=
"申请人信息"
width=
"
60
%"
width=
"
75
%"
isMain
v-model=
"myValue"
:isFullscreen=
"false"
@
submitForm=
"submitForm"
@
closeDialog=
"closeDialog"
:isButton=
"showButton"
>
:isButton=
"isShow"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
class=
"from-clues-header"
>
<el-tab-pane
label=
"基本信息"
name=
"1"
></el-tab-pane>
<el-tab-pane
label=
"企业信息"
v-if=
"showButton"
name=
"2"
></el-tab-pane>
<el-tab-pane
label=
"银行机构"
v-if=
"showButton"
name=
"3"
></el-tab-pane>
</el-tabs>
<el-form
:model=
"ruleForm"
:rules=
"rules"
v-if=
"activeName==1"
ref=
"ruleForm"
label-width=
"120px"
>
label-width=
"120px"
>
<el-form-item
label=
"身份证读卡器"
>
<el-button
type=
"text"
icon=
"el-icon-tickets"
:disabled=
"!showButton"
@
click=
"readClick"
>
读取
</el-button>
<el-button
type=
"primary"
v-if=
"isBz"
@
click=
"handleFilings"
>
信息备案
</el-button>
</el-form-item>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"义务人类型"
prop=
"ywrlx"
>
...
...
@@ -28,14 +37,12 @@
v-model=
"ruleForm.ywrlx"
class=
"width100"
:disabled=
"!showButton"
placeholder=
"请选择"
>
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A36']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -53,14 +60,12 @@
v-model=
"ruleForm.zjzl"
:disabled=
"!showButton"
class=
"width100"
placeholder=
"请选择"
>
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -73,8 +78,7 @@
v-model=
"ruleForm.zjh"
:disabled=
"!showButton"
maxlength=
"18"
oninput=
"this.value=this.value.replace(/[^\X0-9]/g,'')"
></el-input>
oninput=
"this.value=this.value.replace(/[^\X0-9]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -83,8 +87,7 @@
v-model=
"ruleForm.dh"
:disabled=
"!showButton"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -92,8 +95,7 @@
<el-input
v-model=
"ruleForm.qlbl"
maxlength=
"32"
:disabled=
"!showButton || this.ruleForm.gyfs == 1"
></el-input>
:disabled=
"!showButton || this.ruleForm.gyfs == 1"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -103,8 +105,7 @@
<el-input
v-model=
"ruleForm.frmc"
maxlength=
"32"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -112,8 +113,7 @@
<el-input
v-model=
"ruleForm.gj"
maxlength=
"3"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -121,8 +121,7 @@
<el-input
v-model=
"ruleForm.hjszss"
maxlength=
"3"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -133,8 +132,7 @@
<el-input
v-model=
"ruleForm.txdz"
maxlength=
"100"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -145,8 +143,7 @@
<el-input
v-model=
"ruleForm.fzjg"
maxlength=
"10"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -154,8 +151,7 @@
<el-input
v-model=
"ruleForm.dzyj"
:disabled=
"!showButton"
maxlength=
"25"
></el-input>
maxlength=
"25"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -164,8 +160,7 @@
v-model
.
number=
"ruleForm.yb"
:disabled=
"!showButton"
maxlength=
"6"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -176,8 +171,7 @@
<el-input
v-model=
"ruleForm.gzdw"
maxlength=
"32"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"16"
>
...
...
@@ -185,8 +179,7 @@
<el-input
v-model=
"ruleForm.dlrjg"
maxlength=
"32"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
</el-row>
...
...
@@ -198,8 +191,7 @@
v-model=
"ruleForm.dlrdh"
:disabled=
"!showButton"
maxlength=
"11"
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
oninput=
"value=value.replace(/[^\d]/g,'')"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -207,8 +199,7 @@
<el-input
v-model=
"ruleForm.dlrmc"
maxlength=
"15"
:disabled=
"!showButton"
></el-input>
:disabled=
"!showButton"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
...
...
@@ -218,14 +209,12 @@
v-model=
"ruleForm.dlrzjlx"
:disabled=
"!showButton"
class=
"width100"
placeholder=
"请选择"
>
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A30']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -239,14 +228,12 @@
v-model=
"ruleForm.xb"
:disabled=
"!showButton"
class=
"width100"
placeholder=
"请选择"
>
placeholder=
"请选择"
>
<el-option
v-for=
"item in dictData['A43']"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -257,100 +244,397 @@
v-model=
"ruleForm.dlrzjh"
:disabled=
"!showButton"
maxlength=
"18"
oninput=
"this.value=this.value.replace(/[^\X0-9]/g,'')"
></el-input>
oninput=
"this.value=this.value.replace(/[^\X0-9]/g,'')"
></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
<div
v-if=
"activeName==2"
class=
"padding10"
>
<el-form
:model=
"queryFormQY"
label-width=
"80px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"姓名/名称"
>
<el-input
placeholder=
"姓名/名称"
v-model=
"queryFormQY.qymc"
clearable
class=
"width100"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"证件号"
>
<el-input
placeholder=
"证件号"
v-model=
"queryFormQY.zjh"
clearable
class=
"width100"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
class=
"btnColRight"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"handleSearchQY"
>
查询
</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-table
:data=
"tableDataQy.data"
border
v-Loading=
"loading"
:height=
"426.8"
>
<el-table-column
label=
"序号"
type=
"index"
width=
"50"
align=
"center"
>
<template
slot-scope=
"scope"
>
{{
(
pageData
.
currentPage
-
1
)
*
pageData
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
v-for=
"item in tableDataQy.columns"
:key=
"item.index"
:width=
"item.width"
:prop=
"item.prop"
:label=
"item.label"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"50"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleSelect(scope.row)"
>
使用
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
background
layout=
"prev, pager, next,total"
:total=
"tableDataQy.total"
@
current-change=
"handleQYCurrentChange"
></el-pagination>
</div>
<div
v-if=
"activeName==3"
class=
"padding10"
>
<el-form
:model=
"queryFormYH"
label-width=
"80px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"姓名/名称"
>
<el-input
placeholder=
"姓名/名称"
v-model=
"queryFormYH.qymc"
clearable
class=
"width100"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"证件号"
>
<el-input
placeholder=
"证件号"
v-model=
"queryFormYH.zjh"
clearable
class=
"width100"
>
</el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
class=
"btnColRight"
>
<el-form-item>
<el-button
type=
"primary"
@
click=
"handleSearchYH"
>
查询
</el-button>
</el-form-item>
</el-col>
</el-row>
</el-form>
<el-table
:data=
"tableDataYh.data"
border
v-Loading=
"loading"
:height=
"426.8"
>
<el-table-column
label=
"序号"
type=
"index"
width=
"50"
align=
"center"
>
<
template
slot-scope=
"scope"
>
{{
(
pageData
.
currentPage
-
1
)
*
pageData
.
pageSize
+
scope
.
$index
+
1
}}
</
template
>
</el-table-column>
<el-table-column
v-for=
"item in tableDataYh.columns"
:key=
"item.index"
:prop=
"item.prop"
:label=
"item.label"
align=
"center"
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"50"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"handleSelect(scope.row)"
>
使用
</el-button>
</
template
>
</el-table-column>
</el-table>
<el-pagination
background
layout=
"prev, pager, next,total"
:total=
"tableDataYh.total"
@
current-change=
"handleYHCurrentChange"
></el-pagination>
</div>
</dialogBox>
</template>
<
script
>
import
{
mapGetters
}
from
"vuex"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
details
:
{
type
:
Object
,
default
:
{}
},
showButton
:
{
type
:
Boolean
,
default
:
false
},
},
computed
:
{
...
mapGetters
([
"dictData"
]),
},
data
()
{
return
{
myValue
:
this
.
value
,
ruleForm
:
{
ywrlx
:
""
,
ywrmc
:
""
,
zjzl
:
""
,
zjh
:
""
,
dh
:
""
,
xb
:
""
,
frmc
:
""
,
gjdq
:
""
,
szss
:
""
,
txdz
:
""
,
yb
:
""
,
fzjg
:
""
,
dzyj
:
""
,
qlbl
:
""
,
gzdw
:
""
,
dljg
:
""
,
dlrxm
:
""
,
dlrzjlx
:
""
,
dlrzjh
:
""
,
},
rules
:
{
ywrlx
:
[{
required
:
true
,
message
:
"义务人类型"
,
trigger
:
"change"
}],
ywrmc
:
[{
required
:
true
,
message
:
"姓名/名称"
,
trigger
:
"blur"
}],
zjzl
:
[{
required
:
true
,
message
:
"证件种类"
,
trigger
:
"change"
}],
zjh
:
[{
required
:
true
,
message
:
"证件号"
,
trigger
:
"blur"
}],
},
};
},
watch
:
{
value
(
val
)
{
this
.
myValue
=
_
.
cloneDeep
(
val
);
import
{
mapGetters
}
from
"vuex"
;
import
store
from
'@/store/index.js'
import
{
replace
}
from
"@/api/company.js"
import
{
getUuid
}
from
"@/utils/operation.js"
import
{
getIdCardInfo
}
from
'@/utils/operation.js'
import
{
queryQyByPage
,
queryYhByPage
,
addQy
}
from
"@/api/xxba.js"
;
import
{
dataYh
,
dataQy
,
sendThis
}
from
"./addYwrData"
;
export
default
{
props
:
{
value
:
{
type
:
Boolean
,
default
:
false
},
details
:
{
type
:
Object
,
default
:
{}
},
showButton
:
{
type
:
Boolean
,
default
:
false
},
},
details
:
{
handler
:
function
(
val
,
oldVal
)
{
this
.
ruleForm
=
val
;
},
deep
:
true
,
computed
:
{
...
mapGetters
([
"dictData"
])
},
},
methods
:
{
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
"ruleForm"
].
resetFields
();
mounted
()
{
sendThis
(
this
)
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$emit
(
"input"
,
false
);
this
.
$emit
(
"updateDetail"
,
_
.
cloneDeep
(
this
.
ruleForm
));
}
else
{
return
false
;
data
()
{
return
{
isShow
:
false
,
isBz
:
false
,
activeName
:
'1'
,
loading
:
false
,
myValue
:
this
.
value
,
ruleForm
:
{
ywrlx
:
""
,
ywrmc
:
""
,
zjzl
:
""
,
zjh
:
""
,
dh
:
""
,
xb
:
""
,
frmc
:
""
,
gjdq
:
""
,
szss
:
""
,
txdz
:
""
,
yb
:
""
,
fzjg
:
""
,
dzyj
:
""
,
qlbl
:
""
,
gzdw
:
""
,
dljg
:
""
,
dlrxm
:
""
,
dlrzjlx
:
""
,
dlrzjh
:
""
,
},
rules
:
{
ywrlx
:
[{
required
:
true
,
message
:
"义务人类型"
,
trigger
:
"change"
}],
ywrmc
:
[{
required
:
true
,
message
:
"姓名/名称"
,
trigger
:
"blur"
}],
zjzl
:
[{
required
:
true
,
message
:
"证件种类"
,
trigger
:
"change"
}],
zjh
:
[{
required
:
true
,
message
:
"证件号"
,
trigger
:
"blur"
}],
},
pageData
:
{
currentPage
:
1
,
pageSize
:
8
},
// 企业
queryFormQY
:
{
qymc
:
""
,
zjh
:
""
},
tableDataQy
:
{
total
:
0
,
columns
:
dataQy
.
columns
(),
data
:
[],
},
// 银行
queryFormYH
:
{
qymc
:
""
,
zjh
:
""
},
tableDataYh
:
{
total
:
0
,
columns
:
dataYh
.
columns
(),
data
:
[
]
}
}
);
}
},
},
};
watch
:
{
value
(
val
)
{
this
.
myValue
=
_
.
cloneDeep
(
val
);
if
(
val
&&
Object
.
keys
(
this
.
details
).
length
>
0
)
{
this
.
activeName
=
'1'
}
this
.
isShow
=
this
.
showButton
},
details
:
{
handler
:
function
(
val
,
oldVal
)
{
this
.
ruleForm
=
val
;
},
deep
:
true
}
},
methods
:
{
handleZjzl
(
val
)
{
if
([
'6'
,
'7'
,
'8'
].
includes
(
val
))
{
this
.
isBz
=
true
}
else
{
this
.
isBz
=
false
}
},
/**
* @description: 信息备案
* @author: renchao
*/
handleFilings
()
{
this
.
ruleForm
.
qymc
=
this
.
ruleForm
.
ywrlx
this
.
ruleForm
.
dwdz
=
this
.
ruleForm
.
txdz
addQy
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'备案成功'
)
}
else
{
this
.
$message
.
error
(
res
.
message
);
}
})
},
/**
* @description: handleClick
* @author: renchao
*/
handleClick
(
event
,
tab
)
{
if
(
this
.
activeName
!=
1
)
{
this
.
isShow
=
false
}
else
{
this
.
isShow
=
true
}
this
.
pageData
.
currentPage
=
1
if
(
this
.
activeName
==
2
)
{
this
.
handleSearchQY
()
}
else
{
this
.
handleSearchYH
()
}
},
/**
* @description:企业查询
* @param {*} val
* @param {*} code
* @author: renchao
*/
dicStatus
(
val
,
code
)
{
let
data
=
store
.
getters
.
dictData
[
code
],
name
=
'暂无'
if
(
data
)
{
data
.
map
((
item
)
=>
{
if
(
item
.
dcode
==
val
)
{
name
=
item
.
dname
}
})
return
name
}
},
/**
* @description: 企业信息搜索
* @author: renchao
*/
handleSearchQY
()
{
let
data
=
{
...
this
.
queryFormQY
,
...
this
.
pageData
}
this
.
tableDataQy
.
data
=
[]
queryQyByPage
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableDataQy
.
total
=
total
;
this
.
tableDataQy
.
data
=
records
;
this
.
tableDataQy
.
data
.
forEach
(
item
=>
{
item
.
zjzlMc
=
this
.
dicStatus
(
item
.
zjzl
,
'A30'
)
item
.
ywrmc
=
item
.
qymc
item
.
txdz
=
item
.
dwdz
item
.
id
=
getUuid
(
16
)
})
}
})
},
/**
* @description: handleQYCurrentChange
* @param {*} val
* @author: renchao
*/
handleQYCurrentChange
(
val
)
{
this
.
pageData
.
currentPage
=
val
this
.
handleSearchQY
()
},
/**
* @description: handlesQYSelect
* @param {*} val
* @author: renchao
*/
handleSelect
(
val
)
{
let
that
=
this
let
bsmSldy
=
window
.
currentSelect
.
bsmSldy
?
window
.
currentSelect
.
bsmSldy
:
''
this
.
$confirm
(
'是否同步材料信息?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
}).
then
(()
=>
{
replace
(
val
.
bsmCompany
,
this
.
$route
.
query
.
bsmSlsq
,
bsmSldy
).
then
(
res
=>
{
that
.
$emit
(
"updateDetail"
,
_
.
cloneDeep
({
...
val
,
ywrlx
:
'2'
}));
that
.
$emit
(
"input"
,
false
);
if
(
res
.
code
==
200
)
{
that
.
$message
({
type
:
'success'
,
message
:
'同步成功!'
})
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
})
})
},
/**
* @description: 银行信息搜索
* @author: renchao
*/
handleSearchYH
()
{
let
data
=
{
...
this
.
queryFormYH
,
...
this
.
pageData
}
this
.
tableDataYh
.
data
=
[]
queryYhByPage
(
data
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
let
{
total
,
records
}
=
res
.
result
;
this
.
tableDataYh
.
total
=
total
;
this
.
tableDataYh
.
data
=
records
;
this
.
tableDataYh
.
data
.
forEach
(
item
=>
{
item
.
zjzlMc
=
this
.
dicStatus
(
item
.
zjzl
,
'A30'
)
item
.
ywrmc
=
item
.
qymc
item
.
txdz
=
item
.
dwdz
item
.
id
=
getUuid
(
16
)
})
}
})
},
/**
* @description: handleYHCurrentChange
* @param {*} val
* @author: renchao
*/
handleYHCurrentChange
(
val
)
{
this
.
pageData
.
currentPage
=
val
this
.
handleSearchQY
()
},
/**
* @description: 身份证打卡器
* @author: renchao
*/
readClick
()
{
getIdCardInfo
().
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
let
data
=
res
.
data
.
IDCardInfo
this
.
ruleForm
.
ywrmc
=
data
.
name
this
.
ruleForm
.
zjzl
=
'1'
this
.
ruleForm
.
zjh
=
data
.
cardID
this
.
ruleForm
.
xb
=
data
.
sexCode
this
.
ruleForm
.
txdz
=
data
.
address
this
.
ruleForm
.
fzjg
=
data
.
issueOrgan
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
res
.
data
.
message
,
type
:
'warning'
})
}
})
},
/**
* @description: closeDialog
* @author: renchao
*/
closeDialog
()
{
this
.
$emit
(
"input"
,
false
);
this
.
$refs
[
"ruleForm"
].
resetFields
();
},
/**
* @description: submitForm
* @author: renchao
*/
submitForm
()
{
this
.
$refs
.
ruleForm
.
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
$emit
(
"input"
,
false
);
this
.
$emit
(
"updateDetail"
,
_
.
cloneDeep
(
this
.
ruleForm
));
}
else
{
return
false
;
}
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/dialogBoxheader.scss"
;
.submit-button
{
text-align
:
center
;
height
:
52px
;
padding-top
:
10px
;
background-color
:
#fff
;
}
@import
"~@/styles/dialogBoxheader.scss"
;
.submit-button
{
text-align
:
center
;
height
:
52px
;
padding-top
:
10px
;
background-color
:
#fff
;
}
.padding10
{
padding-bottom
:
10px
;
}
</
style
>
...
...
src/views/djbworkflow/components/dialog/addYwrData.js
0 → 100644
View file @
a1d7f8c
/*
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-09-22 13:42:40
*/
import
filter
from
'@/utils/filter.js'
let
vm
=
null
const
sendThis
=
(
_this
)
=>
{
vm
=
_this
}
class
data1
extends
filter
{
constructor
()
{
super
()
}
columns
()
{
return
[
{
prop
:
"ywrmc"
,
label
:
"姓名/名称"
,
},
{
prop
:
"zjzlMc"
,
label
:
"证件种类"
},
{
prop
:
"zjh"
,
label
:
"证件号"
,
},
{
prop
:
"frmc"
,
label
:
"法人名称"
,
},
{
prop
:
"txdz"
,
label
:
"地址"
,
},
{
prop
:
"dh"
,
label
:
"联系电话"
,
}
]
}
}
class
data2
extends
filter
{
constructor
()
{
super
()
}
columns
()
{
return
[
{
prop
:
"ywrmc"
,
label
:
"姓名/名称"
,
},
{
prop
:
"zjzlMc"
,
label
:
"证件种类"
,
},
{
prop
:
"zjh"
,
label
:
"证件号"
,
},
{
prop
:
"frmc"
,
label
:
"法人名称"
,
},
{
prop
:
"txdz"
,
label
:
"地址"
,
},
{
prop
:
"dh"
,
label
:
"联系电话"
,
},
]
}
}
let
dataYh
=
new
data1
()
let
dataQy
=
new
data2
()
export
{
dataYh
,
dataQy
,
sendThis
}
src/views/djbworkflow/components/leftmenu/ordinaryMenu.vue
View file @
a1d7f8c
...
...
@@ -211,16 +211,15 @@
if
(
!
this
.
supplementarylist
.
length
)
{
getdjblist
()
}
});
});
})
})
})
.
catch
(()
=>
{
this
.
$message
({
type
:
"info"
,
message
:
"已取消删除"
,
})
;
})
;
message
:
"已取消删除"
})
})
},
/**
* @description: 补录信息点击事件默认展示第一条补录记录
...
...
@@ -228,7 +227,7 @@
*/
blxxClick
()
{
if
(
this
.
supplementarylist
.
length
)
{
this
.
unitClick
(
0
)
;
this
.
unitClick
(
0
)
}
}
}
...
...
src/views/djbworkflow/mixin/index.js
View file @
a1d7f8c
/*
* @Description:workFramezu.vue组件的方法 头部按钮弹框方法
* @Autor: miaofang
* @LastEditTime: 2023-09-
18 11:06:44
* @LastEditTime: 2023-09-
22 13:34:56
*/
import
{
getPrintTemplateByCode
}
from
"@/api/print"
;
import
{
getQllxByBdcdyid
}
from
"@/api/djbDetail.js"
;
...
...
@@ -49,9 +49,8 @@ export default {
*/
flowInitParam
()
{
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
)
formdata
.
append
(
"bestepid"
,
this
.
bestepid
?
this
.
bestepid
:
''
)
if
(
this
.
type
)
{
formdata
.
append
(
"type"
,
"READ_ONLY"
);
}
...
...
@@ -74,7 +73,6 @@ export default {
})
},
//流程环节操作按钮
/**
* @description: 流程环节操作按钮
* @param {*} item
...
...
@@ -92,7 +90,7 @@ export default {
})
break
;
case
"B1"
:
getWorkFlowImage
(
this
.
bsmSlsq
,
this
.
$route
.
query
.
bestepid
).
then
(
res
=>
{
getWorkFlowImage
(
this
.
bsmSlsq
,
this
.
bestepid
?
this
.
bestepid
:
''
).
then
(
res
=>
{
let
{
result
}
=
res
this
.
$popupDialog
(
"流程图"
,
"workflow/components/processViewer"
,
{
xml
:
result
.
xml
,
...
...
@@ -179,13 +177,13 @@ export default {
case
"back"
:
//退回按钮
this
.
$popupDialog
(
"退回"
,
"workflow/components/th"
,
{
bsmSlsq
:
this
.
bsmSlsq
,
bestepid
:
this
.
bestepid
bestepid
:
this
.
bestepid
?
this
.
bestepid
:
''
},
'800px'
,
true
)
break
;
case
"transfer"
:
//转件按钮
getNextLinkInfo
({
bsmSlsq
:
this
.
bsmSlsq
,
bestepid
:
this
.
bestepid
,
bestepid
:
this
.
bestepid
?
this
.
bestepid
:
''
}).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
if
(
res
.
result
)
{
...
...
@@ -199,18 +197,18 @@ export default {
case
"stop"
:
//终止按钮
this
.
$popupDialog
(
"终止"
,
"workflow/components/stop"
,
{
bsmSlsq
:
this
.
bsmSlsq
,
bestepid
:
this
.
bestepid
,
bestepid
:
this
.
bestepid
?
this
.
bestepid
:
''
},
'600px'
,
true
)
break
;
case
"signout"
:
window
.
close
();
//取消认领
unClaimTask
(
this
.
bsmSlsq
,
this
.
bestepid
)
unClaimTask
(
this
.
bsmSlsq
,
this
.
bestepid
?
this
.
bestepid
:
''
)
break
;
case
"B9"
:
var
formdata
=
new
FormData
();
formdata
.
append
(
"bsmSlsq"
,
this
.
bsmSlsq
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
);
formdata
.
append
(
"bestepid"
,
this
.
bestepid
?
this
.
bestepid
:
''
);
this
.
$confirm
(
"请确认是否登簿"
,
"提示"
,
{
iconClass
:
"el-icon-question"
,
//自定义图标样式
confirmButtonText
:
"确认"
,
//确认按钮文字更换
...
...
@@ -272,7 +270,6 @@ export default {
});
});
},
//发送下一个环节
/**
* @description: 发送下一个环节
* @param {*} obj
...
...
@@ -286,7 +283,6 @@ export default {
tshowidea
:
this
.
showidea
},
'600px'
,
true
)
},
//转出最后一个流程
/**
* @description: 转出最后一个流程
* @author: renchao
...
...
@@ -300,8 +296,6 @@ export default {
},
'600px'
,
true
)
},
//批量操作
/**
* @description: 批量操作
* @author: renchao
...
...
src/views/workflow/components/leftmenu/ordinaryMenu.vue
View file @
a1d7f8c
<!--
* @Description: workFrame左侧菜单列表-普通
* @Autor: renchao
* @LastEditTime: 2023-09-2
1 14:40:30
* @LastEditTime: 2023-09-2
2 10:12:37
-->
<
template
>
<div
class=
"leftmenu"
:class=
"
{ 'animation-map-drawer': isShowdrawer }">
...
...
@@ -215,7 +215,7 @@
this
.
$popupDialog
(
"批量删除"
,
"workflow/components/batchDel"
,
{
bsmSlsq
:
this
.
bsmSlsq
,
dataList
:
this
.
unitData
,
},
'5
0
%'
,
true
)
},
'5
5
%'
,
true
)
},
/**
* @description: 申请单元点击事件
...
...
Please
register
or
sign in
to post a comment