Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
25 changed files
with
228 additions
and
236 deletions
... | @@ -30,7 +30,7 @@ | ... | @@ -30,7 +30,7 @@ |
30 | "babel-plugin-dynamic-import-node": "2.3.3", | 30 | "babel-plugin-dynamic-import-node": "2.3.3", |
31 | "chalk": "2.4.2", | 31 | "chalk": "2.4.2", |
32 | "connect": "3.6.6", | 32 | "connect": "3.6.6", |
33 | "element-ui": "^2.15.6", | 33 | "element-ui": "^2.15.8", |
34 | "html-webpack-plugin": "3.2.0", | 34 | "html-webpack-plugin": "3.2.0", |
35 | "runjs": "4.3.2", | 35 | "runjs": "4.3.2", |
36 | "sass-loader": "8.0.2", | 36 | "sass-loader": "8.0.2", | ... | ... |
... | @@ -45,4 +45,15 @@ export function logoutReg (data) { | ... | @@ -45,4 +45,15 @@ export function logoutReg (data) { |
45 | method: 'post', | 45 | method: 'post', |
46 | data | 46 | data |
47 | }) | 47 | }) |
48 | } | ||
49 | // 流程图 | ||
50 | export function getWorkFlowImage (bsmSlsq) { | ||
51 | return request({ | ||
52 | url: '/business/workFlow/getWorkFlowImage', | ||
53 | method: 'get', | ||
54 | responseType: 'blob', | ||
55 | params: { | ||
56 | bsmSlsq: bsmSlsq | ||
57 | } | ||
58 | }) | ||
48 | } | 59 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -16,7 +16,8 @@ export function getZsglrkList (data) { | ... | @@ -16,7 +16,8 @@ export function getZsglrkList (data) { |
16 | return request({ | 16 | return request({ |
17 | url: '/sys/zsgl/getZsglrkList', | 17 | url: '/sys/zsgl/getZsglrkList', |
18 | method: 'post', | 18 | method: 'post', |
19 | data | 19 | data, |
20 | showLoading: true | ||
20 | }) | 21 | }) |
21 | } | 22 | } |
22 | /* | 23 | /* |
... | @@ -26,7 +27,9 @@ export function zsrk (data) { | ... | @@ -26,7 +27,9 @@ export function zsrk (data) { |
26 | return request({ | 27 | return request({ |
27 | url: '/sys/zsgl/zsrk', | 28 | url: '/sys/zsgl/zsrk', |
28 | method: 'post', | 29 | method: 'post', |
29 | data | 30 | data, |
31 | showLoading: true, | ||
32 | loadingTarget: '正在保存中...' | ||
30 | }) | 33 | }) |
31 | } | 34 | } |
32 | /* | 35 | /* |
... | @@ -56,7 +59,8 @@ export function getZsglffList (data) { | ... | @@ -56,7 +59,8 @@ export function getZsglffList (data) { |
56 | return request({ | 59 | return request({ |
57 | url: '/sys/zsgl/getZsglffList', | 60 | url: '/sys/zsgl/getZsglffList', |
58 | method: 'post', | 61 | method: 'post', |
59 | data | 62 | data, |
63 | showLoading: true | ||
60 | }) | 64 | }) |
61 | } | 65 | } |
62 | /* | 66 | /* |
... | @@ -85,7 +89,9 @@ export function zsff (data) { | ... | @@ -85,7 +89,9 @@ export function zsff (data) { |
85 | return request({ | 89 | return request({ |
86 | url: '/sys/zsgl/zsff', | 90 | url: '/sys/zsgl/zsff', |
87 | method: 'post', | 91 | method: 'post', |
88 | data | 92 | data, |
93 | showLoading: true, | ||
94 | loadingTarget: '正在保存中...' | ||
89 | }) | 95 | }) |
90 | } | 96 | } |
91 | /* | 97 | /* |
... | @@ -105,6 +111,17 @@ export function getZssyqkList (data) { | ... | @@ -105,6 +111,17 @@ export function getZssyqkList (data) { |
105 | return request({ | 111 | return request({ |
106 | url: '/sys/zsgl/getZssyqkList', | 112 | url: '/sys/zsgl/getZssyqkList', |
107 | method: 'post', | 113 | method: 'post', |
108 | data | 114 | data, |
115 | showLoading: true | ||
116 | }) | ||
117 | } | ||
118 | /* | ||
119 | 证书管理-证书使用情况详情 | ||
120 | */ | ||
121 | export function getZssyqkInfo (params) { | ||
122 | return request({ | ||
123 | url: '/sys/zsgl/getZssyqkInfo', | ||
124 | method: 'get', | ||
125 | params | ||
109 | }) | 126 | }) |
110 | } | 127 | } |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | 2 | ||
3 | @mixin colorBtn($color) { | 3 | @mixin colorBtn($color) { |
4 | background: $color; | 4 | background: $color; |
5 | color:#fff; | 5 | color: #fff; |
6 | 6 | ||
7 | &:hover { | 7 | &:hover { |
8 | color: #fff; | 8 | color: #fff; |
... | @@ -99,15 +99,9 @@ | ... | @@ -99,15 +99,9 @@ |
99 | font-size: 14px; | 99 | font-size: 14px; |
100 | border-radius: 4px; | 100 | border-radius: 4px; |
101 | } | 101 | } |
102 | |||
102 | // 搜索框按钮的位置 | 103 | // 搜索框按钮的位置 |
103 | .btnCol{ | 104 | .btnCol { |
104 | box-sizing: border-box; | 105 | box-sizing: border-box; |
105 | text-align: right; | 106 | text-align: right; |
106 | } | 107 | } |
107 | |||
108 | // 默认白色按钮样式 | ||
109 | .el-button--default{ | ||
110 | background: #FBFCFD; | ||
111 | border: 1px solid #E4EBF4; | ||
112 | border-radius: 4px; | ||
113 | } | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2,11 +2,11 @@ | ... | @@ -2,11 +2,11 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="80px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="业务来源"> | 8 | <el-form-item label="业务来源"> |
9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> | 9 | <el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源"> |
10 | <el-option v-for="item in dictData['ywly']" :key="item.value" :label="item.label" :value="item.value"> | 10 | <el-option v-for="item in dictData['ywly']" :key="item.value" :label="item.label" :value="item.value"> |
11 | </el-option> | 11 | </el-option> |
12 | </el-select> | 12 | </el-select> |
... | @@ -14,16 +14,16 @@ | ... | @@ -14,16 +14,16 @@ |
14 | </el-col> | 14 | </el-col> |
15 | <el-col :span="5"> | 15 | <el-col :span="5"> |
16 | <el-form-item label="权利类型"> | 16 | <el-form-item label="权利类型"> |
17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 17 | <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> |
18 | <el-option v-for="item in dictData['A8']" :key="item.value" :label="item.label" :value="item.value"> | 18 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
19 | </el-option> | 19 | </el-option> |
20 | </el-select> | 20 | </el-select> |
21 | </el-form-item> | 21 | </el-form-item> |
22 | </el-col> | 22 | </el-col> |
23 | <el-col :span="5"> | 23 | <el-col :span="5"> |
24 | <el-form-item label="登记类型"> | 24 | <el-form-item label="登记类型"> |
25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> | 25 | <el-select v-model="queryForm.djlx" filterable class="width100" clearable placeholder="请选择登记类型"> |
26 | <el-option v-for="item in dictData['A21']" :key="item.value" :label="item.label" :value="item.value"> | 26 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
27 | </el-option> | 27 | </el-option> |
28 | </el-select> | 28 | </el-select> |
29 | </el-form-item> | 29 | </el-form-item> | ... | ... |
... | @@ -2,62 +2,37 @@ | ... | @@ -2,62 +2,37 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="80px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="查询编号"> | 8 | <el-form-item label="查询编号"> |
9 | <el-input | 9 | <el-input placeholder="请输入编号" v-model="queryForm.cxbh" clearable> |
10 | placeholder="请输入编号" | ||
11 | v-model="queryForm.cxbh" | ||
12 | clearable | ||
13 | > | ||
14 | </el-input> | 10 | </el-input> |
15 | </el-form-item> | 11 | </el-form-item> |
16 | </el-col> | 12 | </el-col> |
17 | <el-col :span="5"> | 13 | <el-col :span="5"> |
18 | <el-form-item label="申请人"> | 14 | <el-form-item label="申请人"> |
19 | <el-input | 15 | <el-input placeholder="请输入申请人" v-model="queryForm.sqr" clearable> |
20 | placeholder="请输入申请人" | ||
21 | v-model="queryForm.sqr" | ||
22 | clearable | ||
23 | > | ||
24 | </el-input> | 16 | </el-input> |
25 | </el-form-item> | 17 | </el-form-item> |
26 | </el-col> | 18 | </el-col> |
27 | <el-col :span="5"> | 19 | <el-col :span="5"> |
28 | <el-form-item label="查询用途"> | 20 | <el-form-item label="查询用途"> |
29 | <el-select | 21 | <el-select v-model="queryForm.cxyt" class="width100" filterable clearable placeholder="请选择用途"> |
30 | v-model="queryForm.cxyt" | 22 | <el-option v-for="item in cxytOption" :key="item.value" :label="item.label" :value="item.value"> |
31 | filterable | ||
32 | clearable | ||
33 | placeholder="请选择用途" | ||
34 | > | ||
35 | <el-option | ||
36 | v-for="item in cxytOption" | ||
37 | :key="item.value" | ||
38 | :label="item.label" | ||
39 | :value="item.value" | ||
40 | > | ||
41 | </el-option> | 23 | </el-option> |
42 | </el-select> | 24 | </el-select> |
43 | </el-form-item> | 25 | </el-form-item> |
44 | </el-col> | 26 | </el-col> |
45 | <el-col :span="5"> | 27 | <el-col :span="5"> |
46 | <el-form-item label="业务号"> | 28 | <el-form-item label="业务号"> |
47 | <el-input | 29 | <el-input placeholder="请输入业务号" v-model="queryForm.ywh" clearable class="width200px"> |
48 | placeholder="请输入业务号" | ||
49 | v-model="queryForm.ywh" | ||
50 | clearable | ||
51 | class="width200px" | ||
52 | > | ||
53 | </el-input> | 30 | </el-input> |
54 | </el-form-item> | 31 | </el-form-item> |
55 | </el-col> | 32 | </el-col> |
56 | <el-col :span="4" class="btnCol"> | 33 | <el-col :span="4" class="btnCol"> |
57 | <el-form-item> | 34 | <el-form-item> |
58 | <el-button type="primary" icon="el-icon-search" @click="fetchData" | 35 | <el-button type="primary" icon="el-icon-search" @click="fetchData">查询</el-button> |
59 | >查询</el-button | ||
60 | > | ||
61 | <el-button @click="moreQueryClick()">高级查询</el-button> | 36 | <el-button @click="moreQueryClick()">高级查询</el-button> |
62 | </el-form-item> | 37 | </el-form-item> |
63 | </el-col> | 38 | </el-col> |
... | @@ -66,16 +41,9 @@ | ... | @@ -66,16 +41,9 @@ |
66 | </div> | 41 | </div> |
67 | <!-- 表格 --> | 42 | <!-- 表格 --> |
68 | <div class="from-clues-content"> | 43 | <div class="from-clues-content"> |
69 | <lb-table | 44 | <lb-table :page-size="pageData.size" border :current-page.sync="pageData.current" :total="tableData.total" |
70 | :page-size="pageData.size" | 45 | @size-change="handleSizeChange" @p-current-change="handleCurrentChange" :column="tableData.columns" |
71 | border | 46 | :data="tableData.data"> |
72 | :current-page.sync="pageData.current" | ||
73 | :total="tableData.total" | ||
74 | @size-change="handleSizeChange" | ||
75 | @p-current-change="handleCurrentChange" | ||
76 | :column="tableData.columns" | ||
77 | :data="tableData.data" | ||
78 | > | ||
79 | </lb-table> | 47 | </lb-table> |
80 | </div> | 48 | </div> |
81 | </div> | 49 | </div> |
... | @@ -88,10 +56,10 @@ export default { | ... | @@ -88,10 +56,10 @@ export default { |
88 | name: "jtfc", | 56 | name: "jtfc", |
89 | components: {}, | 57 | components: {}, |
90 | mixins: [table], | 58 | mixins: [table], |
91 | mounted() { | 59 | mounted () { |
92 | sendThis(this); | 60 | sendThis(this); |
93 | }, | 61 | }, |
94 | data() { | 62 | data () { |
95 | return { | 63 | return { |
96 | sqrOption: [], | 64 | sqrOption: [], |
97 | cxytOption: [], | 65 | cxytOption: [], |
... | @@ -121,14 +89,14 @@ export default { | ... | @@ -121,14 +89,14 @@ export default { |
121 | }, | 89 | }, |
122 | methods: { | 90 | methods: { |
123 | // 初始化数据 | 91 | // 初始化数据 |
124 | fetchData() { | 92 | fetchData () { |
125 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { | 93 | getJtfcPage({ ...this.queryForm, ...this.pageData }).then((res) => { |
126 | let { records, total } = res.result; | 94 | let { records, total } = res.result; |
127 | // this.tableData.data = records | 95 | // this.tableData.data = records |
128 | this.tableData.total = total; | 96 | this.tableData.total = total; |
129 | }); | 97 | }); |
130 | }, | 98 | }, |
131 | handleSort(name, sort) { | 99 | handleSort (name, sort) { |
132 | console.log(name, sort); | 100 | console.log(name, sort); |
133 | }, | 101 | }, |
134 | }, | 102 | }, | ... | ... |
... | @@ -2,7 +2,7 @@ | ... | @@ -2,7 +2,7 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="80px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="查询编号"> | 8 | <el-form-item label="查询编号"> |
... | @@ -18,7 +18,7 @@ | ... | @@ -18,7 +18,7 @@ |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="5"> | 19 | <el-col :span="5"> |
20 | <el-form-item label="查询用途"> | 20 | <el-form-item label="查询用途"> |
21 | <el-select v-model="queryForm.cxyt" filterable clearable placeholder="请选择用途"> | 21 | <el-select v-model="queryForm.cxyt" class="width100" filterable clearable placeholder="请选择用途"> |
22 | <el-option v-for="item in cxytOption" :key="item.value" :label="item.label" :value="item.value"> | 22 | <el-option v-for="item in cxytOption" :key="item.value" :label="item.label" :value="item.value"> |
23 | </el-option> | 23 | </el-option> |
24 | </el-select> | 24 | </el-select> | ... | ... |
... | @@ -2,11 +2,11 @@ | ... | @@ -2,11 +2,11 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="80px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="业务来源"> | 8 | <el-form-item label="业务来源"> |
9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> | 9 | <el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源"> |
10 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 10 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
11 | </el-option> | 11 | </el-option> |
12 | </el-select> | 12 | </el-select> |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | </el-col> | 14 | </el-col> |
15 | <el-col :span="5"> | 15 | <el-col :span="5"> |
16 | <el-form-item label="权利类型"> | 16 | <el-form-item label="权利类型"> |
17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 17 | <el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型"> |
18 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 18 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
19 | </el-option> | 19 | </el-option> |
20 | </el-select> | 20 | </el-select> |
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
22 | </el-col> | 22 | </el-col> |
23 | <el-col :span="5"> | 23 | <el-col :span="5"> |
24 | <el-form-item label="登记类型"> | 24 | <el-form-item label="登记类型"> |
25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> | 25 | <el-select v-model="queryForm.djlx" class="width100" filterable clearable placeholder="请选择登记类型"> |
26 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 26 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
27 | </el-option> | 27 | </el-option> |
28 | </el-select> | 28 | </el-select> |
... | @@ -150,12 +150,11 @@ export default { | ... | @@ -150,12 +150,11 @@ export default { |
150 | }); | 150 | }); |
151 | }, | 151 | }, |
152 | ywhClick (item) { | 152 | ywhClick (item) { |
153 | //const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); | ||
154 | const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); | 153 | const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); |
155 | window.open(href, '_blank'); | 154 | window.open(href, '_blank'); |
156 | }, | 155 | } |
157 | }, | 156 | } |
158 | }; | 157 | } |
159 | </script> | 158 | </script> |
160 | <style scoped lang="scss"> | 159 | <style scoped lang="scss"> |
161 | @import "~@/styles/public.scss"; | 160 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -99,20 +99,9 @@ class data extends filter { | ... | @@ -99,20 +99,9 @@ class data extends filter { |
99 | </div> | 99 | </div> |
100 | ) | 100 | ) |
101 | } | 101 | } |
102 | }, | ||
103 | { | ||
104 | label: '操作', | ||
105 | width: '80', | ||
106 | align: 'center', | ||
107 | fixed: 'right', | ||
108 | render: (h, scope) => { | ||
109 | return <el-button type="text" icon="el-icon-delete" onClick={() => { vm.del(scope.row) }}>删除</el-button> | ||
110 | } | ||
111 | } | 102 | } |
112 | ] | 103 | ] |
113 | } | 104 | } |
114 | |||
115 | |||
116 | } | 105 | } |
117 | let datas = new data() | 106 | let datas = new data() |
118 | export { | 107 | export { | ... | ... |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | </div> | 63 | </div> |
64 | </template> | 64 | </template> |
65 | <script> | 65 | <script> |
66 | import zsylDialog from "./zsyl"; | 66 | import zsylDialog from "./zsyl.vue"; |
67 | import { getBdcqzList, invalidCertificate } from "@/api/fqsq.js"; | 67 | import { getBdcqzList, invalidCertificate } from "@/api/fqsq.js"; |
68 | 68 | ||
69 | export default { | 69 | export default { | ... | ... |
... | @@ -56,6 +56,9 @@ | ... | @@ -56,6 +56,9 @@ |
56 | </div> | 56 | </div> |
57 | </div> | 57 | </div> |
58 | </div> | 58 | </div> |
59 | <dialogBox title="流程图" width="70%" isMain v-model="myValue" :isFullscreen="false" :isButton="false"> | ||
60 | <img :src="imgSrc" style="margin: 20px 0" /> | ||
61 | </dialogBox> | ||
59 | </div> | 62 | </div> |
60 | </template> | 63 | </template> |
61 | 64 | ||
... | @@ -72,10 +75,14 @@ import { | ... | @@ -72,10 +75,14 @@ import { |
72 | getNextLinkInfo, | 75 | getNextLinkInfo, |
73 | completeTask, | 76 | completeTask, |
74 | } from "@/api/fqsq.js"; | 77 | } from "@/api/fqsq.js"; |
78 | import { getWorkFlowImage } from "@/api/jsydsyqFlow.js" | ||
75 | import { getForm } from "./flowform.js"; | 79 | import { getForm } from "./flowform.js"; |
76 | export default { | 80 | export default { |
77 | data () { | 81 | data () { |
78 | return { | 82 | return { |
83 | // 流程图 | ||
84 | imgSrc: '', | ||
85 | myValue: false, | ||
79 | // 折叠 | 86 | // 折叠 |
80 | isShowdrawer: true, | 87 | isShowdrawer: true, |
81 | // 默认选中 | 88 | // 默认选中 |
... | @@ -144,6 +151,12 @@ export default { | ... | @@ -144,6 +151,12 @@ export default { |
144 | operation (index, item) { | 151 | operation (index, item) { |
145 | let that = this; | 152 | let that = this; |
146 | switch (item.value) { | 153 | switch (item.value) { |
154 | case "B1": | ||
155 | getWorkFlowImage(this.bsmSlsq).then(res => { | ||
156 | this.imgSrc = URL.createObjectURL(res) | ||
157 | this.myValue = true | ||
158 | }) | ||
159 | break; | ||
147 | case "zsyl": | 160 | case "zsyl": |
148 | this.zsylFlag = true; | 161 | this.zsylFlag = true; |
149 | break; | 162 | break; |
... | @@ -173,7 +186,6 @@ export default { | ... | @@ -173,7 +186,6 @@ export default { |
173 | } | 186 | } |
174 | }); | 187 | }); |
175 | // this.$alert(res.result); | 188 | // this.$alert(res.result); |
176 | |||
177 | break; | 189 | break; |
178 | case "tc": | 190 | case "tc": |
179 | window.close(); | 191 | window.close(); |
... | @@ -239,8 +251,6 @@ export default { | ... | @@ -239,8 +251,6 @@ export default { |
239 | h("i", { style: "color: teal" }, obj.usernames.join(",")), | 251 | h("i", { style: "color: teal" }, obj.usernames.join(",")), |
240 | ]), | 252 | ]), |
241 | showCancelButton: true, | 253 | showCancelButton: true, |
242 | confirmButtonText: "确定", | ||
243 | cancelButtonText: "取消", | ||
244 | beforeClose: (action, instance, done) => { | 254 | beforeClose: (action, instance, done) => { |
245 | if (action === "confirm") { | 255 | if (action === "confirm") { |
246 | instance.confirmButtonLoading = true; | 256 | instance.confirmButtonLoading = true; |
... | @@ -267,10 +277,10 @@ export default { | ... | @@ -267,10 +277,10 @@ export default { |
267 | }).then((action) => { | 277 | }).then((action) => { |
268 | this.$message({ | 278 | this.$message({ |
269 | type: "info", | 279 | type: "info", |
270 | message: "action: " + action, | 280 | message: "action: " + action |
271 | }); | 281 | }) |
272 | }); | 282 | }) |
273 | }, | 283 | } |
274 | }, | 284 | } |
275 | }; | 285 | } |
276 | </script> | 286 | </script> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -2,11 +2,11 @@ | ... | @@ -2,11 +2,11 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm" label-width="70px"> | 5 | <el-form :model="queryForm" ref="queryForm" label-width="80px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="业务来源"> | 8 | <el-form-item label="业务来源"> |
9 | <el-select v-model="queryForm.ywly" filterable clearable placeholder="请选择业务来源"> | 9 | <el-select v-model="queryForm.ywly" class="width100" filterable clearable placeholder="请选择业务来源"> |
10 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 10 | <el-option v-for="item in dictData['ywly']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
11 | </el-option> | 11 | </el-option> |
12 | </el-select> | 12 | </el-select> |
... | @@ -14,7 +14,7 @@ | ... | @@ -14,7 +14,7 @@ |
14 | </el-col> | 14 | </el-col> |
15 | <el-col :span="5"> | 15 | <el-col :span="5"> |
16 | <el-form-item label="权利类型"> | 16 | <el-form-item label="权利类型"> |
17 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 17 | <el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型"> |
18 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 18 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
19 | </el-option> | 19 | </el-option> |
20 | </el-select> | 20 | </el-select> |
... | @@ -22,7 +22,7 @@ | ... | @@ -22,7 +22,7 @@ |
22 | </el-col> | 22 | </el-col> |
23 | <el-col :span="5"> | 23 | <el-col :span="5"> |
24 | <el-form-item label="登记类型"> | 24 | <el-form-item label="登记类型"> |
25 | <el-select v-model="queryForm.djlx" filterable clearable placeholder="请选择登记类型"> | 25 | <el-select v-model="queryForm.djlx" class="width100" filterable clearable placeholder="请选择登记类型"> |
26 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 26 | <el-option v-for="item in dictData['A21']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
27 | </el-option> | 27 | </el-option> |
28 | </el-select> | 28 | </el-select> |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | import { mapGetters } from 'vuex' | 57 | import { mapGetters } from 'vuex' |
58 | import table from "@/utils/mixin/table"; | 58 | import table from "@/utils/mixin/table"; |
59 | import { datas, sendThis } from "./ybxdata"; | 59 | import { datas, sendThis } from "./ybxdata"; |
60 | import { searchTaskDone} from "@/api/ywbl.js" | 60 | import { searchTaskDone } from "@/api/ywbl.js" |
61 | export default { | 61 | export default { |
62 | name: "ybx", | 62 | name: "ybx", |
63 | components: {}, | 63 | components: {}, |
... | @@ -101,18 +101,18 @@ export default { | ... | @@ -101,18 +101,18 @@ export default { |
101 | this.tableData.data = records | 101 | this.tableData.data = records |
102 | } | 102 | } |
103 | }) | 103 | }) |
104 | }, | 104 | }, |
105 | queryClick () { | 105 | queryClick () { |
106 | this.fetchData() | 106 | this.fetchData() |
107 | }, | 107 | }, |
108 | handleSort (name, sort) { | 108 | handleSort (name, sort) { |
109 | console.log(name, sort); | 109 | console.log(name, sort); |
110 | }, | 110 | }, |
111 | openDialog (item) { | 111 | ywhClick (item) { |
112 | const { href } = this.$router.resolve('/fqsq?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=2') | 112 | const { href } = this.$router.resolve('/workFrame?bsmSlsq=' + item.bsmSlsq + '&bestepid=' + item.bestepid + '&bsmBusiness=' + '&viewtype=1'); |
113 | window.open(href, '_blank'); | 113 | window.open(href, '_blank'); |
114 | }, | 114 | } |
115 | }, | 115 | } |
116 | }; | 116 | }; |
117 | </script> | 117 | </script> |
118 | <style scoped lang="scss"> | 118 | <style scoped lang="scss"> | ... | ... |
... | @@ -35,11 +35,7 @@ class data extends filter { | ... | @@ -35,11 +35,7 @@ class data extends filter { |
35 | { | 35 | { |
36 | label: "业务号", | 36 | label: "业务号", |
37 | render: (h, scope) => { | 37 | render: (h, scope) => { |
38 | return ( | 38 | return <el-button type="text" onClick={() => { vm.ywhClick(scope.row) }}>{scope.row.ywh}</el-button> |
39 | <div> | ||
40 | <el-link type="primary" onClick={() => { vm.openDialog(scope.row) }}>{scope.row.ywh}</el-link> | ||
41 | </div> | ||
42 | ) | ||
43 | } | 39 | } |
44 | }, | 40 | }, |
45 | { | 41 | { |
... | @@ -79,15 +75,6 @@ class data extends filter { | ... | @@ -79,15 +75,6 @@ class data extends filter { |
79 | </div> | 75 | </div> |
80 | ) | 76 | ) |
81 | } | 77 | } |
82 | }, | ||
83 | { | ||
84 | label: '操作', | ||
85 | width: '80', | ||
86 | align: 'center', | ||
87 | fixed: 'right', | ||
88 | render: (h, scope) => { | ||
89 | return <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.openDialog(scope) }}>编辑</el-button> | ||
90 | } | ||
91 | } | 78 | } |
92 | ] | 79 | ] |
93 | } | 80 | } | ... | ... |
1 | <template> | 1 | <template> |
2 | <dialogBox title="证书使用情况" @closeDialog="closeDialog" v-model="myValue" :isButton="false"> | 2 | <dialogBox title="证书使用情况" @closeDialog="closeDialog" @submitForm="submitForm" v-model="myValue" :isButton="false"> |
3 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> | 3 | <el-form :model="ruleForm" ref="ruleForm" label-width="100px"> |
4 | <div class="title-name"> | 4 | <div class="title-name"> |
5 | 入库情况 | 5 | 入库情况 |
... | @@ -113,6 +113,7 @@ | ... | @@ -113,6 +113,7 @@ |
113 | </template> | 113 | </template> |
114 | 114 | ||
115 | <script> | 115 | <script> |
116 | import { getZssyqkInfo} from "@/api/zsgl.js" | ||
116 | export default { | 117 | export default { |
117 | props: { | 118 | props: { |
118 | value: { type: Boolean, default: false }, | 119 | value: { type: Boolean, default: false }, |
... | @@ -120,23 +121,7 @@ export default { | ... | @@ -120,23 +121,7 @@ export default { |
120 | data () { | 121 | data () { |
121 | return { | 122 | return { |
122 | myValue: this.value, | 123 | myValue: this.value, |
123 | ruleForm: { | 124 | ruleForm: {} |
124 | rkbh: '', | ||
125 | rksj: '', | ||
126 | rkry: '', | ||
127 | djjg: '', | ||
128 | bz: '', | ||
129 | ffbh: '', | ||
130 | lqsj: '', | ||
131 | // 证书信息 | ||
132 | bdcqzh: '', | ||
133 | ywh: '', | ||
134 | bdcdyh: '', | ||
135 | zslx: '', | ||
136 | ysxlh: '', | ||
137 | sfzf: '', | ||
138 | zfyy: '' | ||
139 | } | ||
140 | } | 125 | } |
141 | }, | 126 | }, |
142 | watch: { | 127 | watch: { |
... | @@ -145,11 +130,21 @@ export default { | ... | @@ -145,11 +130,21 @@ export default { |
145 | }, | 130 | }, |
146 | }, | 131 | }, |
147 | methods: { | 132 | methods: { |
133 | getDetail (bsmZswj) { | ||
134 | getZssyqkInfo({"bsmZswj":bsmZswj}).then(res => { | ||
135 | if(res.code == 200){ | ||
136 | this.ruleForm = res.result | ||
137 | } | ||
138 | }) | ||
139 | }, | ||
140 | submitForm () { | ||
141 | }, | ||
148 | closeDialog () { | 142 | closeDialog () { |
149 | this.$emit('input', false) | 143 | this.$emit('input', false) |
144 | this.$refs['ruleForm'].resetFields() | ||
150 | } | 145 | } |
151 | }, | 146 | } |
152 | }; | 147 | } |
153 | </script> | 148 | </script> |
154 | <style scoped lang="scss"> | 149 | <style scoped lang="scss"> |
155 | @import "~@/styles/mixin.scss"; | 150 | @import "~@/styles/mixin.scss"; | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -2,17 +2,17 @@ | ... | @@ -2,17 +2,17 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="ruleForm" label-width="70px"> | 5 | <el-form :model="ruleForm" label-width="80px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="分发编号"> | 8 | <el-form-item label="分发编号"> |
9 | <el-input v-model="approveForm.batchno" clearable placeholder="分发编号"></el-input> | 9 | <el-input v-model="approveForm.batchno" clearable placeholder="分发编号"></el-input> |
10 | </el-form-item> | 10 | </el-form-item> |
11 | </el-col> | 11 | </el-col> |
12 | <el-col :span="8"> | 12 | <el-col :span="8"> |
13 | <el-form-item label="领取时间"> | 13 | <el-form-item label="领取时间"> |
14 | <el-date-picker v-model="ruleForm.ffsj" type="daterange" range-separator="至" start-placeholder="开始日期" | 14 | <el-date-picker v-model="ruleForm.ffsj" type="daterange" range-separator="至" start-placeholder="开始日期" |
15 | end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable > | 15 | end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable> |
16 | </el-date-picker> | 16 | </el-date-picker> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
... | @@ -32,23 +32,26 @@ | ... | @@ -32,23 +32,26 @@ |
32 | :data="tableData.data"> | 32 | :data="tableData.data"> |
33 | </lb-table> | 33 | </lb-table> |
34 | </div> | 34 | </div> |
35 | <addDialog ref="addDialog" v-model="isDialog"/> | 35 | <addDialog ref="addDialog" v-model="isDialog" /> |
36 | <viewDialog v-model="viewDialog" /> | ||
36 | </div> | 37 | </div> |
37 | </template> | 38 | </template> |
38 | <script> | 39 | <script> |
39 | import table from "@/utils/mixin/table"; | 40 | import table from "@/utils/mixin/table"; |
40 | import { datas, sendThis } from "./zsffdata"; | 41 | import { datas, sendThis } from "./zsffdata"; |
41 | import { getZsglffList,removeZsgl,confirmZsff} from "@/api/zsgl.js" | 42 | import viewDialog from "../components/viewDialog.vue"; |
43 | import { getZsglffList, removeZsgl, confirmZsff } from "@/api/zsgl.js" | ||
42 | import addDialog from "./components/addDialog.vue" | 44 | import addDialog from "./components/addDialog.vue" |
43 | export default { | 45 | export default { |
44 | name: "zsff", | 46 | name: "zsff", |
45 | components: {addDialog}, | 47 | components: { addDialog, viewDialog }, |
46 | mixins: [table], | 48 | mixins: [table], |
47 | mounted () { | 49 | mounted () { |
48 | sendThis(this); | 50 | sendThis(this); |
49 | }, | 51 | }, |
50 | data () { | 52 | data () { |
51 | return { | 53 | return { |
54 | viewDialog: false, | ||
52 | isDialog: false, | 55 | isDialog: false, |
53 | value: '', | 56 | value: '', |
54 | ruleForm: { | 57 | ruleForm: { |
... | @@ -82,8 +85,8 @@ export default { | ... | @@ -82,8 +85,8 @@ export default { |
82 | }) | 85 | }) |
83 | }, | 86 | }, |
84 | openDialog () { | 87 | openDialog () { |
85 | this.isDialog = true; | 88 | this.isDialog = true; |
86 | this.$nextTick(()=> { | 89 | this.$nextTick(() => { |
87 | this.$refs.addDialog.ywhSerial(); | 90 | this.$refs.addDialog.ywhSerial(); |
88 | this.$refs.addDialog.initStartNo(); | 91 | this.$refs.addDialog.initStartNo(); |
89 | }) | 92 | }) |
... | @@ -92,7 +95,7 @@ export default { | ... | @@ -92,7 +95,7 @@ export default { |
92 | this.fetchData() | 95 | this.fetchData() |
93 | }, | 96 | }, |
94 | //修改筛选时间 | 97 | //修改筛选时间 |
95 | timeChange() { | 98 | timeChange () { |
96 | if (this.ruleForm.ffsj != null) { | 99 | if (this.ruleForm.ffsj != null) { |
97 | this.approveForm.ffkssj = this.ruleForm.ffsj[0]; | 100 | this.approveForm.ffkssj = this.ruleForm.ffsj[0]; |
98 | this.approveForm.ffjssj = this.ruleForm.ffsj[1]; | 101 | this.approveForm.ffjssj = this.ruleForm.ffsj[1]; |
... | @@ -102,17 +105,17 @@ export default { | ... | @@ -102,17 +105,17 @@ export default { |
102 | } | 105 | } |
103 | }, | 106 | }, |
104 | //确定证书分发 | 107 | //确定证书分发 |
105 | confrimVerify(item){ | 108 | confrimVerify (item) { |
106 | this.$confirm('是否确定分发', '提示', { | 109 | this.$confirm('是否确定分发', '提示', { |
107 | confirmButtonText: '确定', | 110 | confirmButtonText: '确定', |
108 | cancelButtonText: '取消', | 111 | cancelButtonText: '取消', |
109 | type: 'warning' | 112 | type: 'warning' |
110 | }).then(() => { | 113 | }).then(() => { |
111 | confirmZsff({"bsmBatch":item.bsmBatch}).then(res => { | 114 | confirmZsff({ "bsmBatch": item.bsmBatch }).then(res => { |
112 | if(res.code == 200){ | 115 | if (res.code == 200) { |
113 | this.$message.success("分发成功") | 116 | this.$message.success("分发成功") |
114 | this.fetchData(); | 117 | this.fetchData(); |
115 | }else{ | 118 | } else { |
116 | this.$message.error(res.message) | 119 | this.$message.error(res.message) |
117 | } | 120 | } |
118 | }) | 121 | }) |
... | @@ -123,18 +126,19 @@ export default { | ... | @@ -123,18 +126,19 @@ export default { |
123 | }); | 126 | }); |
124 | }); | 127 | }); |
125 | }, | 128 | }, |
126 | //删除证书分发数据 | 129 | //删除证书分发数据 |
127 | delZsff(item){ | 130 | delZsff (item) { |
128 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 131 | this.$confirm('确定要删除吗, 是否继续?', '提示', { |
129 | confirmButtonText: '确定', | 132 | confirmButtonText: '确定', |
130 | cancelButtonText: '取消', | 133 | cancelButtonText: '取消', |
131 | type: 'warning' | 134 | type: 'warning' |
132 | }).then(() => { | 135 | }).then(() => { |
133 | removeZsgl({"bsmBatch":item.bsmBatch}).then(res => { | 136 | removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => { |
134 | if(res.code == 200){ | 137 | if (res.code == 200) { |
135 | this.$message.success("删除成功") | 138 | this.$message.success("删除成功") |
136 | this.fetchData(); | 139 | this.handleDel() |
137 | }else{ | 140 | this.fetchData() |
141 | } else { | ||
138 | this.$message.error(res.message) | 142 | this.$message.error(res.message) |
139 | } | 143 | } |
140 | }) | 144 | }) | ... | ... |
... | @@ -13,7 +13,14 @@ class data extends filter { | ... | @@ -13,7 +13,14 @@ class data extends filter { |
13 | { | 13 | { |
14 | label: '序号', | 14 | label: '序号', |
15 | type: 'index', | 15 | type: 'index', |
16 | width: '50' | 16 | width: '50', |
17 | render: (h, scope) => { | ||
18 | return ( | ||
19 | <div> | ||
20 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
21 | </div> | ||
22 | ) | ||
23 | } | ||
17 | }, | 24 | }, |
18 | { | 25 | { |
19 | prop: "batchno", | 26 | prop: "batchno", |
... | @@ -59,25 +66,25 @@ class data extends filter { | ... | @@ -59,25 +66,25 @@ class data extends filter { |
59 | switch (scope.row.state) { | 66 | switch (scope.row.state) { |
60 | case '0': | 67 | case '0': |
61 | return <div> | 68 | return <div> |
62 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认分发</el-button> | 69 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认分发</el-button> |
63 | <el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsff(scope.row) }}>删除</el-button> | 70 | <el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsff(scope.row) }}>删除</el-button> |
64 | </div> | 71 | </div> |
65 | case '1': | 72 | case '1': |
66 | return <el-button type="text" onClick={() => { }}>查看</el-button> | 73 | return <el-button type="text" onClick={() => { vm.viewDialog = true }}>查看</el-button> |
67 | } | 74 | } |
68 | } | 75 | } |
69 | } | 76 | } |
70 | ] | 77 | ] |
71 | } | 78 | } |
72 | 79 | ||
73 | ywlys(){ | 80 | ywlys () { |
74 | return[ | 81 | return [ |
75 | { value: 1, label: "办事大厅" }, | 82 | { value: 1, label: "办事大厅" }, |
76 | { value: 2, label: "微信小程序" }, | 83 | { value: 2, label: "微信小程序" }, |
77 | { value: 3, label: "法院端" }, | 84 | { value: 3, label: "法院端" }, |
78 | { value: 4, label: "银行端" }, | 85 | { value: 4, label: "银行端" }, |
79 | ] | 86 | ] |
80 | } | 87 | } |
81 | 88 | ||
82 | } | 89 | } |
83 | let datas = new data() | 90 | let datas = new data() | ... | ... |
This diff is collapsed.
Click to expand it.
... | @@ -2,17 +2,17 @@ | ... | @@ -2,17 +2,17 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="ruleForm" label-width="70px"> | 5 | <el-form :model="ruleForm" label-width="80px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="入库编号"> | 8 | <el-form-item label="入库编号"> |
9 | <el-input v-model="approveForm.batchno" clearable placeholder="入库编号"></el-input> | 9 | <el-input v-model="ruleForm.batchno" clearable placeholder="入库编号"></el-input> |
10 | </el-form-item> | 10 | </el-form-item> |
11 | </el-col> | 11 | </el-col> |
12 | <el-col :span="8"> | 12 | <el-col :span="8"> |
13 | <el-form-item label="人库时间"> | 13 | <el-form-item label="人库时间"> |
14 | <el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期" | 14 | <el-date-picker v-model="ruleForm.rksj" type="datetimerange" range-separator="至" start-placeholder="开始日期" |
15 | end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable > | 15 | end-placeholder="结束日期" @change="timeChange()" value-format="yyyy-MM-dd HH:mm:ss" clearable> |
16 | </el-date-picker> | 16 | </el-date-picker> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
... | @@ -32,17 +32,19 @@ | ... | @@ -32,17 +32,19 @@ |
32 | :data="tableData.data"> | 32 | :data="tableData.data"> |
33 | </lb-table> | 33 | </lb-table> |
34 | </div> | 34 | </div> |
35 | <addDialog ref="addDialog" v-model="isDialog"/> | 35 | <addDialog ref="addDialog" v-model="isDialog" /> |
36 | <viewDialog v-model="viewDialog" /> | ||
36 | </div> | 37 | </div> |
37 | </template> | 38 | </template> |
38 | <script> | 39 | <script> |
39 | import table from "@/utils/mixin/table"; | 40 | import table from "@/utils/mixin/table"; |
40 | import { datas, sendThis } from "./zsrkdata"; | 41 | import { datas, sendThis } from "./zsrkdata"; |
41 | import addDialog from "./components/addDialog.vue" | 42 | import addDialog from "./components/addDialog.vue"; |
42 | import { getZsglrkList ,removeZsgl,verifyZsrk} from "@/api/zsgl.js" | 43 | import viewDialog from "../components/viewDialog.vue"; |
44 | import { getZsglrkList, removeZsgl, verifyZsrk } from "@/api/zsgl.js"; | ||
43 | export default { | 45 | export default { |
44 | name: "zsrk", | 46 | name: "zsrk", |
45 | components: {addDialog}, | 47 | components: { addDialog, viewDialog }, |
46 | mixins: [table], | 48 | mixins: [table], |
47 | mounted () { | 49 | mounted () { |
48 | sendThis(this); | 50 | sendThis(this); |
... | @@ -50,10 +52,9 @@ export default { | ... | @@ -50,10 +52,9 @@ export default { |
50 | data () { | 52 | data () { |
51 | return { | 53 | return { |
52 | isDialog: false, | 54 | isDialog: false, |
55 | viewDialog: false, | ||
53 | ruleForm: { | 56 | ruleForm: { |
54 | rksj: '' | 57 | rksj: '', |
55 | }, | ||
56 | approveForm: { | ||
57 | batchno: '', | 58 | batchno: '', |
58 | rkkssj: '', | 59 | rkkssj: '', |
59 | rkjssj: '' | 60 | rkjssj: '' |
... | @@ -66,12 +67,9 @@ export default { | ... | @@ -66,12 +67,9 @@ export default { |
66 | }; | 67 | }; |
67 | }, | 68 | }, |
68 | methods: { | 69 | methods: { |
69 | init (e) { | ||
70 | this.fetchData() | ||
71 | }, | ||
72 | // 列表渲染接口 | 70 | // 列表渲染接口 |
73 | fetchData () { | 71 | fetchData () { |
74 | getZsglrkList({ ...this.approveForm, ...this.pageData }).then(res => { | 72 | getZsglrkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
75 | if (res.code === 200) { | 73 | if (res.code === 200) { |
76 | let { total, records } = res.result | 74 | let { total, records } = res.result |
77 | this.tableData.total = total; | 75 | this.tableData.total = total; |
... | @@ -80,36 +78,38 @@ export default { | ... | @@ -80,36 +78,38 @@ export default { |
80 | }) | 78 | }) |
81 | }, | 79 | }, |
82 | openDialog () { | 80 | openDialog () { |
83 | this.isDialog = true; | 81 | this.$nextTick(() => { |
84 | this.$nextTick(()=> { | ||
85 | this.$refs.addDialog.ywhSerial(); | 82 | this.$refs.addDialog.ywhSerial(); |
83 | this.isDialog = true; | ||
86 | }) | 84 | }) |
87 | }, | 85 | }, |
88 | queryClick () { | 86 | queryClick () { |
89 | this.fetchData() | 87 | this.fetchData() |
90 | }, | 88 | }, |
91 | //修改筛选时间 | 89 | //修改筛选时间 |
92 | timeChange() { | 90 | timeChange (val) { |
93 | if (this.ruleForm.rksj != null) { | 91 | if (this.ruleForm.rksj != null) { |
94 | this.approveForm.rkkssj = this.ruleForm.rksj[0]; | 92 | |
95 | this.approveForm.rkjssj = this.ruleForm.rksj[1]; | 93 | this.ruleForm.rkkssj = this.ruleForm.rksj[0]; |
94 | this.ruleForm.rkjssj = this.ruleForm.rksj[1]; | ||
96 | } else { | 95 | } else { |
97 | this.approveForm.rkkssj = '' | 96 | this.ruleForm.rkkssj = '' |
98 | this.approveForm.rkjssj = '' | 97 | this.ruleForm.rkjssj = '' |
99 | } | 98 | } |
100 | }, | 99 | }, |
101 | //删除证书入库数据 | 100 | //删除证书入库数据 |
102 | delZsrk(item){ | 101 | delZsrk (item) { |
103 | this.$confirm('确定要删除吗, 是否继续?', '提示', { | 102 | this.$confirm('确定要删除吗, 是否继续?', '提示', { |
104 | confirmButtonText: '确定', | 103 | confirmButtonText: '确定', |
105 | cancelButtonText: '取消', | 104 | cancelButtonText: '取消', |
106 | type: 'warning' | 105 | type: 'warning' |
107 | }).then(() => { | 106 | }).then(() => { |
108 | removeZsgl({"bsmBatch":item.bsmBatch}).then(res => { | 107 | removeZsgl({ "bsmBatch": item.bsmBatch }).then(res => { |
109 | if(res.code == 200){ | 108 | if (res.code == 200) { |
110 | this.$message.success("删除成功") | 109 | this.$message.success("删除成功") |
111 | this.fetchData(); | 110 | this.handleDel() |
112 | }else{ | 111 | this.fetchData() |
112 | } else { | ||
113 | this.$message.error(res.message) | 113 | this.$message.error(res.message) |
114 | } | 114 | } |
115 | }) | 115 | }) |
... | @@ -121,17 +121,17 @@ export default { | ... | @@ -121,17 +121,17 @@ export default { |
121 | }); | 121 | }); |
122 | }, | 122 | }, |
123 | //审核证书入库数据 | 123 | //审核证书入库数据 |
124 | confrimVerify(item){ | 124 | confrimVerify (item) { |
125 | this.$confirm('审核是否通过', '提示', { | 125 | this.$confirm('审核是否通过', '提示', { |
126 | confirmButtonText: '确定', | 126 | confirmButtonText: '确定', |
127 | cancelButtonText: '取消', | 127 | cancelButtonText: '取消', |
128 | type: 'warning' | 128 | type: 'warning' |
129 | }).then(() => { | 129 | }).then(() => { |
130 | verifyZsrk({"bsmBatch":item.bsmBatch}).then(res => { | 130 | verifyZsrk({ "bsmBatch": item.bsmBatch }).then(res => { |
131 | if(res.code == 200){ | 131 | if (res.code == 200) { |
132 | this.$message.success("审核成功") | 132 | this.$message.success("审核成功") |
133 | this.fetchData(); | 133 | this.fetchData(); |
134 | }else{ | 134 | } else { |
135 | this.$message.error(res.message) | 135 | this.$message.error(res.message) |
136 | } | 136 | } |
137 | }) | 137 | }) | ... | ... |
... | @@ -13,7 +13,14 @@ class data extends filter { | ... | @@ -13,7 +13,14 @@ class data extends filter { |
13 | { | 13 | { |
14 | label: '序号', | 14 | label: '序号', |
15 | type: 'index', | 15 | type: 'index', |
16 | width: '50' | 16 | width: '50', |
17 | render: (h, scope) => { | ||
18 | return ( | ||
19 | <div> | ||
20 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
21 | </div> | ||
22 | ) | ||
23 | } | ||
17 | }, | 24 | }, |
18 | { | 25 | { |
19 | prop: "batchno", | 26 | prop: "batchno", |
... | @@ -59,25 +66,25 @@ class data extends filter { | ... | @@ -59,25 +66,25 @@ class data extends filter { |
59 | switch (scope.row.state) { | 66 | switch (scope.row.state) { |
60 | case '0': | 67 | case '0': |
61 | return <div> | 68 | return <div> |
62 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认审核</el-button> | 69 | <el-button type="text" icon="el-icon-edit-outline" onClick={() => { vm.confrimVerify(scope.row) }}>确认审核</el-button> |
63 | <el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsrk(scope.row) }}>删除</el-button> | 70 | <el-button type="text" icon="el-icon-delete" onClick={() => { vm.delZsrk(scope.row) }}>删除</el-button> |
64 | </div> | 71 | </div> |
65 | case '1': | 72 | case '1': |
66 | return <el-button type="text" onClick={() => { }}>查看</el-button> | 73 | return <el-button type="text" onClick={() => { vm.viewDialog = true }}>查看</el-button> |
67 | } | 74 | } |
68 | } | 75 | } |
69 | } | 76 | } |
70 | ] | 77 | ] |
71 | } | 78 | } |
72 | 79 | ||
73 | ywlys(){ | 80 | ywlys () { |
74 | return[ | 81 | return [ |
75 | { value: 1, label: "办事大厅" }, | 82 | { value: 1, label: "办事大厅" }, |
76 | { value: 2, label: "微信小程序" }, | 83 | { value: 2, label: "微信小程序" }, |
77 | { value: 3, label: "法院端" }, | 84 | { value: 3, label: "法院端" }, |
78 | { value: 4, label: "银行端" }, | 85 | { value: 4, label: "银行端" }, |
79 | ] | 86 | ] |
80 | } | 87 | } |
81 | 88 | ||
82 | } | 89 | } |
83 | let datas = new data() | 90 | let datas = new data() | ... | ... |
... | @@ -2,33 +2,29 @@ | ... | @@ -2,33 +2,29 @@ |
2 | <div class="from-clues"> | 2 | <div class="from-clues"> |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="ruleForm" label-width="120px"> | 5 | <el-form :model="ruleForm" label-width="85px"> |
6 | <el-row> | 6 | <el-row> |
7 | <el-col :span="5"> | 7 | <el-col :span="5"> |
8 | <el-form-item label="印刷序列号" prop="ysxlh"> | 8 | <el-form-item label="印刷序列号" prop="ysxlh"> |
9 | <el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input> | 9 | <el-input v-model="ruleForm.ysxlh" clearable placeholder="请输入印刷序列号"></el-input> |
10 | </el-form-item> | 10 | </el-form-item> |
11 | </el-col> | 11 | </el-col> |
12 | <el-col :span="5"> | 12 | <el-col :span="5"> |
13 | <el-form-item label="证书类型" prop="zslx"> | 13 | <el-form-item label="证书类型" prop="zslx"> |
14 | <el-select v-model="ruleForm.zslx" placeholder="请选择证书类型" clearable > | 14 | <el-select v-model="ruleForm.zslx" class="width100" placeholder="请选择证书类型" clearable> |
15 | <el-option | 15 | <el-option v-for="item in zslxArr" :key="item.value" :label="item.label" :value="item.value"> |
16 | v-for="item in zslxArr" | ||
17 | :key="item.value" | ||
18 | :label="item.label" | ||
19 | :value="item.value"> | ||
20 | </el-option> | 16 | </el-option> |
21 | </el-select> | 17 | </el-select> |
22 | </el-form-item> | 18 | </el-form-item> |
23 | </el-col> | 19 | </el-col> |
24 | <el-col :span="5"> | 20 | <el-col :span="5"> |
25 | <el-form-item label="业务号" prop="ywh"> | 21 | <el-form-item label="业务号" label-width="60px" prop="ywh"> |
26 | <el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input> | 22 | <el-input v-model="ruleForm.ywh" clearable placeholder="请输入业务号"></el-input> |
27 | </el-form-item> | 23 | </el-form-item> |
28 | </el-col> | 24 | </el-col> |
29 | <el-col :span="6"> | 25 | <el-col :span="6"> |
30 | <el-form-item label="不动产权证号" prop="bdcqzh"> | 26 | <el-form-item label="不动产权证号" label-width="100px" prop="bdcqzh"> |
31 | <el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input> | 27 | <el-input v-model="ruleForm.bdcqzh" placeholder="请输入不动产权证号"></el-input> |
32 | </el-form-item> | 28 | </el-form-item> |
33 | </el-col> | 29 | </el-col> |
34 | 30 | ||
... | @@ -48,13 +44,13 @@ | ... | @@ -48,13 +44,13 @@ |
48 | :data="tableData.data"> | 44 | :data="tableData.data"> |
49 | </lb-table> | 45 | </lb-table> |
50 | </div> | 46 | </div> |
51 | <viewDialog v-model="isDialog" /> | 47 | <viewDialog ref="viewDialog" v-model="isDialog" /> |
52 | </div> | 48 | </div> |
53 | </template> | 49 | </template> |
54 | <script> | 50 | <script> |
55 | import viewDialog from "./components/viewDialog.vue" | 51 | import viewDialog from "../components/viewDialog.vue" |
56 | import table from "@/utils/mixin/table"; | 52 | import table from "@/utils/mixin/table"; |
57 | import { getZssyqkList} from "@/api/zsgl.js" | 53 | import { getZssyqkList } from "@/api/zsgl.js" |
58 | import { datas, sendThis } from "./zssyjldata"; | 54 | import { datas, sendThis } from "./zssyjldata"; |
59 | export default { | 55 | export default { |
60 | name: "zssyjl", | 56 | name: "zssyjl", |
... | @@ -78,15 +74,12 @@ export default { | ... | @@ -78,15 +74,12 @@ export default { |
78 | data: [], | 74 | data: [], |
79 | }, | 75 | }, |
80 | zslxArr: [ | 76 | zslxArr: [ |
81 | {label: '不动产权证书',value: 'zs'}, | 77 | { label: '不动产权证书', value: 'zs' }, |
82 | {label: '不动产登记证明', value: 'zm'} | 78 | { label: '不动产登记证明', value: 'zm' } |
83 | ] | 79 | ] |
84 | }; | 80 | }; |
85 | }, | 81 | }, |
86 | methods: { | 82 | methods: { |
87 | init (e) { | ||
88 | this.fetchData() | ||
89 | }, | ||
90 | // 列表渲染接口 | 83 | // 列表渲染接口 |
91 | fetchData () { | 84 | fetchData () { |
92 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { | 85 | getZssyqkList({ ...this.ruleForm, ...this.pageData }).then(res => { |
... | @@ -97,11 +90,14 @@ export default { | ... | @@ -97,11 +90,14 @@ export default { |
97 | } | 90 | } |
98 | }) | 91 | }) |
99 | }, | 92 | }, |
100 | openDialog () { | 93 | openDialog (item) { |
101 | this.isDialog = true | 94 | this.isDialog = true |
102 | }, | 95 | this.$nextTick(() => { |
103 | }, | 96 | this.$refs.viewDialog.getDetail(item.bsmZswj); |
104 | }; | 97 | }) |
98 | } | ||
99 | } | ||
100 | } | ||
105 | </script> | 101 | </script> |
106 | <style scoped lang="scss"> | 102 | <style scoped lang="scss"> |
107 | @import "~@/styles/public.scss"; | 103 | @import "~@/styles/public.scss"; | ... | ... |
... | @@ -13,7 +13,14 @@ class data extends filter { | ... | @@ -13,7 +13,14 @@ class data extends filter { |
13 | { | 13 | { |
14 | label: '序号', | 14 | label: '序号', |
15 | type: 'index', | 15 | type: 'index', |
16 | width: '50' | 16 | width: '50', |
17 | render: (h, scope) => { | ||
18 | return ( | ||
19 | <div> | ||
20 | {(vm.pageData.currentPage - 1) * vm.pageData.pageSize + scope.$index + 1} | ||
21 | </div> | ||
22 | ) | ||
23 | } | ||
17 | }, | 24 | }, |
18 | { | 25 | { |
19 | label: "状态", | 26 | label: "状态", |
... | @@ -75,7 +82,7 @@ class data extends filter { | ... | @@ -75,7 +82,7 @@ class data extends filter { |
75 | align: 'center', | 82 | align: 'center', |
76 | fixed: 'right', | 83 | fixed: 'right', |
77 | render: (h, scope) => { | 84 | render: (h, scope) => { |
78 | return <el-button type="text" icon="el-icon-view" onClick={() => { }}>查看</el-button> | 85 | return <el-button type="text" icon="el-icon-view" onClick={() => { vm.openDialog(scope.row) }}>查看</el-button> |
79 | } | 86 | } |
80 | } | 87 | } |
81 | ] | 88 | ] | ... | ... |
-
Please register or sign in to post a comment