Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
EL-ADMIN
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
JiangSN
EL-ADMIN
Commits
078be1b2
Commit
078be1b2
authored
Nov 04, 2021
by
井熙铎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
类型状态类数据取值赋值
parent
9ec58dc4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
618 additions
and
2578 deletions
+618
-2578
index.vue
eladmin-web/src/views/polling/dkbscx/index.vue
+62
-8
index.vue
eladmin-web/src/views/polling/dkzlcx/index.vue
+91
-13
index.vue
eladmin-web/src/views/polling/grdkjqjy/index.vue
+70
-10
index.vue
eladmin-web/src/views/polling/jczlcx/index.vue
+53
-7
index.vue
eladmin-web/src/views/polling/lxjcjy/index.vue
+63
-8
index.vue
eladmin-web/src/views/polling/qyxxcx/index.vue
+7
-1
CRUD.operation.vue
...in-web/src/views/polling/xxgxsqsq/Crud/CRUD.operation.vue
+0
-204
Pagination.vue
eladmin-web/src/views/polling/xxgxsqsq/Crud/Pagination.vue
+0
-18
RR.operation.vue
eladmin-web/src/views/polling/xxgxsqsq/Crud/RR.operation.vue
+0
-20
UD.operation.vue
eladmin-web/src/views/polling/xxgxsqsq/Crud/UD.operation.vue
+0
-74
crud.js
eladmin-web/src/views/polling/xxgxsqsq/Crud/crud.js
+0
-863
index.vue
eladmin-web/src/views/polling/xxgxsqsq/index.vue
+79
-78
CRUD.operation.vue
...in-web/src/views/polling/xxgxsqyz/Crud/CRUD.operation.vue
+0
-204
Pagination.vue
eladmin-web/src/views/polling/xxgxsqyz/Crud/Pagination.vue
+0
-18
RR.operation.vue
eladmin-web/src/views/polling/xxgxsqyz/Crud/RR.operation.vue
+0
-20
UD.operation.vue
eladmin-web/src/views/polling/xxgxsqyz/Crud/UD.operation.vue
+0
-74
crud.js
eladmin-web/src/views/polling/xxgxsqyz/Crud/crud.js
+0
-863
index.vue
eladmin-web/src/views/polling/xxgxsqyz/index.vue
+76
-79
index.vue
eladmin-web/src/views/polling/xxsysqlb/index.vue
+117
-16
No files found.
eladmin-web/src/views/polling/dkbscx/index.vue
View file @
078be1b2
...
@@ -12,12 +12,24 @@
...
@@ -12,12 +12,24 @@
</div>
</div>
<!--表单组件-->
<!--表单组件-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-form
ref=
"form"
:model=
"form"
:
disabled=
"crud.status.CHECK"
:
rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -30,8 +42,14 @@
...
@@ -30,8 +42,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -124,9 +142,9 @@
...
@@ -124,9 +142,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
</el-table>
</el-table>
...
@@ -150,7 +168,13 @@ export default {
...
@@ -150,7 +168,13 @@ export default {
name
:
'Dkbscx'
,
name
:
'Dkbscx'
,
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
({
title
:
'贷款笔数查询'
,
url
:
'api/DkbscxController'
,
crudMethod
:
{}})
return
CRUD
({
title
:
'贷款笔数查询'
,
url
:
'api/DkbscxController'
,
crudMethod
:
{},
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
@@ -173,6 +197,36 @@ export default {
...
@@ -173,6 +197,36 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
* @param row 当前行元素
* @returns {string}
*/
zjlxFormat
(
row
)
{
switch
(
row
.
zjlx
)
{
case
'01'
:
return
"身份证"
;
case
'02'
:
return
"军官证"
;
case
'03'
:
return
"护照"
;
case
'04'
:
return
"外国人永久居住证"
;
case
'99'
:
return
"其他"
;
}
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
eladmin-web/src/views/polling/dkzlcx/index.vue
View file @
078be1b2
...
@@ -12,12 +12,24 @@
...
@@ -12,12 +12,24 @@
</div>
</div>
<!--表单组件-->
<!--表单组件-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-form
ref=
"form"
:model=
"form"
:
disabled=
"crud.status.CHECK"
:
rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -30,8 +42,14 @@
...
@@ -30,8 +42,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -62,15 +80,36 @@
...
@@ -62,15 +80,36 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"贷款中心名称"
prop=
"DKZXMC"
>
<el-form-item
label=
"贷款中心名称"
prop=
"DKZXMC"
>
<el-input
v-model=
"form.DKZXMC"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.DKZXMC"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '1'"
>
<el-input
v-model=
"form.DKZT"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"正常"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '2'"
>
<el-input
value=
"逾期"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '3'"
>
<el-input
value=
"结清"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '4'"
>
<el-input
value=
"核消"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '5'"
>
<el-input
value=
"放款失败"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '6'"
>
<el-input
value=
"核消收回结清"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '7'"
>
<el-input
value=
"回转结清"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"贷款状态"
prop=
"DKZT"
v-if=
"form.DKZT == '8'"
>
<el-input
value=
"轮候期到期结清"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -78,8 +117,11 @@
...
@@ -78,8 +117,11 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"是否共同借款人"
prop=
"SFGTJKR"
>
<el-form-item
label=
"是否共同借款人"
prop=
"SFGTJKR"
v-if=
"form.SFGTJKR == '00'"
>
<el-input
v-model=
"form.SFGTJKR"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"共同借款人"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"是否共同借款人"
prop=
"SFGTJKR"
v-if=
"form.SFGTJKR == '01'"
>
<el-input
value=
"主借款人"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -115,9 +157,9 @@
...
@@ -115,9 +157,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
</el-table>
</el-table>
...
@@ -141,7 +183,13 @@ export default {
...
@@ -141,7 +183,13 @@ export default {
name
:
'Dkzlcx'
,
name
:
'Dkzlcx'
,
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
({
title
:
'贷款纵览详情'
,
url
:
'api/DkzlcxController'
,
crudMethod
:
{}})
return
CRUD
({
title
:
'贷款纵览详情'
,
url
:
'api/DkzlcxController'
,
crudMethod
:
{},
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
@@ -164,6 +212,36 @@ export default {
...
@@ -164,6 +212,36 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
* @param row 当前行元素
* @returns {string}
*/
zjlxFormat
(
row
)
{
switch
(
row
.
zjlx
)
{
case
'01'
:
return
"身份证"
;
case
'02'
:
return
"军官证"
;
case
'03'
:
return
"护照"
;
case
'04'
:
return
"外国人永久居住证"
;
case
'99'
:
return
"其他"
;
}
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
eladmin-web/src/views/polling/grdkjqjy/index.vue
View file @
078be1b2
...
@@ -12,12 +12,25 @@
...
@@ -12,12 +12,25 @@
</div>
</div>
<!--表单组件-->
<!--表单组件-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-form
ref=
"form"
:model=
"form"
:
disabled=
"crud.status.CHECK"
:
rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -30,8 +43,14 @@
...
@@ -30,8 +43,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -55,8 +74,11 @@
...
@@ -55,8 +74,11 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"是否结清"
prop=
"SFJQ"
>
<el-form-item
label=
"是否结清"
prop=
"SFJQ"
v-if=
"form.SFJQ == '00'"
>
<el-input
v-model=
"form.SFJQ"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"已结清"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"是否结清"
prop=
"SFJQ"
v-if=
"form.SFJQ == '01'"
>
<el-input
value=
"未结清"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -93,9 +115,9 @@
...
@@ -93,9 +115,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
</el-table>
</el-table>
...
@@ -119,7 +141,13 @@ export default {
...
@@ -119,7 +141,13 @@ export default {
name
:
'Grdkjqjy'
,
name
:
'Grdkjqjy'
,
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
({
title
:
'个人贷款结清校验'
,
url
:
'api/GrdkjqjyController'
,
crudMethod
:
{}})
return
CRUD
({
title
:
'个人贷款结清校验'
,
url
:
'api/GrdkjqjyController'
,
crudMethod
:
{},
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
@@ -142,6 +170,38 @@ export default {
...
@@ -142,6 +170,38 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
* @param row 当前行元素
* @returns {string}
*/
zjlxFormat
(
row
)
{
switch
(
row
.
zjlx
)
{
case
'01'
:
return
"身份证"
;
case
'02'
:
return
"军官证"
;
case
'03'
:
return
"护照"
;
case
'04'
:
return
"外国人永久居住证"
;
case
'99'
:
return
"其他"
;
}
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
eladmin-web/src/views/polling/jczlcx/index.vue
View file @
078be1b2
...
@@ -18,8 +18,20 @@
...
@@ -18,8 +18,20 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
/>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -32,8 +44,14 @@
...
@@ -32,8 +44,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -87,8 +105,20 @@
...
@@ -87,8 +105,20 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"个人账户状态"
prop=
"GRZHZT"
>
<el-form-item
label=
"个人账户状态"
prop=
"GRZHZT"
v-if=
"form.GRZHZT == '01'"
>
<el-input
v-model=
"form.GRZHZT"
style=
"width: 370px"
/>
<el-input
value =
"正常"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"个人账户状态"
prop=
"GRZHZT"
v-if=
"form.GRZHZT == '02'"
>
<el-input
value =
"封存"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"个人账户状态"
prop=
"GRZHZT"
v-if=
"form.GRZHZT == '05'"
>
<el-input
value =
"销户"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"个人账户状态"
prop=
"GRZHZT"
v-if=
"form.GRZHZT == '06'"
>
<el-input
value =
"冻结"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"个人账户状态"
prop=
"GRZHZT"
v-if=
"form.GRZHZT == '99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -137,7 +167,7 @@
...
@@ -137,7 +167,7 @@
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
</el-table>
</el-table>
...
@@ -174,10 +204,13 @@ export default {
...
@@ -174,10 +204,13 @@ export default {
},
},
})
})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
return
{
return
{
//明细请求参数
//明细请求参数
queryList
:
{
queryList
:
{
status
:
true
,
status
:
true
,
url
:
"api/JczlcxController/QueryJczlcxFhmx"
,
url
:
"api/JczlcxController/QueryJczlcxFhmx"
,
...
@@ -197,6 +230,7 @@ export default {
...
@@ -197,6 +230,7 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
/**
* @param row 当前行元素
* @param row 当前行元素
* @returns {string}
* @returns {string}
...
@@ -215,6 +249,18 @@ export default {
...
@@ -215,6 +249,18 @@ export default {
return
"其他"
;
return
"其他"
;
}
}
},
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
eladmin-web/src/views/polling/lxjcjy/index.vue
View file @
078be1b2
...
@@ -12,12 +12,24 @@
...
@@ -12,12 +12,24 @@
</div>
</div>
<!--表单组件-->
<!--表单组件-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-form
ref=
"form"
:model=
"form"
:
disabled=
"crud.status.CHECK"
:
rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -30,8 +42,14 @@
...
@@ -30,8 +42,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -100,9 +118,9 @@
...
@@ -100,9 +118,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"zxbh"
label=
"中心编号"
/>
<el-table-column
prop=
"zxbh"
label=
"中心编号"
/>
<el-table-column
prop=
"grzh"
label=
"个人账号"
/>
<el-table-column
prop=
"grzh"
label=
"个人账号"
/>
</el-table>
</el-table>
...
@@ -127,7 +145,13 @@ export default {
...
@@ -127,7 +145,13 @@ export default {
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
(
return
CRUD
(
{
title
:
'连续缴存校验'
,
url
:
'api/LxjcjyController'
,
crudMethod
:
{}})
{
title
:
'连续缴存校验'
,
url
:
'api/LxjcjyController'
,
crudMethod
:
{},
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
@@ -149,6 +173,37 @@ export default {
...
@@ -149,6 +173,37 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
* @param row 当前行元素
* @returns {string}
*/
zjlxFormat
(
row
)
{
switch
(
row
.
zjlx
)
{
case
'01'
:
return
"身份证"
;
case
'02'
:
return
"军官证"
;
case
'03'
:
return
"护照"
;
case
'04'
:
return
"外国人永久居住证"
;
case
'99'
:
return
"其他"
;
}
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
eladmin-web/src/views/polling/qyxxcx/index.vue
View file @
078be1b2
...
@@ -182,7 +182,13 @@ export default {
...
@@ -182,7 +182,13 @@ export default {
name
:
'Qyxxcx'
,
name
:
'Qyxxcx'
,
components
:
{
pagination
,
rrOperation
,
retrieve
,
DateRangePicker
,
crudOperation
},
components
:
{
pagination
,
rrOperation
,
retrieve
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
({
title
:
'企业信息详情'
,
url
:
'api/QyxxcxController'
,
crudMethod
:
{}})
return
CRUD
({
title
:
'企业信息详情'
,
url
:
'api/QyxxcxController'
,
crudMethod
:
{},
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
...
eladmin-web/src/views/polling/xxgxsqsq/Crud/CRUD.operation.vue
deleted
100644 → 0
View file @
9ec58dc4
<
template
>
<div
class=
"crud-opts"
>
<el-button-group
class=
"crud-opts-right"
>
<el-button
size=
"mini"
plain
type=
"info"
icon=
"el-icon-search"
@
click=
"toggleSearch()"
/>
<el-button
size=
"mini"
icon=
"el-icon-refresh"
@
click=
"crud.refresh()"
/>
<el-popover
placement=
"bottom-end"
width=
"150"
trigger=
"click"
>
<el-button
slot=
"reference"
size=
"mini"
icon=
"el-icon-s-grid"
>
<i
class=
"fa fa-caret-down"
aria-hidden=
"true"
/>
</el-button>
<el-checkbox
v-model=
"allColumnsSelected"
:indeterminate=
"allColumnsSelectedIndeterminate"
@
change=
"handleCheckAllChange"
>
全选
</el-checkbox>
<el-checkbox
v-for=
"item in tableColumns"
:key=
"item.property"
v-model=
"item.visible"
@
change=
"handleCheckedTableColumnsChange(item)"
>
{{
item
.
label
}}
</el-checkbox>
</el-popover>
</el-button-group>
</div>
</
template
>
<
script
>
import
CRUD
,
{
crud
}
from
'@crud/crud'
function
sortWithRef
(
src
,
ref
)
{
const
result
=
Object
.
assign
([],
ref
)
let
cursor
=
-
1
src
.
forEach
(
e
=>
{
const
idx
=
result
.
indexOf
(
e
)
if
(
idx
===
-
1
)
{
cursor
+=
1
result
.
splice
(
cursor
,
0
,
e
)
}
else
{
cursor
=
idx
}
})
return
result
}
export
default
{
mixins
:
[
crud
()],
props
:
{
permission
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
},
hiddenColumns
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
},
ignoreColumns
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
}
},
data
()
{
return
{
tableColumns
:
[],
allColumnsSelected
:
true
,
allColumnsSelectedIndeterminate
:
false
,
tableUnwatcher
:
null
,
// 忽略下次表格列变动
ignoreNextTableColumnsChange
:
false
}
},
watch
:
{
'crud.props.table'
()
{
this
.
updateTableColumns
()
this
.
tableColumns
.
forEach
(
column
=>
{
if
(
this
.
hiddenColumns
.
indexOf
(
column
.
property
)
!==
-
1
)
{
column
.
visible
=
false
this
.
updateColumnVisible
(
column
)
}
})
},
'crud.props.table.store.states.columns'
()
{
this
.
updateTableColumns
()
}
},
created
()
{
this
.
crud
.
updateProp
(
'searchToggle'
,
true
)
},
methods
:
{
updateTableColumns
()
{
const
table
=
this
.
crud
.
getTable
()
if
(
!
table
)
{
this
.
tableColumns
=
[]
return
}
let
cols
=
null
const
columnFilter
=
e
=>
e
&&
e
.
type
===
'default'
&&
e
.
property
&&
this
.
ignoreColumns
.
indexOf
(
e
.
property
)
===
-
1
const
refCols
=
table
.
columns
.
filter
(
columnFilter
)
if
(
this
.
ignoreNextTableColumnsChange
)
{
this
.
ignoreNextTableColumnsChange
=
false
return
}
this
.
ignoreNextTableColumnsChange
=
false
const
columns
=
[]
const
fullTableColumns
=
table
.
$children
.
map
(
e
=>
e
.
columnConfig
).
filter
(
columnFilter
)
cols
=
sortWithRef
(
fullTableColumns
,
refCols
)
cols
.
forEach
(
config
=>
{
const
column
=
{
property
:
config
.
property
,
label
:
config
.
label
,
visible
:
refCols
.
indexOf
(
config
)
!==
-
1
}
columns
.
push
(
column
)
})
this
.
tableColumns
=
columns
},
handleCheckAllChange
(
val
)
{
if
(
val
===
false
)
{
this
.
allColumnsSelected
=
true
return
}
this
.
tableColumns
.
forEach
(
column
=>
{
if
(
!
column
.
visible
)
{
column
.
visible
=
true
this
.
updateColumnVisible
(
column
)
}
})
this
.
allColumnsSelected
=
val
this
.
allColumnsSelectedIndeterminate
=
false
},
handleCheckedTableColumnsChange
(
item
)
{
let
totalCount
=
0
let
selectedCount
=
0
this
.
tableColumns
.
forEach
(
column
=>
{
++
totalCount
selectedCount
+=
column
.
visible
?
1
:
0
})
if
(
selectedCount
===
0
)
{
this
.
crud
.
notify
(
'请至少选择一列'
,
CRUD
.
NOTIFICATION_TYPE
.
WARNING
)
this
.
$nextTick
(
function
()
{
item
.
visible
=
true
})
return
}
this
.
allColumnsSelected
=
selectedCount
===
totalCount
this
.
allColumnsSelectedIndeterminate
=
selectedCount
!==
totalCount
&&
selectedCount
!==
0
this
.
updateColumnVisible
(
item
)
},
updateColumnVisible
(
item
)
{
const
table
=
this
.
crud
.
props
.
table
const
vm
=
table
.
$children
.
find
(
e
=>
e
.
prop
===
item
.
property
)
const
columnConfig
=
vm
.
columnConfig
if
(
item
.
visible
)
{
// 找出合适的插入点
const
columnIndex
=
this
.
tableColumns
.
indexOf
(
item
)
vm
.
owner
.
store
.
commit
(
'insertColumn'
,
columnConfig
,
columnIndex
+
1
,
null
)
}
else
{
vm
.
owner
.
store
.
commit
(
'removeColumn'
,
columnConfig
,
null
)
}
this
.
ignoreNextTableColumnsChange
=
true
},
toggleSearch
()
{
this
.
crud
.
props
.
searchToggle
=
!
this
.
crud
.
props
.
searchToggle
}
}
}
</
script
>
<
style
>
.crud-opts
{
padding
:
4px
0
;
display
:
-webkit-flex
;
display
:
flex
;
align-items
:
center
;
}
.crud-opts
.crud-opts-right
{
margin-left
:
auto
;
}
.crud-opts
.crud-opts-right
span
{
float
:
left
;
}
</
style
>
eladmin-web/src/views/polling/xxgxsqsq/Crud/Pagination.vue
deleted
100644 → 0
View file @
9ec58dc4
<!--分页-->
<
template
>
<el-pagination
:page-size
.
sync=
"page.size"
:total=
"page.total"
:current-page
.
sync=
"page.page"
style=
"margin-top: 8px;"
layout=
"total, prev, pager, next, sizes"
@
size-change=
"crud.sizeChangeHandler($event)"
@
current-change=
"crud.pageChangeHandler"
/>
</
template
>
<
script
>
import
{
pagination
}
from
'@crud/crud'
export
default
{
mixins
:
[
pagination
()]
}
</
script
>
eladmin-web/src/views/polling/xxgxsqsq/Crud/RR.operation.vue
deleted
100644 → 0
View file @
9ec58dc4
<!--搜索与重置-->
<
template
>
<span>
<el-button
class=
"filter-item"
size=
"mini"
type=
"success"
icon=
"el-icon-search"
@
click=
"crud.toQuery"
>
搜索
</el-button>
<el-button
v-if=
"crud.optShow.reset"
class=
"filter-item"
size=
"mini"
type=
"warning"
icon=
"el-icon-refresh-left"
@
click=
"crud.resetQuery()"
>
重置
</el-button>
</span>
</
template
>
<
script
>
import
{
crud
}
from
'@crud/crud'
export
default
{
mixins
:
[
crud
()],
props
:
{
itemClass
:
{
type
:
String
,
required
:
false
,
default
:
''
}
}
}
</
script
>
eladmin-web/src/views/polling/xxgxsqsq/Crud/UD.operation.vue
deleted
100644 → 0
View file @
9ec58dc4
<
template
>
<div>
<el-button
v-permission=
"permission.edit"
:loading=
"crud.status.cu === 2"
:disabled=
"disabledEdit"
size=
"mini"
type=
"primary"
icon=
"el-icon-chat-line-square"
@
click=
"crud.toEdit(data)"
>
查看详情
</el-button>
<el-popover
v-model=
"pop"
v-permission=
"permission.del"
placement=
"top"
width=
"180"
trigger=
"manual"
@
show=
"onPopoverShow"
@
hide=
"onPopoverHide"
>
<p>
{{
msg
}}
</p>
<div
style=
"text-align: right; margin: 0"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"doCancel"
>
取消
</el-button>
<el-button
:loading=
"crud.dataStatus[crud.getDataId(data)].delete === 2"
type=
"primary"
size=
"mini"
@
click=
"crud.doDelete(data)"
>
确定
</el-button>
</div>
<!-- 删除按钮,此页面只需要查询,所以注释-->
<!--
<el-button
slot=
"reference"
:disabled=
"disabledDle"
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
@
click=
"toDelete"
/>
-->
</el-popover>
</div>
</
template
>
<
script
>
import
CRUD
,
{
crud
}
from
'@crud/crud'
export
default
{
mixins
:
[
crud
()],
props
:
{
data
:
{
type
:
Object
,
required
:
true
},
permission
:
{
type
:
Object
,
required
:
true
},
disabledEdit
:
{
type
:
Boolean
,
default
:
false
},
disabledDle
:
{
type
:
Boolean
,
default
:
false
},
msg
:
{
type
:
String
,
default
:
'确定删除本条数据吗?'
}
},
data
()
{
return
{
pop
:
false
}
},
methods
:
{
doCancel
()
{
this
.
pop
=
false
this
.
crud
.
cancelDelete
(
this
.
data
)
},
toDelete
()
{
this
.
pop
=
true
},
[
CRUD
.
HOOK
.
afterDelete
](
crud
,
data
)
{
if
(
data
===
this
.
data
)
{
this
.
pop
=
false
}
},
onPopoverShow
()
{
setTimeout
(()
=>
{
document
.
addEventListener
(
'click'
,
this
.
handleDocumentClick
)
},
0
)
},
onPopoverHide
()
{
document
.
removeEventListener
(
'click'
,
this
.
handleDocumentClick
)
},
handleDocumentClick
(
event
)
{
this
.
pop
=
false
}
}
}
</
script
>
eladmin-web/src/views/polling/xxgxsqsq/Crud/crud.js
deleted
100644 → 0
View file @
9ec58dc4
This diff is collapsed.
Click to expand it.
eladmin-web/src/views/polling/xxgxsqsq/index.vue
View file @
078be1b2
...
@@ -12,12 +12,24 @@
...
@@ -12,12 +12,24 @@
</div>
</div>
<!--表单组件-->
<!--表单组件-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-form
ref=
"form"
:model=
"form"
:
disabled=
"crud.status.CHECK"
:
rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -30,8 +42,14 @@
...
@@ -30,8 +42,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -55,84 +73,28 @@
...
@@ -55,84 +73,28 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"返回报文头日期"
prop=
"receivedate"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.receivedate"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"单位地址"
prop=
"xynr"
>
<el-input
v-model=
"form.dom"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"法人代表姓名"
prop=
"name"
>
<el-input
v-model=
"form.name"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"统一社会信用代码"
prop=
"uniscid"
>
<el-input
v-model=
"form.uniscid"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"
成立日期"
prop=
"estDat
e"
>
<el-form-item
label=
"
返回报文头时间"
prop=
"receivetim
e"
>
<el-input
v-model=
"form.
estDat
e"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.
receivetim
e"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"
注册资本"
prop=
"name
"
>
<el-form-item
label=
"
返回报文流水号"
prop=
"receiveseqno
"
>
<el-input
v-model=
"form.re
gCap
"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.re
ceiveseqno
"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"经营(驻在)期限自"
prop=
"opFrom"
>
<el-input
v-model=
"form.opFrom"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"经营(驻在)期限至"
prop=
"opto"
>
<el-input
v-model=
"form.opto"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"登记机关"
prop=
"regOrgCn"
>
<el-input
v-model=
"form.regOrgCn"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"登记登记状态"
prop=
"regStateCn"
>
<el-input
v-model=
"form.regStateCn"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"企业经营范围"
prop=
"opScope"
>
<el-input
v-model=
"form.opScope"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center"
>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center"
>
<el-button
type=
"primary"
size=
"medium"
@
click=
"crud.cancelCU"
>
确认
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"crud.cancelCU"
>
确认
</el-button>
...
@@ -142,16 +104,16 @@
...
@@ -142,16 +104,16 @@
<el-table
ref=
"table"
v-loading=
"crud.loading"
:data=
"crud.data"
style=
"width: 100%"
@
selection-change=
"crud.selectionChangeHandler"
>
<el-table
ref=
"table"
v-loading=
"crud.loading"
:data=
"crud.data"
style=
"width: 100%"
@
selection-change=
"crud.selectionChangeHandler"
>
<el-table-column
v-if=
"checkPer(['admin','serverDeploy:edit'])"
label=
"操作"
width=
"150px"
align=
"center"
>
<el-table-column
v-if=
"checkPer(['admin','serverDeploy:edit'])"
label=
"操作"
width=
"150px"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<
udOperation
<
Retrieve
:data=
"scope.row"
:data=
"scope.row"
:permission=
"permission"
:permission=
"permission"
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
</el-table>
</el-table>
...
@@ -163,18 +125,26 @@
...
@@ -163,18 +125,26 @@
<
script
>
<
script
>
import
{
testServerConnect
}
from
'@/api/mnt/connect'
import
{
testServerConnect
}
from
'@/api/mnt/connect'
import
CRUD
,
{
presenter
,
header
,
form
,
crud
}
from
'
./C
rud/crud'
import
CRUD
,
{
presenter
,
header
,
form
,
crud
}
from
'
@c
rud/crud'
import
rrOperation
from
'
./C
rud/RR.operation'
import
rrOperation
from
'
@c
rud/RR.operation'
import
pagination
from
'
./C
rud/Pagination'
import
pagination
from
'
@c
rud/Pagination'
import
DateRangePicker
from
'@/components/DateRangePicker'
import
DateRangePicker
from
'@/components/DateRangePicker'
import
crudOperation
from
'./Crud/CRUD.operation'
import
crudOperation
from
'@crud/CRUD.operation'
import
Retrieve
from
'@crud/Retrieve'
const
defaultForm
=
{
id
:
null
,
name
:
null
,
ip
:
null
,
port
:
22
,
account
:
'root'
,
password
:
null
}
const
defaultForm
=
{
id
:
null
,
name
:
null
,
ip
:
null
,
port
:
22
,
account
:
'root'
,
password
:
null
}
export
default
{
export
default
{
name
:
'Xxgxsqsq'
,
name
:
'Xxgxsqsq'
,
components
:
{
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
({
title
:
'信息共享授权申请'
,
url
:
'api/XxgxsqsqController'
,
crudMethod
:
{}})
return
CRUD
({
title
:
'信息共享授权申请'
,
url
:
'api/XxgxsqsqController'
,
crudMethod
:
{}
,
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
@@ -193,6 +163,37 @@ export default {
...
@@ -193,6 +163,37 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
* @param row 当前行元素
* @returns {string}
*/
zjlxFormat
(
row
)
{
switch
(
row
.
zjlx
)
{
case
'01'
:
return
"身份证"
;
case
'02'
:
return
"军官证"
;
case
'03'
:
return
"护照"
;
case
'04'
:
return
"外国人永久居住证"
;
case
'99'
:
return
"其他"
;
}
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
eladmin-web/src/views/polling/xxgxsqyz/Crud/CRUD.operation.vue
deleted
100644 → 0
View file @
9ec58dc4
<
template
>
<div
class=
"crud-opts"
>
<el-button-group
class=
"crud-opts-right"
>
<el-button
size=
"mini"
plain
type=
"info"
icon=
"el-icon-search"
@
click=
"toggleSearch()"
/>
<el-button
size=
"mini"
icon=
"el-icon-refresh"
@
click=
"crud.refresh()"
/>
<el-popover
placement=
"bottom-end"
width=
"150"
trigger=
"click"
>
<el-button
slot=
"reference"
size=
"mini"
icon=
"el-icon-s-grid"
>
<i
class=
"fa fa-caret-down"
aria-hidden=
"true"
/>
</el-button>
<el-checkbox
v-model=
"allColumnsSelected"
:indeterminate=
"allColumnsSelectedIndeterminate"
@
change=
"handleCheckAllChange"
>
全选
</el-checkbox>
<el-checkbox
v-for=
"item in tableColumns"
:key=
"item.property"
v-model=
"item.visible"
@
change=
"handleCheckedTableColumnsChange(item)"
>
{{
item
.
label
}}
</el-checkbox>
</el-popover>
</el-button-group>
</div>
</
template
>
<
script
>
import
CRUD
,
{
crud
}
from
'@crud/crud'
function
sortWithRef
(
src
,
ref
)
{
const
result
=
Object
.
assign
([],
ref
)
let
cursor
=
-
1
src
.
forEach
(
e
=>
{
const
idx
=
result
.
indexOf
(
e
)
if
(
idx
===
-
1
)
{
cursor
+=
1
result
.
splice
(
cursor
,
0
,
e
)
}
else
{
cursor
=
idx
}
})
return
result
}
export
default
{
mixins
:
[
crud
()],
props
:
{
permission
:
{
type
:
Object
,
default
:
()
=>
{
return
{}
}
},
hiddenColumns
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
},
ignoreColumns
:
{
type
:
Array
,
default
:
()
=>
{
return
[]
}
}
},
data
()
{
return
{
tableColumns
:
[],
allColumnsSelected
:
true
,
allColumnsSelectedIndeterminate
:
false
,
tableUnwatcher
:
null
,
// 忽略下次表格列变动
ignoreNextTableColumnsChange
:
false
}
},
watch
:
{
'crud.props.table'
()
{
this
.
updateTableColumns
()
this
.
tableColumns
.
forEach
(
column
=>
{
if
(
this
.
hiddenColumns
.
indexOf
(
column
.
property
)
!==
-
1
)
{
column
.
visible
=
false
this
.
updateColumnVisible
(
column
)
}
})
},
'crud.props.table.store.states.columns'
()
{
this
.
updateTableColumns
()
}
},
created
()
{
this
.
crud
.
updateProp
(
'searchToggle'
,
true
)
},
methods
:
{
updateTableColumns
()
{
const
table
=
this
.
crud
.
getTable
()
if
(
!
table
)
{
this
.
tableColumns
=
[]
return
}
let
cols
=
null
const
columnFilter
=
e
=>
e
&&
e
.
type
===
'default'
&&
e
.
property
&&
this
.
ignoreColumns
.
indexOf
(
e
.
property
)
===
-
1
const
refCols
=
table
.
columns
.
filter
(
columnFilter
)
if
(
this
.
ignoreNextTableColumnsChange
)
{
this
.
ignoreNextTableColumnsChange
=
false
return
}
this
.
ignoreNextTableColumnsChange
=
false
const
columns
=
[]
const
fullTableColumns
=
table
.
$children
.
map
(
e
=>
e
.
columnConfig
).
filter
(
columnFilter
)
cols
=
sortWithRef
(
fullTableColumns
,
refCols
)
cols
.
forEach
(
config
=>
{
const
column
=
{
property
:
config
.
property
,
label
:
config
.
label
,
visible
:
refCols
.
indexOf
(
config
)
!==
-
1
}
columns
.
push
(
column
)
})
this
.
tableColumns
=
columns
},
handleCheckAllChange
(
val
)
{
if
(
val
===
false
)
{
this
.
allColumnsSelected
=
true
return
}
this
.
tableColumns
.
forEach
(
column
=>
{
if
(
!
column
.
visible
)
{
column
.
visible
=
true
this
.
updateColumnVisible
(
column
)
}
})
this
.
allColumnsSelected
=
val
this
.
allColumnsSelectedIndeterminate
=
false
},
handleCheckedTableColumnsChange
(
item
)
{
let
totalCount
=
0
let
selectedCount
=
0
this
.
tableColumns
.
forEach
(
column
=>
{
++
totalCount
selectedCount
+=
column
.
visible
?
1
:
0
})
if
(
selectedCount
===
0
)
{
this
.
crud
.
notify
(
'请至少选择一列'
,
CRUD
.
NOTIFICATION_TYPE
.
WARNING
)
this
.
$nextTick
(
function
()
{
item
.
visible
=
true
})
return
}
this
.
allColumnsSelected
=
selectedCount
===
totalCount
this
.
allColumnsSelectedIndeterminate
=
selectedCount
!==
totalCount
&&
selectedCount
!==
0
this
.
updateColumnVisible
(
item
)
},
updateColumnVisible
(
item
)
{
const
table
=
this
.
crud
.
props
.
table
const
vm
=
table
.
$children
.
find
(
e
=>
e
.
prop
===
item
.
property
)
const
columnConfig
=
vm
.
columnConfig
if
(
item
.
visible
)
{
// 找出合适的插入点
const
columnIndex
=
this
.
tableColumns
.
indexOf
(
item
)
vm
.
owner
.
store
.
commit
(
'insertColumn'
,
columnConfig
,
columnIndex
+
1
,
null
)
}
else
{
vm
.
owner
.
store
.
commit
(
'removeColumn'
,
columnConfig
,
null
)
}
this
.
ignoreNextTableColumnsChange
=
true
},
toggleSearch
()
{
this
.
crud
.
props
.
searchToggle
=
!
this
.
crud
.
props
.
searchToggle
}
}
}
</
script
>
<
style
>
.crud-opts
{
padding
:
4px
0
;
display
:
-webkit-flex
;
display
:
flex
;
align-items
:
center
;
}
.crud-opts
.crud-opts-right
{
margin-left
:
auto
;
}
.crud-opts
.crud-opts-right
span
{
float
:
left
;
}
</
style
>
eladmin-web/src/views/polling/xxgxsqyz/Crud/Pagination.vue
deleted
100644 → 0
View file @
9ec58dc4
<!--分页-->
<
template
>
<el-pagination
:page-size
.
sync=
"page.size"
:total=
"page.total"
:current-page
.
sync=
"page.page"
style=
"margin-top: 8px;"
layout=
"total, prev, pager, next, sizes"
@
size-change=
"crud.sizeChangeHandler($event)"
@
current-change=
"crud.pageChangeHandler"
/>
</
template
>
<
script
>
import
{
pagination
}
from
'@crud/crud'
export
default
{
mixins
:
[
pagination
()]
}
</
script
>
eladmin-web/src/views/polling/xxgxsqyz/Crud/RR.operation.vue
deleted
100644 → 0
View file @
9ec58dc4
<!--搜索与重置-->
<
template
>
<span>
<el-button
class=
"filter-item"
size=
"mini"
type=
"success"
icon=
"el-icon-search"
@
click=
"crud.toQuery"
>
搜索
</el-button>
<el-button
v-if=
"crud.optShow.reset"
class=
"filter-item"
size=
"mini"
type=
"warning"
icon=
"el-icon-refresh-left"
@
click=
"crud.resetQuery()"
>
重置
</el-button>
</span>
</
template
>
<
script
>
import
{
crud
}
from
'@crud/crud'
export
default
{
mixins
:
[
crud
()],
props
:
{
itemClass
:
{
type
:
String
,
required
:
false
,
default
:
''
}
}
}
</
script
>
eladmin-web/src/views/polling/xxgxsqyz/Crud/UD.operation.vue
deleted
100644 → 0
View file @
9ec58dc4
<
template
>
<div>
<el-button
v-permission=
"permission.edit"
:loading=
"crud.status.cu === 2"
:disabled=
"disabledEdit"
size=
"mini"
type=
"primary"
icon=
"el-icon-chat-line-square"
@
click=
"crud.toEdit(data)"
>
查看详情
</el-button>
<el-popover
v-model=
"pop"
v-permission=
"permission.del"
placement=
"top"
width=
"180"
trigger=
"manual"
@
show=
"onPopoverShow"
@
hide=
"onPopoverHide"
>
<p>
{{
msg
}}
</p>
<div
style=
"text-align: right; margin: 0"
>
<el-button
size=
"mini"
type=
"text"
@
click=
"doCancel"
>
取消
</el-button>
<el-button
:loading=
"crud.dataStatus[crud.getDataId(data)].delete === 2"
type=
"primary"
size=
"mini"
@
click=
"crud.doDelete(data)"
>
确定
</el-button>
</div>
<!-- 删除按钮,此页面只需要查询,所以注释-->
<!--
<el-button
slot=
"reference"
:disabled=
"disabledDle"
type=
"danger"
icon=
"el-icon-delete"
size=
"mini"
@
click=
"toDelete"
/>
-->
</el-popover>
</div>
</
template
>
<
script
>
import
CRUD
,
{
crud
}
from
'@crud/crud'
export
default
{
mixins
:
[
crud
()],
props
:
{
data
:
{
type
:
Object
,
required
:
true
},
permission
:
{
type
:
Object
,
required
:
true
},
disabledEdit
:
{
type
:
Boolean
,
default
:
false
},
disabledDle
:
{
type
:
Boolean
,
default
:
false
},
msg
:
{
type
:
String
,
default
:
'确定删除本条数据吗?'
}
},
data
()
{
return
{
pop
:
false
}
},
methods
:
{
doCancel
()
{
this
.
pop
=
false
this
.
crud
.
cancelDelete
(
this
.
data
)
},
toDelete
()
{
this
.
pop
=
true
},
[
CRUD
.
HOOK
.
afterDelete
](
crud
,
data
)
{
if
(
data
===
this
.
data
)
{
this
.
pop
=
false
}
},
onPopoverShow
()
{
setTimeout
(()
=>
{
document
.
addEventListener
(
'click'
,
this
.
handleDocumentClick
)
},
0
)
},
onPopoverHide
()
{
document
.
removeEventListener
(
'click'
,
this
.
handleDocumentClick
)
},
handleDocumentClick
(
event
)
{
this
.
pop
=
false
}
}
}
</
script
>
eladmin-web/src/views/polling/xxgxsqyz/Crud/crud.js
deleted
100644 → 0
View file @
9ec58dc4
This diff is collapsed.
Click to expand it.
eladmin-web/src/views/polling/xxgxsqyz/index.vue
View file @
078be1b2
...
@@ -12,12 +12,24 @@
...
@@ -12,12 +12,24 @@
</div>
</div>
<!--表单组件-->
<!--表单组件-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-form
ref=
"form"
:model=
"form"
:
disabled=
"crud.status.CHECK"
:
rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -30,8 +42,14 @@
...
@@ -30,8 +42,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -55,84 +73,26 @@
...
@@ -55,84 +73,26 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"
证件类型"
prop=
"zjlx
"
>
<el-form-item
label=
"
返回报文头日期"
prop=
"receivedate
"
>
<el-input
v-model=
"form.
zjlx
"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.
receivedate
"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"
单位地址"
prop=
"xynr
"
>
<el-form-item
label=
"
返回报文头时间"
prop=
"receivetime
"
>
<el-input
v-model=
"form.
dom
"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.
receivetime
"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"
法人代表姓名"
prop=
"name
"
>
<el-form-item
label=
"
返回报文流水号"
prop=
"receiveseqno
"
>
<el-input
v-model=
"form.
name
"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.
receiveseqno
"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"统一社会信用代码"
prop=
"uniscid"
>
<el-input
v-model=
"form.uniscid"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"成立日期"
prop=
"estDate"
>
<el-input
v-model=
"form.estDate"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"注册资本"
prop=
"name"
>
<el-input
v-model=
"form.regCap"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"经营(驻在)期限自"
prop=
"opFrom"
>
<el-input
v-model=
"form.opFrom"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple-light"
>
<el-form-item
label=
"经营(驻在)期限至"
prop=
"opto"
>
<el-input
v-model=
"form.opto"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"登记机关"
prop=
"regOrgCn"
>
<el-input
v-model=
"form.regOrgCn"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</div>
</el-col>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"登记登记状态"
prop=
"regStateCn"
>
<el-input
v-model=
"form.regStateCn"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-col>
<el-col
:span=
"8"
>
<el-form-item
label=
"企业经营范围"
prop=
"opScope"
>
<el-input
v-model=
"form.opScope"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-col>
</el-row>
</el-form>
</el-form>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center"
>
<div
slot=
"footer"
class=
"dialog-footer"
style=
"text-align: center"
>
<el-button
type=
"primary"
size=
"medium"
@
click=
"crud.cancelCU"
>
确认
</el-button>
<el-button
type=
"primary"
size=
"medium"
@
click=
"crud.cancelCU"
>
确认
</el-button>
...
@@ -142,16 +102,16 @@
...
@@ -142,16 +102,16 @@
<el-table
ref=
"table"
v-loading=
"crud.loading"
:data=
"crud.data"
style=
"width: 100%"
@
selection-change=
"crud.selectionChangeHandler"
>
<el-table
ref=
"table"
v-loading=
"crud.loading"
:data=
"crud.data"
style=
"width: 100%"
@
selection-change=
"crud.selectionChangeHandler"
>
<el-table-column
v-if=
"checkPer(['admin','serverDeploy:edit'])"
label=
"操作"
width=
"150px"
align=
"center"
>
<el-table-column
v-if=
"checkPer(['admin','serverDeploy:edit'])"
label=
"操作"
width=
"150px"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<
udOperation
<
Retrieve
:data=
"scope.row"
:data=
"scope.row"
:permission=
"permission"
:permission=
"permission"
/>
/>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
</el-table>
</el-table>
...
@@ -163,19 +123,25 @@
...
@@ -163,19 +123,25 @@
<
script
>
<
script
>
import
{
testServerConnect
}
from
'@/api/mnt/connect'
import
{
testServerConnect
}
from
'@/api/mnt/connect'
import
CRUD
,
{
presenter
,
header
,
form
,
crud
}
from
'./Crud/crud'
import
CRUD
,
{
presenter
,
header
,
form
,
crud
}
from
'@crud/crud'
import
rrOperation
from
'./Crud/RR.operation'
import
rrOperation
from
'@crud/RR.operation'
import
udOperation
from
'./Crud/UD.operation'
import
pagination
from
'@crud/Pagination'
import
pagination
from
'./Crud/Pagination'
import
DateRangePicker
from
'@/components/DateRangePicker'
import
DateRangePicker
from
'@/components/DateRangePicker'
import
crudOperation
from
'./Crud/CRUD.operation'
import
crudOperation
from
'@crud/CRUD.operation'
import
Retrieve
from
'@crud/Retrieve'
const
defaultForm
=
{
id
:
null
,
name
:
null
,
ip
:
null
,
port
:
22
,
account
:
'root'
,
password
:
null
}
const
defaultForm
=
{
id
:
null
,
name
:
null
,
ip
:
null
,
port
:
22
,
account
:
'root'
,
password
:
null
}
export
default
{
export
default
{
name
:
'Xxgxsqyz'
,
name
:
'Xxgxsqyz'
,
components
:
{
pagination
,
rrOperation
,
udOperation
,
DateRangePicker
,
crudOperation
},
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
({
title
:
'信息共享授权验证'
,
url
:
'api/XxgxsqyzController'
,
crudMethod
:
{}})
return
CRUD
({
title
:
'信息共享授权验证'
,
url
:
'api/XxgxsqyzController'
,
crudMethod
:
{},
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
@@ -194,6 +160,37 @@ export default {
...
@@ -194,6 +160,37 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
* @param row 当前行元素
* @returns {string}
*/
zjlxFormat
(
row
)
{
switch
(
row
.
zjlx
)
{
case
'01'
:
return
"身份证"
;
case
'02'
:
return
"军官证"
;
case
'03'
:
return
"护照"
;
case
'04'
:
return
"外国人永久居住证"
;
case
'99'
:
return
"其他"
;
}
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
eladmin-web/src/views/polling/xxsysqlb/index.vue
View file @
078be1b2
...
@@ -12,12 +12,24 @@
...
@@ -12,12 +12,24 @@
</div>
</div>
<!--表单组件-->
<!--表单组件-->
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-dialog
append-to-body
:close-on-click-modal=
"false"
:before-close=
"crud.cancelCU"
:visible
.
sync=
"crud.status.cu > 0"
:title=
"crud.status.title"
width=
"100%"
hight=
"100%"
>
<el-form
ref=
"form"
:model=
"form"
:rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-form
ref=
"form"
:model=
"form"
:
disabled=
"crud.status.CHECK"
:
rules=
"rules"
size=
"small"
label-width=
"130px"
>
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
<el-input
v-model=
"form.zjlx"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -30,8 +42,14 @@
...
@@ -30,8 +42,14 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"状态"
prop=
"status"
>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '0'"
>
<el-input
v-model=
"form.status"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"待发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '1'"
>
<el-input
value=
"已发送"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"状态"
prop=
"status"
v-if=
"form.status == '2'"
>
<el-input
value=
"已接收结果"
style=
"width: 370px"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -92,8 +110,23 @@
...
@@ -92,8 +110,23 @@
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<div
class=
"grid-content bg-purple"
>
<div
class=
"grid-content bg-purple"
>
<el-form-item
label=
"业务类型"
prop=
"YWLX"
>
<el-form-item
label=
"业务类型"
prop=
"YWLX"
v-if=
"form.YWLX == '01'"
>
<el-input
v-model=
"form.YWLX"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"缴存"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"业务类型"
prop=
"YWLX"
v-if=
"form.YWLX == '02'"
>
<el-input
value=
"提取"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"业务类型"
prop=
"YWLX"
v-if=
"form.YWLX == '03'"
>
<el-input
value=
"贷款"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"业务类型"
prop=
"YWLX"
v-if=
"form.YWLX == '04'"
>
<el-input
value=
"开户"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"业务类型"
prop=
"YWLX"
v-if=
"form.YWLX == '05'"
>
<el-input
value=
"销户"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"业务类型"
prop=
"YWLX"
v-if=
"form.YWLX == '99'"
>
<el-input
value=
"其他"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</div>
</div>
</el-col>
</el-col>
...
@@ -105,8 +138,26 @@
...
@@ -105,8 +138,26 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
v-if=
"form.SQZT == '00'"
>
<el-input
v-model=
"form.SQZT"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
value=
"中心提交授权申请,待客户确认"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
v-if=
"form.SQZT == '01'"
>
<el-input
value=
"客户已确认授权,业务待办理"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
v-if=
"form.SQZT == '02'"
>
<el-input
value=
"客户拒绝授权"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
v-if=
"form.SQZT == '03'"
>
<el-input
value=
"客户已主动授权,业务待办理"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
v-if=
"form.SQZT == '04'"
>
<el-input
value=
"客户取消授权申请"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
v-if=
"form.SQZT == '05'"
>
<el-input
value=
"业务已办理-授权失效"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
<el-form-item
label=
"授权状态"
prop=
"SQZT"
v-if=
"form.SQZT == '06'"
>
<el-input
value=
"授权已过期-授权失效"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
...
@@ -118,13 +169,27 @@
...
@@ -118,13 +169,27 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"授权办理日期"
prop=
"SQBLRQ"
>
<el-form-item
label=
"授权办理日期"
prop=
"SQBLRQ"
>
<el-input
v-model=
"form.SQBLRQ"
type=
"textarea"
style=
"width: 370px"
:disabled=
"true"
/>
<el-input
v-model=
"form.SQBLRQ"
style=
"width: 370px"
:disabled=
"true"
/>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
<el-col
:span=
"8"
>
<el-col
:span=
"8"
>
<el-form-item
label=
"证件类型"
prop=
"ZJLX"
>
<div
class=
"grid-content bg-purple"
>
<el-input
v-model=
"form.ZJLX"
style=
"width: 370px"
:disabled=
"true"
/>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='01'"
>
</el-form-item>
<el-input
value =
"身份证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='02'"
>
<el-input
value =
"军官证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='03'"
>
<el-input
value =
"护照"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='04'"
>
<el-input
value =
"外国人永久居留证"
style=
"width: 370px"
/>
</el-form-item>
<el-form-item
label=
"证件类型"
prop=
"zjlx"
v-if=
"form.zjlx =='99'"
>
<el-input
value =
"其他"
style=
"width: 370px"
/>
</el-form-item>
</div>
</el-col>
</el-col>
</el-row>
</el-row>
</el-form>
</el-form>
...
@@ -144,9 +209,9 @@
...
@@ -144,9 +209,9 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<!-- <el-table-column type="selection" width="55" />-->
<!-- <el-table-column type="selection" width="55" />-->
<el-table-column
prop=
"zjlx"
label=
"证件类型"
/>
<el-table-column
prop=
"zjlx"
label=
"证件类型"
:formatter=
"zjlxFormat"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"zjhm"
label=
"证件号码"
/>
<el-table-column
prop=
"status"
label=
"状态"
/>
<el-table-column
prop=
"status"
label=
"状态"
:formatter=
"statusFormat"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"xingming"
label=
"姓名"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
<el-table-column
prop=
"crrq"
label=
"插入日期"
/>
</el-table>
</el-table>
...
@@ -170,7 +235,13 @@ export default {
...
@@ -170,7 +235,13 @@ export default {
name
:
'Xxsysqlb'
,
name
:
'Xxsysqlb'
,
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
components
:
{
Retrieve
,
pagination
,
rrOperation
,
DateRangePicker
,
crudOperation
},
cruds
()
{
cruds
()
{
return
CRUD
({
title
:
'信息使用授权列表'
,
url
:
'api/XxsysqlbController'
,
crudMethod
:
{}})
return
CRUD
({
title
:
'信息使用授权列表'
,
url
:
'api/XxsysqlbController'
,
crudMethod
:
{},
optShow
:
{
add
:
false
,
edit
:
false
,
del
:
false
,
download
:
false
,
reset
:
true
}})
},
},
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
mixins
:
[
presenter
(),
header
(),
form
(
defaultForm
),
crud
()],
data
()
{
data
()
{
...
@@ -193,6 +264,36 @@ export default {
...
@@ -193,6 +264,36 @@ export default {
}
}
},
},
methods
:
{
methods
:
{
/**
* @param row 当前行元素
* @returns {string}
*/
zjlxFormat
(
row
)
{
switch
(
row
.
zjlx
)
{
case
'01'
:
return
"身份证"
;
case
'02'
:
return
"军官证"
;
case
'03'
:
return
"护照"
;
case
'04'
:
return
"外国人永久居住证"
;
case
'99'
:
return
"其他"
;
}
},
statusFormat
(
row
)
{
switch
(
row
.
status
)
{
case
'0'
:
return
"待发送"
;
case
'1'
:
return
"已发送"
;
case
'2'
:
return
"已接收结果"
;
}
},
testConnectServer
()
{
testConnectServer
()
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
this
.
$refs
[
'form'
].
validate
((
valid
)
=>
{
if
(
valid
)
{
if
(
valid
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment