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
8c8ed53c
authored
2024-02-20 10:20:11 +0800
by
tianhaohao@pashanhoo.com
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改流程tab组件重新分类
1 parent
079aa3ef
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
9 additions
and
286 deletions
src/views/workflow/components/dialog/zslq.vue
src/views/workflow/flowform.js
src/views/workflow/javascript/fzxxdata.js → src/views/workflow/main/fzxx/fzxxdata.js
src/views/workflow/components/fzxx.vue → src/views/workflow/main/fzxx/index.vue
src/views/workflow/components/sdqxx.vue → src/views/workflow/main/sdqxx/index.vue
src/views/workflow/components/sfxx.vue → src/views/workflow/main/sfxx/index.vue
src/views/workflow/components/swxx.vue → src/views/workflow/main/swxx/index.vue
src/views/workflow/components/szxx.vue → src/views/workflow/main/szxx/index.vue
src/views/workflow/components/zdt.vue → src/views/workflow/main/zdt/index.vue
src/views/workflow/top/zslq/index.vue
src/views/workflow/components/dialog/zslq.vue
View file @
8c8ed53
...
...
@@ -90,7 +90,7 @@
import
table
from
"@/utils/mixin/table"
;
import
{
getIdCardInfo
}
from
'@/utils/operation.js'
import
{
getUnclaimedBdcqz
,
issueCertificate
,
getBdcqzQlr
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"
../../javascript
/fzxxdata"
;
import
{
datas
}
from
"
@/views/workflow/main/fzxx
/fzxxdata"
;
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
props
:
{
...
...
src/views/workflow/flowform.js
View file @
8c8ed53
...
...
@@ -94,25 +94,25 @@ export function getForm(tabName) {
form
=
require
(
"@/views/workflow/main/spyj"
);
break
;
case
"swxx"
:
//税务信息
form
=
require
(
"@/views/workflow/
components/swxx.vue
"
);
form
=
require
(
"@/views/workflow/
main/swxx
"
);
break
;
case
"sfxx"
:
//收费信息
form
=
require
(
"@/views/workflow/
components/sfxx.vue
"
);
form
=
require
(
"@/views/workflow/
main/sfxx
"
);
break
;
case
"sdqxx"
:
//水电气信息
form
=
require
(
"@/views/workflow/
components/sdqxx.vue
"
);
form
=
require
(
"@/views/workflow/
main/sdqxx
"
);
break
;
case
"zdjbxx"
:
//宗地基本信息
form
=
require
(
"@/views/registerBook/zdjbxx.vue"
);
break
;
case
"szxx"
:
//缮证信息
form
=
require
(
"@/views/workflow/
components/szxx.vue
"
);
form
=
require
(
"@/views/workflow/
main/szxx
"
);
break
;
case
"fzxx"
:
//发证信息
form
=
require
(
"@/views/workflow/
components/fzxx.vue
"
);
form
=
require
(
"@/views/workflow/
main/fzxx
"
);
break
;
case
"zdjbxxImg"
:
//宗地图
form
=
require
(
"@/views/workflow/
components/zdt.vue
"
);
form
=
require
(
"@/views/workflow/
main/zdt
"
);
break
;
case
"cfdjxx"
:
form
=
require
(
"@/views/registerBook/cfdj.vue"
);
...
...
src/views/workflow/
javascript
/fzxxdata.js
→
src/views/workflow/
main/fzxx
/fzxxdata.js
View file @
8c8ed53
File moved
src/views/workflow/
components/fzx
x.vue
→
src/views/workflow/
main/fzxx/inde
x.vue
View file @
8c8ed53
...
...
@@ -43,7 +43,7 @@
import
{
mapGetters
}
from
'vuex'
import
store
from
'@/store/index.js'
import
table
from
"@/utils/mixin/table"
;
import
{
datas
}
from
".
./javascript
/fzxxdata"
;
import
{
datas
}
from
"./fzxxdata"
;
import
{
getCertificateList
}
from
"@/api/bdcqz.js"
;
export
default
{
mixins
:
[
table
],
...
...
src/views/workflow/
components/sdqx
x.vue
→
src/views/workflow/
main/sdqxx/inde
x.vue
View file @
8c8ed53
File moved
src/views/workflow/
components/sfx
x.vue
→
src/views/workflow/
main/sfxx/inde
x.vue
View file @
8c8ed53
...
...
@@ -67,7 +67,7 @@
<div
class=
"slxx_title title-block"
>
票据
<div
style=
"height:250px"
>
<img
src=
"../../../image/pj.jpg"
alt=
""
style=
"height:100%"
>
<img
src=
"../../../
../
image/pj.jpg"
alt=
""
style=
"height:100%"
>
</div>
</div>
</div>
...
...
src/views/workflow/
components/swx
x.vue
→
src/views/workflow/
main/swxx/inde
x.vue
View file @
8c8ed53
File moved
src/views/workflow/
components/szx
x.vue
→
src/views/workflow/
main/szxx/inde
x.vue
View file @
8c8ed53
File moved
src/views/workflow/
components/zdt
.vue
→
src/views/workflow/
main/zdt/index
.vue
View file @
8c8ed53
File moved
src/views/workflow/top/zslq/index.vue
deleted
100644 → 0
View file @
079aa3e
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2024-01-19 14:45:09
-->
<
template
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"100px"
>
<el-row>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证人姓名"
>
<el-input
v-model=
"ruleForm.fzrmc"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证时间"
>
<el-input
v-model=
"ruleForm.fzsj"
disabled
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"发证数量"
>
<el-input
v-model=
"ruleForm.fzsl"
disabled
></el-input>
</el-form-item>
</el-col>
</el-row>
<lb-table
:column=
"tableData.columns"
@
row-dblclick=
"handleRowClick"
ref=
"table"
@
selection-change=
"handleSelectionChange"
:data=
"tableData.data"
:pagination=
"false"
:calcHeight=
"300"
>
</lb-table>
<el-row>
<el-col
:span=
"3"
>
<el-form-item
label=
"身份证读卡器"
>
<el-button
type=
"text"
icon=
"el-icon-tickets"
@
click=
"readClick"
>
读取
</el-button>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"领证人"
prop=
"lzrxm"
label-width=
"70px"
>
<el-input
v-model=
"ruleForm.lzrxm"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"证件类型"
prop=
"lzrzjlb"
label-width=
"80px"
>
<el-select
v-model=
"ruleForm.lzrzjlb"
filterable
clearable
placeholder=
"请选择"
>
<el-option
v-for=
"item in lzrzjlbData"
:key=
"item.dcode"
:label=
"item.dname"
:value=
"item.dcode"
>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"证件号"
prop=
"lzrzjh"
label-width=
"70px"
>
<el-input
v-model=
"ruleForm.lzrzjh"
></el-input>
</el-form-item>
</el-col>
<el-col
:span=
"5"
>
<el-form-item
label=
"领证人电话"
prop=
"lzrdh"
>
<el-input
v-model=
"ruleForm.lzrdh"
></el-input>
</el-form-item>
</el-col>
</el-row>
<el-form-item
class=
"text-center"
>
<el-button
@
click=
"$popupCacel"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"handleSubmit"
>
确定
</el-button>
</el-form-item>
</el-form>
</
template
>
<
script
>
const
checkPhone
=
(
rule
,
value
,
callback
)
=>
{
let
regPone
=
null
let
mobile
=
/^
(
1
[
3456789
]\d{9})
$/
//手机号
let
tel
=
/^
((
0
\d{2,3}
-
\d{7,8})
|
(
1
[
3584
]\d{9}))
$/
// 座机
if
(
value
&&
value
[
0
]
===
'0'
)
{
// 检查 value 是否存在并且不是 null 或者 undefined
regPone
=
tel
}
else
if
(
value
&&
value
[
0
]
!==
'0'
)
{
regPone
=
mobile
}
if
(
regPone
===
null
)
{
return
callback
(
new
Error
(
'请输入电话'
)
)
}
else
if
(
!
regPone
.
test
(
value
))
{
return
callback
(
new
Error
(
"请输入正确的电话格式,其中座机格式'区号-座机号码'"
)
)
}
else
{
callback
()
}
};
import
Vue
from
'vue'
import
store
from
'@/store/index.js'
import
table
from
"@/utils/mixin/table"
;
import
{
getIdCardInfo
}
from
'@/utils/operation.js'
import
{
getUnclaimedBdcqz
,
issueCertificate
,
getBdcqzQlr
}
from
"@/api/bdcqz.js"
;
import
{
datas
}
from
"../../javascript/fzxxdata"
;
import
{
log
}
from
'bpmn-js-token-simulation'
;
export
default
{
props
:
{
formData
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
}
},
mixins
:
[
table
],
data
()
{
return
{
lzrzjlbData
:
store
.
getters
.
dictData
[
'A30'
],
ruleForm
:
{
fzrmc
:
''
,
fzsj
:
''
,
fzsl
:
''
,
bdcqzList
:
[],
lzrxm
:
''
,
lzrzjlb
:
''
,
lzrzjh
:
''
,
lzrdh
:
''
},
rules
:
{
lzrxm
:
[
{
required
:
true
,
message
:
'请输入领证人'
,
trigger
:
'blur'
}
],
lzrzjlb
:
[
{
required
:
true
,
message
:
'请选择证件类型'
,
trigger
:
'change'
}
],
lzrzjh
:
[
{
required
:
true
,
message
:
'请输入证件号'
,
trigger
:
'blur'
}
],
lzrdh
:
[
{
required
:
true
,
validator
:
checkPhone
,
trigger
:
[
"blur"
]
}
]
},
tableData
:
{
total
:
0
,
columns
:
datas
.
columns
().
lzgrid
,
data
:
[]
}
}
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
loadGrid
()
})
},
methods
:
{
/**
* @description: 身份证打卡器
* @author: renchao
*/
readClick
()
{
function
getObjectByValue
(
arrayOfObjects
,
value
)
{
var
name
=
''
arrayOfObjects
.
forEach
(
item
=>
{
if
(
item
.
dname
.
includes
(
value
))
name
=
item
.
dcode
})
return
name
}
getIdCardInfo
(
this
.
BASE_API
.
gaopaiyi
).
then
(
res
=>
{
if
(
this
.
BASE_API
.
gaopaiyi
==
'jy'
)
{
const
{
Name
,
IdNo
,
}
=
JSON
.
parse
(
res
)
if
(
Name
)
{
this
.
ruleForm
.
lzrxm
=
Name
;
this
.
ruleForm
.
lzrzjlb
=
'1'
;
this
.
ruleForm
.
lzrzjh
=
IdNo
;
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
'请放置身份证'
,
type
:
'warning'
})
}
}
else
{
if
(
res
.
data
.
code
==
0
)
{
let
data
=
res
.
data
.
IDCardInfo
this
.
ruleForm
.
lzrxm
=
data
.
name
this
.
ruleForm
.
lzrzjlb
=
'1'
this
.
ruleForm
.
lzrzjh
=
data
.
cardID
this
.
$message
({
message
:
'读取成功!'
,
type
:
'success'
})
}
else
{
this
.
$message
({
message
:
res
.
data
.
message
,
type
:
'warning'
})
}
}
})
},
/**
* @description: 列表初始化
* @author: renchao
*/
loadGrid
()
{
let
that
=
this
getUnclaimedBdcqz
({
bsmSlsq
:
Vue
.
prototype
.
$currentRoute
.
query
.
bsmSlsq
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
tableData
.
data
=
res
.
result
.
list
;
this
.
$nextTick
(()
=>
{
this
.
tableData
.
data
.
forEach
(
item
=>
{
that
.
$refs
.
table
.
toggleRowSelection
(
item
)
})
})
this
.
ruleForm
.
fzrmc
=
res
.
result
.
fzrmc
this
.
ruleForm
.
fzsj
=
res
.
result
.
fzsj
this
.
ruleForm
.
fzsl
=
res
.
result
.
fzsl
this
.
ruleForm
.
bdcqzList
=
res
.
result
.
list
;
res
.
result
.
list
.
length
&&
this
.
getQlr
(
res
.
result
.
list
[
0
].
bsmBdcqz
)
}
})
},
/**
* @description: 获取权利人信息
* @author: renchao
*/
getQlr
(
bsmBdcqz
)
{
getBdcqzQlr
(
bsmBdcqz
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
this
.
ruleForm
.
lzrxm
=
res
.
result
.
qlrmc
;
this
.
ruleForm
.
lzrzjlb
=
res
.
result
.
zjzl
;
this
.
ruleForm
.
lzrzjh
=
res
.
result
.
zjh
;
this
.
ruleForm
.
lzrdh
=
res
.
result
.
dh
;
}
})
},
/**
* @description: handleSelectionChange
* @param {*} val
* @author: renchao
*/
handleSelectionChange
(
val
)
{
this
.
ruleForm
.
bdcqzList
=
val
},
/**
* @description: handleRowClick
* @param {*} row
* @author: renchao
*/
handleRowClick
(
row
)
{
this
.
$refs
.
table
.
toggleRowSelection
(
row
)
},
/**
* @description: handleSubmit
* @author: renchao
*/
handleSubmit
()
{
this
.
$refs
.
ruleForm
.
validate
(
valid
=>
{
if
(
valid
)
{
issueCertificate
(
this
.
ruleForm
).
then
(
res
=>
{
if
(
res
.
code
==
200
)
{
this
.
$message
.
success
(
'保存成功'
);
//刷新列表
store
.
dispatch
(
'user/reWorkFresh'
,
true
)
this
.
$popupCacel
()
}
else
{
this
.
$message
.
error
(
res
.
message
)
}
})
}
else
{
return
false
;
}
})
}
}
}
</
script
>
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
</
style
>
Please
register
or
sign in
to post a comment