1
Showing
18 changed files
with
160 additions
and
162 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", | ... | ... |
... | @@ -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,7 @@ export function getZssyqkList (data) { | ... | @@ -105,6 +111,7 @@ 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 | ||
109 | }) | 116 | }) |
110 | } | 117 | } |
... | \ 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> | ... | ... |
... | @@ -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 { | ... | ... |
... | @@ -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> | ... | ... |
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 | 入库情况 |
... | @@ -145,11 +145,16 @@ export default { | ... | @@ -145,11 +145,16 @@ export default { |
145 | }, | 145 | }, |
146 | }, | 146 | }, |
147 | methods: { | 147 | methods: { |
148 | getDetail () { | ||
149 | }, | ||
150 | submitForm () { | ||
151 | }, | ||
148 | closeDialog () { | 152 | closeDialog () { |
149 | this.$emit('input', false) | 153 | this.$emit('input', false) |
154 | this.$refs['ruleForm'].resetFields() | ||
150 | } | 155 | } |
151 | }, | 156 | } |
152 | }; | 157 | } |
153 | </script> | 158 | </script> |
154 | <style scoped lang="scss"> | 159 | <style scoped lang="scss"> |
155 | @import "~@/styles/mixin.scss"; | 160 | @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 | ||
... | @@ -52,9 +48,9 @@ | ... | @@ -52,9 +48,9 @@ |
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 => { |
... | @@ -99,9 +92,9 @@ export default { | ... | @@ -99,9 +92,9 @@ export default { |
99 | }, | 92 | }, |
100 | openDialog () { | 93 | openDialog () { |
101 | this.isDialog = true | 94 | this.isDialog = true |
102 | }, | 95 | } |
103 | }, | 96 | } |
104 | }; | 97 | } |
105 | </script> | 98 | </script> |
106 | <style scoped lang="scss"> | 99 | <style scoped lang="scss"> |
107 | @import "~@/styles/public.scss"; | 100 | @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() }}>查看</el-button> |
79 | } | 86 | } |
80 | } | 87 | } |
81 | ] | 88 | ] | ... | ... |
-
Please register or sign in to post a comment