Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/js-web-jianguan
Showing
16 changed files
with
162 additions
and
168 deletions
... | @@ -278,7 +278,7 @@ class business { | ... | @@ -278,7 +278,7 @@ class business { |
278 | //建设用地、宅基地使用权 | 278 | //建设用地、宅基地使用权 |
279 | async getQlfQlJsydsyqById (bsmSjsb) { | 279 | async getQlfQlJsydsyqById (bsmSjsb) { |
280 | return request({ | 280 | return request({ |
281 | url: '/QlfQlJsydsyq/getQlfQlJsydsyqById', | 281 | url: '/reg/QlfQlJsydsyq/detail', |
282 | method: 'get', | 282 | method: 'get', |
283 | params: { | 283 | params: { |
284 | bsmSjsb: bsmSjsb | 284 | bsmSjsb: bsmSjsb |
... | @@ -288,8 +288,8 @@ class business { | ... | @@ -288,8 +288,8 @@ class business { |
288 | //修改建设用地、宅基地使用权 | 288 | //修改建设用地、宅基地使用权 |
289 | async updateQlfQlJsydsyq (data) { | 289 | async updateQlfQlJsydsyq (data) { |
290 | return request({ | 290 | return request({ |
291 | url: '/QlfQlJsydsyq/updateQlfQlJsydsyq', | 291 | url: '/reg/QlfQlJsydsyq/edit', |
292 | method: 'put', | 292 | method: 'post', |
293 | data | 293 | data |
294 | }) | 294 | }) |
295 | } | 295 | } |
... | @@ -512,7 +512,7 @@ class business { | ... | @@ -512,7 +512,7 @@ class business { |
512 | //界址点 | 512 | //界址点 |
513 | async getKttGyJzdById (bsmSjsb) { | 513 | async getKttGyJzdById (bsmSjsb) { |
514 | return request({ | 514 | return request({ |
515 | url: '/KttGyJzd/getKttGyJzdById', | 515 | url: '/reg/KttGyJzd/detail', |
516 | method: 'get', | 516 | method: 'get', |
517 | params: { | 517 | params: { |
518 | bsmSjsb: bsmSjsb | 518 | bsmSjsb: bsmSjsb |
... | @@ -522,15 +522,15 @@ class business { | ... | @@ -522,15 +522,15 @@ class business { |
522 | //修改界址点 | 522 | //修改界址点 |
523 | async updateKttGyJzd (data) { | 523 | async updateKttGyJzd (data) { |
524 | return request({ | 524 | return request({ |
525 | url: '/KttGyJzd/updateKttGyJzd', | 525 | url: '/reg/KttGyJzd/edit', |
526 | method: 'put', | 526 | method: 'post', |
527 | data | 527 | data |
528 | }) | 528 | }) |
529 | } | 529 | } |
530 | //界址线信息 | 530 | //界址线信息 |
531 | async getKttGyJzxById (bsmSjsb) { | 531 | async getKttGyJzxById (bsmSjsb) { |
532 | return request({ | 532 | return request({ |
533 | url: '/KttGyJzx/getKttGyJzxById', | 533 | url: '/reg/KttGyJzx/detail', |
534 | method: 'get', | 534 | method: 'get', |
535 | params: { | 535 | params: { |
536 | bsmSjsb: bsmSjsb | 536 | bsmSjsb: bsmSjsb |
... | @@ -540,8 +540,8 @@ class business { | ... | @@ -540,8 +540,8 @@ class business { |
540 | //修改界址线信息 | 540 | //修改界址线信息 |
541 | async updateKttGyJzx (data) { | 541 | async updateKttGyJzx (data) { |
542 | return request({ | 542 | return request({ |
543 | url: '/KttGyJzx/updateKttGyJzx', | 543 | url: '/reg/KttGyJzx/edit', |
544 | method: 'put', | 544 | method: 'post', |
545 | data | 545 | data |
546 | }) | 546 | }) |
547 | } | 547 | } |
... | @@ -926,9 +926,9 @@ class business { | ... | @@ -926,9 +926,9 @@ class business { |
926 | }) | 926 | }) |
927 | } | 927 | } |
928 | // 宗地基本信息 | 928 | // 宗地基本信息 |
929 | async getKttZdjbxxById (bsmSjsb) { | 929 | async kttZdjbxxDetail (bsmSjsb) { |
930 | return request({ | 930 | return request({ |
931 | url: '/KttZdjbxx/getKttZdjbxxById', | 931 | url: '/reg/KttZdjbxx/detail', |
932 | method: 'get', | 932 | method: 'get', |
933 | params: { | 933 | params: { |
934 | bsmSjsb: bsmSjsb | 934 | bsmSjsb: bsmSjsb |
... | @@ -938,8 +938,8 @@ class business { | ... | @@ -938,8 +938,8 @@ class business { |
938 | // 宗地基本信息-修改 | 938 | // 宗地基本信息-修改 |
939 | async updateKttZdjbxx (data) { | 939 | async updateKttZdjbxx (data) { |
940 | return request({ | 940 | return request({ |
941 | url: '/KttZdjbxx/updateKttZdjbxx', | 941 | url: '/KttZdjbxx/edit', |
942 | method: 'put', | 942 | method: 'post', |
943 | data | 943 | data |
944 | }) | 944 | }) |
945 | } | 945 | } | ... | ... |
... | @@ -38,12 +38,12 @@ class ruleConfig { | ... | @@ -38,12 +38,12 @@ class ruleConfig { |
38 | }) | 38 | }) |
39 | } | 39 | } |
40 | // 编辑界面列表查询----根据数据表名查询 | 40 | // 编辑界面列表查询----根据数据表名查询 |
41 | async getRuleList (dataTable) { | 41 | async getRuleList (bsmYwsjb) { |
42 | return request({ | 42 | return request({ |
43 | url: '/SysYwsjb/getSysYwsjbWithSysYwsjbFieldByDataTable', | 43 | url: '/sjsb/DataReport/getTableColumn', |
44 | method: 'get', | 44 | method: 'get', |
45 | params: { | 45 | params: { |
46 | dataTable: dataTable | 46 | bsmYwsjb: bsmYwsjb |
47 | } | 47 | } |
48 | }) | 48 | }) |
49 | } | 49 | } | ... | ... |
1 | import request from '@/utils/request' | 1 | import request from '@/utils/request' |
2 | import SERVER from './config' | ||
2 | 3 | ||
3 | class sbbwcx { | 4 | // 数据上报分页 |
4 | // 定时任务查询接口 | 5 | export function getDataReportPage (data) { |
5 | async getDataReportPage (data) { | ||
6 | return request({ | 6 | return request({ |
7 | url: '/sjsb/DataReport/getDataReportPage', | 7 | url: SERVER.SERVERAPI + '/sjsb/DataReport/getDataReportPage', |
8 | method: 'post', | 8 | method: 'post', |
9 | data | 9 | data |
10 | }) | 10 | }) |
11 | } | 11 | } |
12 | 12 | ||
13 | // 数据上报分页 | ||
14 | export function getDetail (params) { | ||
15 | return request({ | ||
16 | url: SERVER.SERVERAPI + '/sjsb/DataReport/getDetail', | ||
17 | method: 'get', | ||
18 | params | ||
19 | }) | ||
13 | } | 20 | } |
14 | export default new sbbwcx() | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
21 | ... | ... |
... | @@ -26,7 +26,7 @@ export function getAllDict () { | ... | @@ -26,7 +26,7 @@ export function getAllDict () { |
26 | } | 26 | } |
27 | export function getQlxxDictList (data) { | 27 | export function getQlxxDictList (data) { |
28 | return request({ | 28 | return request({ |
29 | url: SERVER.SERVERAPI + '/rest/sys/dict/getQlxxDictList', | 29 | url: SERVER.SERVERAPI + '/rest/sys/dict/getDictList', |
30 | method: 'post', | 30 | method: 'post', |
31 | data | 31 | data |
32 | }) | 32 | }) | ... | ... |
... | @@ -53,7 +53,7 @@ | ... | @@ -53,7 +53,7 @@ |
53 | </el-form-item> | 53 | </el-form-item> |
54 | </el-col> | 54 | </el-col> |
55 | 55 | ||
56 | <el-col :span="8"> | 56 | <!-- <el-col :span="8"> |
57 | <el-form-item :prop="'ruleForm.' + index + '.JZXLB'" :rules="rules.JZXLB"> | 57 | <el-form-item :prop="'ruleForm.' + index + '.JZXLB'" :rules="rules.JZXLB"> |
58 | <span slot="label"> | 58 | <span slot="label"> |
59 | 界址线类别: <br /> | 59 | 界址线类别: <br /> |
... | @@ -65,9 +65,9 @@ | ... | @@ -65,9 +65,9 @@ |
65 | </el-option> | 65 | </el-option> |
66 | </el-select> | 66 | </el-select> |
67 | </el-form-item> | 67 | </el-form-item> |
68 | </el-col> | 68 | </el-col> --> |
69 | 69 | ||
70 | <el-col :span="8"> | 70 | <!-- <el-col :span="8"> |
71 | <el-form-item :prop="'ruleForm.' + index + '.JZXWZ'" :rules="rules.JZXWZ"> | 71 | <el-form-item :prop="'ruleForm.' + index + '.JZXWZ'" :rules="rules.JZXWZ"> |
72 | <span slot="label"> | 72 | <span slot="label"> |
73 | 界址线位置: <br /> | 73 | 界址线位置: <br /> |
... | @@ -79,11 +79,11 @@ | ... | @@ -79,11 +79,11 @@ |
79 | </el-option> | 79 | </el-option> |
80 | </el-select> | 80 | </el-select> |
81 | </el-form-item> | 81 | </el-form-item> |
82 | </el-col> | 82 | </el-col> --> |
83 | </el-row> | 83 | </el-row> |
84 | 84 | ||
85 | <el-row> | 85 | <el-row> |
86 | <el-col :span="8"> | 86 | <!-- <el-col :span="8"> |
87 | <el-form-item :prop="'ruleForm.' + index + '.JXXZ'" class="borderTopNone" :rules="rules.JXXZ"> | 87 | <el-form-item :prop="'ruleForm.' + index + '.JXXZ'" class="borderTopNone" :rules="rules.JXXZ"> |
88 | <span slot="label"> | 88 | <span slot="label"> |
89 | 界线性质: <br /> | 89 | 界线性质: <br /> |
... | @@ -95,7 +95,7 @@ | ... | @@ -95,7 +95,7 @@ |
95 | </el-option> | 95 | </el-option> |
96 | </el-select> | 96 | </el-select> |
97 | </el-form-item> | 97 | </el-form-item> |
98 | </el-col> | 98 | </el-col> --> |
99 | 99 | ||
100 | <el-col :span="8"> | 100 | <el-col :span="8"> |
101 | <el-form-item :prop="'ruleForm.' + index + '.QSJXXYSBH'" class="borderTopNone" :rules="rules.QSJXXYSBH"> | 101 | <el-form-item :prop="'ruleForm.' + index + '.QSJXXYSBH'" class="borderTopNone" :rules="rules.QSJXXYSBH"> |
... | @@ -161,7 +161,7 @@ export default { | ... | @@ -161,7 +161,7 @@ export default { |
161 | type: String, | 161 | type: String, |
162 | default: '' | 162 | default: '' |
163 | }, | 163 | }, |
164 | dataTable: { | 164 | bsmYwsjb: { |
165 | type: String, | 165 | type: String, |
166 | default: '' | 166 | default: '' |
167 | } | 167 | } | ... | ... |
... | @@ -63,7 +63,7 @@ | ... | @@ -63,7 +63,7 @@ |
63 | </el-form-item> | 63 | </el-form-item> |
64 | </el-col> | 64 | </el-col> |
65 | 65 | ||
66 | <el-col :span="8"> | 66 | <!-- <el-col :span="8"> |
67 | <el-form-item :prop="'ruleForm.' + index + '.JBLX'" :rules="rules.JBLX"> | 67 | <el-form-item :prop="'ruleForm.' + index + '.JBLX'" :rules="rules.JBLX"> |
68 | <span slot="label"> | 68 | <span slot="label"> |
69 | 界标类型: <br /> | 69 | 界标类型: <br /> |
... | @@ -75,11 +75,11 @@ | ... | @@ -75,11 +75,11 @@ |
75 | </el-option> | 75 | </el-option> |
76 | </el-select> | 76 | </el-select> |
77 | </el-form-item> | 77 | </el-form-item> |
78 | </el-col> | 78 | </el-col> --> |
79 | </el-row> | 79 | </el-row> |
80 | 80 | ||
81 | <el-row> | 81 | <el-row> |
82 | <el-col :span="8"> | 82 | <!-- <el-col :span="8"> |
83 | <el-form-item :prop="'ruleForm.' + index + '.JZDLX'" :rules="rules.JZDLX"> | 83 | <el-form-item :prop="'ruleForm.' + index + '.JZDLX'" :rules="rules.JZDLX"> |
84 | <span slot="label"> | 84 | <span slot="label"> |
85 | 界址点类型: <br /> | 85 | 界址点类型: <br /> |
... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
91 | </el-option> | 91 | </el-option> |
92 | </el-select> | 92 | </el-select> |
93 | </el-form-item> | 93 | </el-form-item> |
94 | </el-col> | 94 | </el-col> --> |
95 | 95 | ||
96 | <el-col :span="8"> | 96 | <el-col :span="8"> |
97 | <el-form-item :prop="'ruleForm.' + index + '.XZBZ'" :rules="{ ...rules.XZBZ, ...typeNum }"> | 97 | <el-form-item :prop="'ruleForm.' + index + '.XZBZ'" :rules="{ ...rules.XZBZ, ...typeNum }"> |
... | @@ -134,7 +134,7 @@ export default { | ... | @@ -134,7 +134,7 @@ export default { |
134 | type: String, | 134 | type: String, |
135 | default: '' | 135 | default: '' |
136 | }, | 136 | }, |
137 | dataTable: { | 137 | bsmYwsjb: { |
138 | type: String, | 138 | type: String, |
139 | default: '' | 139 | default: '' |
140 | } | 140 | } | ... | ... |
... | @@ -44,7 +44,7 @@ | ... | @@ -44,7 +44,7 @@ |
44 | </el-form-item> | 44 | </el-form-item> |
45 | </el-col> | 45 | </el-col> |
46 | 46 | ||
47 | <el-col :span="8"> | 47 | <!-- <el-col :span="8"> |
48 | <el-form-item prop="QLLX"> | 48 | <el-form-item prop="QLLX"> |
49 | <span slot="label"> | 49 | <span slot="label"> |
50 | 权利类型: <br /> | 50 | 权利类型: <br /> |
... | @@ -55,9 +55,9 @@ | ... | @@ -55,9 +55,9 @@ |
55 | </el-option> | 55 | </el-option> |
56 | </el-select> | 56 | </el-select> |
57 | </el-form-item> | 57 | </el-form-item> |
58 | </el-col> | 58 | </el-col> --> |
59 | 59 | ||
60 | <el-col :span="8"> | 60 | <!-- <el-col :span="8"> |
61 | <el-form-item prop="DJLX"> | 61 | <el-form-item prop="DJLX"> |
62 | <span slot="label"> | 62 | <span slot="label"> |
63 | 登记类型: <br /> | 63 | 登记类型: <br /> |
... | @@ -68,7 +68,7 @@ | ... | @@ -68,7 +68,7 @@ |
68 | </el-option> | 68 | </el-option> |
69 | </el-select> | 69 | </el-select> |
70 | </el-form-item> | 70 | </el-form-item> |
71 | </el-col> | 71 | </el-col> --> |
72 | </el-row> | 72 | </el-row> |
73 | 73 | ||
74 | <el-row> | 74 | <el-row> |
... | @@ -195,7 +195,7 @@ | ... | @@ -195,7 +195,7 @@ |
195 | </el-form-item> | 195 | </el-form-item> |
196 | </el-col> | 196 | </el-col> |
197 | 197 | ||
198 | <el-col :span="8"> | 198 | <!-- <el-col :span="8"> |
199 | <el-form-item prop="QSZT"> | 199 | <el-form-item prop="QSZT"> |
200 | <span slot="label"> | 200 | <span slot="label"> |
201 | 权属状态: <br /> | 201 | 权属状态: <br /> |
... | @@ -206,7 +206,7 @@ | ... | @@ -206,7 +206,7 @@ |
206 | </el-option> | 206 | </el-option> |
207 | </el-select> | 207 | </el-select> |
208 | </el-form-item> | 208 | </el-form-item> |
209 | </el-col> | 209 | </el-col> --> |
210 | </el-row> | 210 | </el-row> |
211 | </el-form> | 211 | </el-form> |
212 | <message-tips ref="msg" /> | 212 | <message-tips ref="msg" /> |
... | @@ -223,7 +223,7 @@ export default { | ... | @@ -223,7 +223,7 @@ export default { |
223 | type: String, | 223 | type: String, |
224 | default: '' | 224 | default: '' |
225 | }, | 225 | }, |
226 | dataTable: { | 226 | bsmYwsjb: { |
227 | type: String, | 227 | type: String, |
228 | default: '' | 228 | default: '' |
229 | } | 229 | } | ... | ... |
... | @@ -80,7 +80,7 @@ | ... | @@ -80,7 +80,7 @@ |
80 | </el-form-item> | 80 | </el-form-item> |
81 | </el-col> | 81 | </el-col> |
82 | 82 | ||
83 | <el-col :span="8"> | 83 | <!-- <el-col :span="8"> |
84 | <el-form-item prop="MJDW"> | 84 | <el-form-item prop="MJDW"> |
85 | <span slot="label"> | 85 | <span slot="label"> |
86 | 面积单位: <br /> | 86 | 面积单位: <br /> |
... | @@ -91,7 +91,7 @@ | ... | @@ -91,7 +91,7 @@ |
91 | </el-option> | 91 | </el-option> |
92 | </el-select> | 92 | </el-select> |
93 | </el-form-item> | 93 | </el-form-item> |
94 | </el-col> | 94 | </el-col> --> |
95 | 95 | ||
96 | <el-col :span="8"> | 96 | <el-col :span="8"> |
97 | <el-form-item prop="YT"> | 97 | <el-form-item prop="YT"> |
... | @@ -105,7 +105,7 @@ | ... | @@ -105,7 +105,7 @@ |
105 | </el-row> | 105 | </el-row> |
106 | 106 | ||
107 | <el-row> | 107 | <el-row> |
108 | <el-col :span="8"> | 108 | <!-- <el-col :span="8"> |
109 | <el-form-item prop="DJ"> | 109 | <el-form-item prop="DJ"> |
110 | <span slot="label"> | 110 | <span slot="label"> |
111 | 等级: <br /> | 111 | 等级: <br /> |
... | @@ -116,7 +116,7 @@ | ... | @@ -116,7 +116,7 @@ |
116 | </el-option> | 116 | </el-option> |
117 | </el-select> | 117 | </el-select> |
118 | </el-form-item> | 118 | </el-form-item> |
119 | </el-col> | 119 | </el-col> --> |
120 | 120 | ||
121 | <el-col :span="8"> | 121 | <el-col :span="8"> |
122 | <el-form-item prop="JG" :rules="{ type: 'number' }"> | 122 | <el-form-item prop="JG" :rules="{ type: 'number' }"> |
... | @@ -129,7 +129,7 @@ | ... | @@ -129,7 +129,7 @@ |
129 | </el-form-item> | 129 | </el-form-item> |
130 | </el-col> | 130 | </el-col> |
131 | 131 | ||
132 | <el-col :span="8"> | 132 | <!-- <el-col :span="8"> |
133 | <el-form-item prop="QLLX"> | 133 | <el-form-item prop="QLLX"> |
134 | <span slot="label"> | 134 | <span slot="label"> |
135 | 权利类型: <br /> | 135 | 权利类型: <br /> |
... | @@ -140,11 +140,11 @@ | ... | @@ -140,11 +140,11 @@ |
140 | </el-option> | 140 | </el-option> |
141 | </el-select> | 141 | </el-select> |
142 | </el-form-item> | 142 | </el-form-item> |
143 | </el-col> | 143 | </el-col> --> |
144 | </el-row> | 144 | </el-row> |
145 | 145 | ||
146 | <el-row> | 146 | <el-row> |
147 | <el-col :span="8"> | 147 | <!-- <el-col :span="8"> |
148 | <el-form-item prop="QLXZ"> | 148 | <el-form-item prop="QLXZ"> |
149 | <span slot="label"> | 149 | <span slot="label"> |
150 | 权利性质: <br /> | 150 | 权利性质: <br /> |
... | @@ -153,9 +153,9 @@ | ... | @@ -153,9 +153,9 @@ |
153 | <tree-select :disabled="$store.state.business.Edit" :options="dicData['A9']" v-model="ruleForm.QLXZ" | 153 | <tree-select :disabled="$store.state.business.Edit" :options="dicData['A9']" v-model="ruleForm.QLXZ" |
154 | placeholder="权利性质" /> | 154 | placeholder="权利性质" /> |
155 | </el-form-item> | 155 | </el-form-item> |
156 | </el-col> | 156 | </el-col> --> |
157 | 157 | ||
158 | <el-col :span="8"> | 158 | <!-- <el-col :span="8"> |
159 | <el-form-item prop="QLSDFS"> | 159 | <el-form-item prop="QLSDFS"> |
160 | <span slot="label"> | 160 | <span slot="label"> |
161 | 权利设定方式: <br /> | 161 | 权利设定方式: <br /> |
... | @@ -166,7 +166,7 @@ | ... | @@ -166,7 +166,7 @@ |
166 | </el-option> | 166 | </el-option> |
167 | </el-select> | 167 | </el-select> |
168 | </el-form-item> | 168 | </el-form-item> |
169 | </el-col> | 169 | </el-col> --> |
170 | 170 | ||
171 | <el-col :span="8"> | 171 | <el-col :span="8"> |
172 | <el-form-item prop="RJL"> | 172 | <el-form-item prop="RJL"> |
... | @@ -310,7 +310,7 @@ | ... | @@ -310,7 +310,7 @@ |
310 | </el-form-item> | 310 | </el-form-item> |
311 | </el-col> | 311 | </el-col> |
312 | 312 | ||
313 | <el-col :span="8"> | 313 | <!-- <el-col :span="8"> |
314 | <el-form-item prop="ZT" class="borderTopNone"> | 314 | <el-form-item prop="ZT" class="borderTopNone"> |
315 | <span slot="label"> | 315 | <span slot="label"> |
316 | 状态: <br /> | 316 | 状态: <br /> |
... | @@ -321,7 +321,7 @@ | ... | @@ -321,7 +321,7 @@ |
321 | </el-option> | 321 | </el-option> |
322 | </el-select> | 322 | </el-select> |
323 | </el-form-item> | 323 | </el-form-item> |
324 | </el-col> | 324 | </el-col> --> |
325 | </el-row> | 325 | </el-row> |
326 | 326 | ||
327 | <el-row> | 327 | <el-row> |
... | @@ -448,7 +448,7 @@ export default { | ... | @@ -448,7 +448,7 @@ export default { |
448 | type: String, | 448 | type: String, |
449 | default: '' | 449 | default: '' |
450 | }, | 450 | }, |
451 | dataTable: { | 451 | bsmYwsjb: { |
452 | type: String, | 452 | type: String, |
453 | default: '' | 453 | default: '' |
454 | } | 454 | } |
... | @@ -498,7 +498,7 @@ export default { | ... | @@ -498,7 +498,7 @@ export default { |
498 | methods: { | 498 | methods: { |
499 | async featchData () { | 499 | async featchData () { |
500 | try { | 500 | try { |
501 | let { result: res } = await business.getKttZdjbxxById(this.bsmSjsb) | 501 | let { result: res } = await business.kttZdjbxxDetail(this.bsmSjsb) |
502 | this.ruleForm = res | 502 | this.ruleForm = res |
503 | this.featchRule() | 503 | this.featchRule() |
504 | } catch (error) { | 504 | } catch (error) { | ... | ... |
... | @@ -9,83 +9,88 @@ | ... | @@ -9,83 +9,88 @@ |
9 | <el-row> | 9 | <el-row> |
10 | <el-col :span="6"> | 10 | <el-col :span="6"> |
11 | <span>业务报文ID:</span> | 11 | <span>业务报文ID:</span> |
12 | <p>{{ ruleFormList.bizMsgID }}</p> | 12 | <p>{{ dataReport.bizmsgid }}</p> |
13 | </el-col> | 13 | </el-col> |
14 | <el-col :span="6"> | 14 | <el-col :span="6"> |
15 | <span>接入报文ID:</span> | 15 | <span>接入报文ID:</span> |
16 | <p>{{ ruleFormList.asid }}</p> | 16 | <p>{{ dataReport.asid }}</p> |
17 | </el-col> | 17 | </el-col> |
18 | <el-col :span="6"> | 18 | <el-col :span="6"> |
19 | <span>行政区划编码:</span> | 19 | <span>行政区划编码:</span> |
20 | <p>{{ ruleFormList.areaCode }}</p> | 20 | <p>{{ dataReport.areacode }}</p> |
21 | </el-col> | 21 | </el-col> |
22 | <el-col :span="6"> | 22 | <el-col :span="6"> |
23 | <span>上次不动产单元号:</span> | 23 | <span>上次不动产单元号:</span> |
24 | <p>{{ ruleFormList.preestateNum }}</p> | 24 | <p>{{ dataReport.preestatenum }}</p> |
25 | </el-col> | 25 | </el-col> |
26 | </el-row> | 26 | </el-row> |
27 | <el-row> | 27 | <el-row> |
28 | <el-col :span="6"> | 28 | <el-col :span="6"> |
29 | <span>业务编码:</span> | 29 | <span>业务编码:</span> |
30 | <p>{{ ruleFormList.recType }}</p> | 30 | <p>{{ dataReport.rectype }}</p> |
31 | </el-col> | 31 | </el-col> |
32 | <el-col :span="6"> | 32 | <el-col :span="6"> |
33 | <span>权利类型:</span> | 33 | <span>权利类型:</span> |
34 | <p>{{ ruleFormList.rightType }}</p> | 34 | <p>{{ dataReport.righttype }}</p> |
35 | </el-col> | 35 | </el-col> |
36 | <el-col :span="6"> | 36 | <el-col :span="6"> |
37 | <span>登记类型:</span> | 37 | <span>登记类型:</span> |
38 | <p>{{ ruleFormList.regType }}</p> | 38 | <p>{{ dataReport.regtype }}</p> |
39 | </el-col> | 39 | </el-col> |
40 | <el-col :span="6"> | 40 | <el-col :span="6"> |
41 | <span>不动产权证书数量:</span> | 41 | <span>不动产权证书数量:</span> |
42 | <p>{{ ruleFormList.certCount }}</p> | 42 | <p>{{ dataReport.certcount }}</p> |
43 | </el-col> | 43 | </el-col> |
44 | </el-row> | 44 | </el-row> |
45 | <el-row> | 45 | <el-row> |
46 | <el-col :span="6"> | 46 | <el-col :span="6"> |
47 | <span>创建时间:</span> | 47 | <span>创建时间:</span> |
48 | <p>{{ ruleFormList.createDate }}</p> | 48 | <p>{{ dataReport.syscreatedate }}</p> |
49 | </el-col> | 49 | </el-col> |
50 | <el-col :span="6"> | 50 | <el-col :span="6"> |
51 | <span>业务流水号:</span> | 51 | <span>业务流水号:</span> |
52 | <p>{{ ruleFormList.recFlowID }}</p> | 52 | <p>{{ dataReport.recflowid }}</p> |
53 | </el-col> | 53 | </el-col> |
54 | <el-col :span="6"> | 54 | <el-col :span="6"> |
55 | <span>登记机构:</span> | 55 | <span>登记机构:</span> |
56 | <p>{{ ruleFormList.regOrgID }}</p> | 56 | <p>{{ dataReport.regorgid }}</p> |
57 | </el-col> | 57 | </el-col> |
58 | <el-col :span="6"> | 58 | <el-col :span="6"> |
59 | <span>证明数量:</span> | 59 | <span>证明数量:</span> |
60 | <p>{{ ruleFormList.prllfCount }}</p> | 60 | <p>{{ dataReport.proofcount }}</p> |
61 | </el-col> | 61 | </el-col> |
62 | </el-row> | 62 | </el-row> |
63 | <el-row> | 63 | <el-row> |
64 | <el-col :span="6"> | 64 | <el-col :span="6"> |
65 | <span>宗地/宗海代码:</span> | 65 | <span>宗地/宗海代码:</span> |
66 | <p>{{ ruleFormList.parcelID }}</p> | 66 | <p>{{ dataReport.parcelid }}</p> |
67 | </el-col> | 67 | </el-col> |
68 | <el-col :span="10"> | 68 | <el-col :span="6"> |
69 | <span>不动产单元号:</span> | 69 | <span>不动产单元号:</span> |
70 | <p>{{ ruleFormList.estateNum }}</p> | 70 | <p>{{ dataReport.estatenum }}</p> |
71 | </el-col> | 71 | </el-col> |
72 | <el-col :span="7"> | 72 | <el-col :span="10"> |
73 | <span>上次不动产权证号/不动产登记证明:</span> | 73 | <span>上次不动产权证号/不动产登记证明:</span> |
74 | <p>{{ ruleFormList.preCertID }}</p> | 74 | <p>{{ dataReport.precertid }}</p> |
75 | </el-col> | ||
76 | </el-row> | ||
77 | <el-row> | ||
78 | <el-col :span="24"> | ||
79 | <span>数字签名:</span> | ||
80 | <p>{{ dataReport.digitalsign }}</p> | ||
75 | </el-col> | 81 | </el-col> |
76 | </el-row> | 82 | </el-row> |
77 | </div> | 83 | </div> |
78 | <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList"> | 84 | <el-tabs v-model="activeName" ref="elTabs" type="card" @tab-click="changeList"> |
79 | <el-tab-pane :name="item.soleUrl" v-for="item in headerList" :key="item.soleUrl"> | 85 | <el-tab-pane :name="item.soleurl" v-for="item in headerList" :key="item.soleurl"> |
80 | <div slot="label" class="tab-pane-item"> | 86 | <div slot="label" class="tab-pane-item"> |
81 | <p class="name">{{ item.chineseTable }}</p> | 87 | <p class="name">{{ item.chinesetable }}</p> |
82 | <p class="soleUrl" :data-name="item.soleUrl">({{ item.dataTable }})</p> | 88 | <p class="soleurl" :data-name="item.soleurl">({{ item.datatable }})</p> |
83 | </div> | 89 | </div> |
84 | </el-tab-pane> | 90 | </el-tab-pane> |
85 | </el-tabs> | 91 | </el-tabs> |
86 | <div class="edit-content"> | 92 | <div class="edit-content"> |
87 | <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmSjsb="bsmSjsb" | 93 | <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bizmsgid"/> |
88 | :dataTable="dataTable" /> | ||
89 | </div> | 94 | </div> |
90 | <div slot="footer" class="dialog_footer" ref="dialogFooter"> | 95 | <div slot="footer" class="dialog_footer" ref="dialogFooter"> |
91 | <div class="dialog_button"> | 96 | <div class="dialog_button"> |
... | @@ -101,21 +106,19 @@ | ... | @@ -101,21 +106,19 @@ |
101 | <script> | 106 | <script> |
102 | import { mapGetters } from 'vuex' | 107 | import { mapGetters } from 'vuex' |
103 | import dataReporting from '@/api/dataReporting' | 108 | import dataReporting from '@/api/dataReporting' |
109 | import { getDetail } from '@/api/sbbwcx.js' | ||
104 | import { MessageBox } from 'element-ui' | 110 | import { MessageBox } from 'element-ui' |
105 | export default { | 111 | export default { |
106 | computed: { | 112 | computed: { |
107 | ...mapGetters(['Edit']) | 113 | ...mapGetters(['dictData']) |
108 | }, | 114 | }, |
109 | props: { | 115 | props: { |
110 | diaData: Object, | ||
111 | bsmSjsb: { | ||
112 | type: String, | ||
113 | default: '' | ||
114 | } | ||
115 | }, | 116 | }, |
116 | data () { | 117 | data () { |
117 | return { | 118 | return { |
119 | dataReport: {}, | ||
118 | index: 0, | 120 | index: 0, |
121 | bsmYwsjb: '', | ||
119 | ruleFormList: { | 122 | ruleFormList: { |
120 | bizMsgID: '', | 123 | bizMsgID: '', |
121 | asid: '', | 124 | asid: '', |
... | @@ -145,35 +148,26 @@ export default { | ... | @@ -145,35 +148,26 @@ export default { |
145 | } | 148 | } |
146 | }, | 149 | }, |
147 | methods: { | 150 | methods: { |
148 | async getFormList (id) { | 151 | isShow (item) { |
149 | let { result: res } = await dataReporting.searchTaskInfoByMsgid(id) | 152 | this.dataReport = item; |
150 | this.ruleFormList = res | ||
151 | }, | ||
152 | isShow () { | ||
153 | setTimeout(() => { | ||
154 | if (this.diaData && this.diaData.list) { | ||
155 | this.getFormList(this.diaData.msgId) | ||
156 | this.headerList = this.diaData.list | ||
157 | this.activeName = this.diaData.list[0].soleUrl | ||
158 | this.dataTable = this.diaData.list[0].dataTable | ||
159 | this.title = this.diaData.jrywmc | ||
160 | } | ||
161 | this.dialogVisible = true | 153 | this.dialogVisible = true |
162 | if (this.activeName) { | 154 | //获取表头列表 |
163 | this.editItem = this.loadView(this.activeName) | 155 | getDetail({bizmsgid: this.dataReport.bizmsgid}).then(res => { |
156 | if(res.code == 200){ | ||
157 | this.headerList = res.result | ||
164 | } | 158 | } |
165 | }, 0) | 159 | }) |
166 | }, | 160 | }, |
167 | changeList (val) { | 161 | changeList (val) { |
168 | console.log(this.$refs.elTabs,) | ||
169 | let _index = val.index | 162 | let _index = val.index |
170 | if (_index > this.index) { | 163 | if (_index > this.index) { |
171 | 164 | ||
172 | } | 165 | } |
173 | this.index = _index | 166 | this.index = _index |
167 | this.bsmYwsjb = this.headerList[val.index].bsmYwsjb | ||
174 | this.editItem = this.loadView(this.activeName) | 168 | this.editItem = this.loadView(this.activeName) |
175 | this.diaData.list.forEach((item) => { | 169 | this.diaData.list.forEach((item) => { |
176 | if (item.soleUrl == this.activeName) { | 170 | if (item.soleurl == this.activeName) { |
177 | this.dataTable = item.dataTable | 171 | this.dataTable = item.dataTable |
178 | } | 172 | } |
179 | }); | 173 | }); | ... | ... |
... | @@ -34,7 +34,7 @@ let mixin = { | ... | @@ -34,7 +34,7 @@ let mixin = { |
34 | }, | 34 | }, |
35 | async featchRule () { | 35 | async featchRule () { |
36 | try { | 36 | try { |
37 | let { result: { sysywsjbfieldlist } } = await ruleConfig.getRuleList(this.dataTable) | 37 | let { result: { sysywsjbfieldlist } } = await ruleConfig.getRuleList(this.bsmYwsjb) |
38 | sysywsjbfieldlist.forEach((item) => { | 38 | sysywsjbfieldlist.forEach((item) => { |
39 | this.subRules[item.FIELD] = [ | 39 | this.subRules[item.FIELD] = [ |
40 | { | 40 | { | ... | ... |
... | @@ -9,23 +9,23 @@ class data extends filter { | ... | @@ -9,23 +9,23 @@ class data extends filter { |
9 | type: 'selection' | 9 | type: 'selection' |
10 | }, | 10 | }, |
11 | { | 11 | { |
12 | prop: "xzqdm", | 12 | prop: "pcode", |
13 | label: "行政区代码", | 13 | label: "行政区代码", |
14 | }, | 14 | }, |
15 | { | 15 | { |
16 | prop: "bdcdyh", | 16 | prop: "estatenum", |
17 | label: "不动产单元号", | 17 | label: "不动产单元号", |
18 | }, | 18 | }, |
19 | { | 19 | { |
20 | prop: "xzqmc", | 20 | prop: "pcode", |
21 | label: "行政区名称", | 21 | label: "行政区名称", |
22 | }, | 22 | }, |
23 | { | 23 | { |
24 | prop: "ywbm", | 24 | prop: "rectype", |
25 | label: "业务编码", | 25 | label: "业务编码", |
26 | }, | 26 | }, |
27 | { | 27 | { |
28 | prop: "sbsj", | 28 | prop: "uploadtime", |
29 | label: "上报时间", | 29 | label: "上报时间", |
30 | }, | 30 | }, |
31 | { | 31 | { |
... | @@ -35,9 +35,7 @@ class data extends filter { | ... | @@ -35,9 +35,7 @@ class data extends filter { |
35 | return ( | 35 | return ( |
36 | <div> | 36 | <div> |
37 | { | 37 | { |
38 | scope.row.sbjg | 38 | !scope.row.successflag ? '' : scope.row.successflag == '1' ? <el-tag type='success'>成功</el-tag> : <el-tag type='primary'>失败</el-tag> |
39 | ? <el-tag type='success'>通过</el-tag> | ||
40 | : <el-tag type='primary'>通过1</el-tag> | ||
41 | } | 39 | } |
42 | </div> | 40 | </div> |
43 | ) | 41 | ) | ... | ... |
... | @@ -6,20 +6,20 @@ | ... | @@ -6,20 +6,20 @@ |
6 | <el-form ref="ruleForm" :model="form" label-width="100px"> | 6 | <el-form ref="ruleForm" :model="form" label-width="100px"> |
7 | <el-row class="marginbtm5"> | 7 | <el-row class="marginbtm5"> |
8 | <el-col :span="6"> | 8 | <el-col :span="6"> |
9 | <el-form-item label="不动产单元号" prop="bdcdyh"> | 9 | <el-form-item label="不动产单元号" prop="estatenum"> |
10 | <el-input v-model="form.bdcdyh" class="width100" placeholder="不动产单元号"></el-input> | 10 | <el-input v-model="form.estatenum" class="width100" placeholder="不动产单元号"></el-input> |
11 | </el-form-item> | 11 | </el-form-item> |
12 | </el-col> | 12 | </el-col> |
13 | <el-col :span="6"> | 13 | <el-col :span="6"> |
14 | <el-form-item label="开始日期" prop="startTime"> | 14 | <el-form-item label="开始日期" prop="reportStartTime"> |
15 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" | 15 | <el-date-picker type="date" class="width100" placeholder="开始日期" :picker-options="pickerOptionsStart" |
16 | clearable v-model="form.startTime" value-format="yyyy-MM-dd"></el-date-picker> | 16 | clearable v-model="form.reportStartTime" value-format="yyyy-MM-dd"></el-date-picker> |
17 | </el-form-item> | 17 | </el-form-item> |
18 | </el-col> | 18 | </el-col> |
19 | <el-col :span="6"> | 19 | <el-col :span="6"> |
20 | <el-form-item label="结束日期" prop="endTime"> | 20 | <el-form-item label="结束日期" prop="reportEndTime"> |
21 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" | 21 | <el-date-picker type="date" class="width100" placeholder="结束日期" :picker-options="pickerOptionsEnd" |
22 | clearable v-model="form.endTime" value-format="yyyy-MM-dd"></el-date-picker> | 22 | clearable v-model="form.reportEndTime" value-format="yyyy-MM-dd"></el-date-picker> |
23 | </el-form-item> | 23 | </el-form-item> |
24 | </el-col> | 24 | </el-col> |
25 | <el-col :span="6"> | 25 | <el-col :span="6"> |
... | @@ -33,8 +33,8 @@ | ... | @@ -33,8 +33,8 @@ |
33 | </el-row> | 33 | </el-row> |
34 | <el-row> | 34 | <el-row> |
35 | <el-col :span="6"> | 35 | <el-col :span="6"> |
36 | <el-form-item label="响应结果" prop="status"> | 36 | <el-form-item label="响应结果" prop="state"> |
37 | <el-select v-model="form.status" class="width100" clearable placeholder="响应结果"> | 37 | <el-select v-model="form.state" class="width100" clearable placeholder="响应结果"> |
38 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> | 38 | <el-option v-for="item in []" :key="item.value" :label="item.label" :value="item.value"> |
39 | </el-option> | 39 | </el-option> |
40 | </el-select> | 40 | </el-select> |
... | @@ -60,14 +60,14 @@ | ... | @@ -60,14 +60,14 @@ |
60 | <!-- 列表 --> | 60 | <!-- 列表 --> |
61 | <div class="from-clues-content"> | 61 | <div class="from-clues-content"> |
62 | <lb-table ref="table" :heightNum="300" @selection-change="handleSelectionChange" :page-size="pageData.size" | 62 | <lb-table ref="table" :heightNum="300" @selection-change="handleSelectionChange" :page-size="pageData.size" |
63 | :current-page.sync="pageData.current" :total="pageData.total" @size-change="handleSizeChange" | 63 | :current-page.sync="pageData.current" :total="tableData.total" @size-change="handleSizeChange" |
64 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> | 64 | @p-current-change="handleCurrentChange" :column="tableData.columns" :data="tableData.data"> |
65 | </lb-table> | 65 | </lb-table> |
66 | </div> | 66 | </div> |
67 | <!-- 引入详情组件 --> | 67 | <!-- 引入详情组件 --> |
68 | <!-- <detailDialog v-model="isShow" /> --> | 68 | <!-- <detailDialog v-model="isShow" /> --> |
69 | <!-- 编辑 --> | 69 | <!-- 编辑 --> |
70 | <dataDetails ref="editLog" :bsmSjsb="bsmSjsb" :diaData="diaData" /> | 70 | <dataDetails ref="editLog" /> |
71 | </div> | 71 | </div> |
72 | </template> | 72 | </template> |
73 | <script> | 73 | <script> |
... | @@ -78,8 +78,7 @@ import data from "./data" | ... | @@ -78,8 +78,7 @@ import data from "./data" |
78 | import tableMixin from '@/mixins/tableMixin.js' | 78 | import tableMixin from '@/mixins/tableMixin.js' |
79 | // 引入详情弹框 | 79 | // 引入详情弹框 |
80 | import dataDetails from '@/components/dataDetails/edit-dialog' | 80 | import dataDetails from '@/components/dataDetails/edit-dialog' |
81 | import sbbwcx from "@/api/sbbwcx.js"; | 81 | import {getDataReportPage} from "@/api/sbbwcx.js"; |
82 | import { getQlxxDictList, getChildDictList, refreshDictCache } from "@/api/user.js" | ||
83 | 82 | ||
84 | export default { | 83 | export default { |
85 | name: "sbbwcx", | 84 | name: "sbbwcx", |
... | @@ -90,15 +89,13 @@ export default { | ... | @@ -90,15 +89,13 @@ export default { |
90 | }, | 89 | }, |
91 | data () { | 90 | data () { |
92 | return { | 91 | return { |
93 | bsmSjsb: '', | ||
94 | diaData: {}, | ||
95 | isShow: false, | 92 | isShow: false, |
96 | // 开始结束日期限制 | 93 | // 开始结束日期限制 |
97 | pickerOptionsStart: { | 94 | pickerOptionsStart: { |
98 | disabledDate: (time) => { | 95 | disabledDate: (time) => { |
99 | if (this.form.endTime) { | 96 | if (this.form.reportEndTime) { |
100 | return ( | 97 | return ( |
101 | time.getTime() >= new Date(this.form.endTime).getTime() | 98 | time.getTime() >= new Date(this.form.reportEndTime).getTime() |
102 | ); | 99 | ); |
103 | } | 100 | } |
104 | } | 101 | } |
... | @@ -106,22 +103,21 @@ export default { | ... | @@ -106,22 +103,21 @@ export default { |
106 | // 结束日期限制 | 103 | // 结束日期限制 |
107 | pickerOptionsEnd: { | 104 | pickerOptionsEnd: { |
108 | disabledDate: (time) => { | 105 | disabledDate: (time) => { |
109 | if (this.form.startTime) { | 106 | if (this.form.reportStartTime) { |
110 | return ( | 107 | return ( |
111 | time.getTime() <= new Date(this.form.startTime).getTime() | 108 | time.getTime() <= new Date(this.form.reportStartTime).getTime() |
112 | ); | 109 | ); |
113 | } | 110 | } |
114 | } | 111 | } |
115 | }, | 112 | }, |
116 | // 头部搜索 | 113 | // 头部搜索 |
117 | form: { | 114 | form: { |
118 | bdcdyh: '', | 115 | estatenum: '', |
119 | startTime: '', | 116 | reportStartTime: '', |
120 | endTime: '', | 117 | reportEndTime: '', |
121 | ywmc: '', | 118 | ywmc: '', |
122 | status: '', | 119 | state: '', |
123 | pcode: '', | 120 | pcode: '' |
124 | currentPage: 1 | ||
125 | }, | 121 | }, |
126 | // table数据 | 122 | // table数据 |
127 | tableData: { | 123 | tableData: { |
... | @@ -182,7 +178,7 @@ export default { | ... | @@ -182,7 +178,7 @@ export default { |
182 | }, | 178 | }, |
183 | // 初始化数据 | 179 | // 初始化数据 |
184 | featchData () { | 180 | featchData () { |
185 | sbbwcx.getDataReportPage({ ...this.form, ...this.pageData }).then(res => { | 181 | getDataReportPage({ ...this.form, ...this.pageData }).then(res => { |
186 | if (res.code === 200) { | 182 | if (res.code === 200) { |
187 | let { total, records } = res.result | 183 | let { total, records } = res.result |
188 | this.tableData.total = total; | 184 | this.tableData.total = total; |
... | @@ -198,8 +194,7 @@ export default { | ... | @@ -198,8 +194,7 @@ export default { |
198 | handleEscalation () { }, | 194 | handleEscalation () { }, |
199 | // 详情 | 195 | // 详情 |
200 | handleDetail (row) { | 196 | handleDetail (row) { |
201 | // this.isShow = true | 197 | this.$refs.editLog.isShow(row) |
202 | this.$refs.editLog.isShow() | ||
203 | } | 198 | } |
204 | } | 199 | } |
205 | } | 200 | } | ... | ... |
... | @@ -17,7 +17,7 @@ | ... | @@ -17,7 +17,7 @@ |
17 | </el-row> | 17 | </el-row> |
18 | </el-form> | 18 | </el-form> |
19 | <lb-table :column="column" class="loadingtext" :heightNum="420" :key="key" :expand-row-keys="keyList" | 19 | <lb-table :column="column" class="loadingtext" :heightNum="420" :key="key" :expand-row-keys="keyList" |
20 | row-key="bsmDict" :tree-props="{ children: 'children' }" :pagination="false" :data="tableData"> | 20 | row-key="dictid" :tree-props="{ children: 'children' }" :pagination="false" :data="tableData"> |
21 | </lb-table> | 21 | </lb-table> |
22 | </dialogBox> | 22 | </dialogBox> |
23 | </template> | 23 | </template> |
... | @@ -62,18 +62,18 @@ export default { | ... | @@ -62,18 +62,18 @@ export default { |
62 | } | 62 | } |
63 | }, | 63 | }, |
64 | { | 64 | { |
65 | prop: 'DCODE', | 65 | prop: 'dcode', |
66 | width: '100', | 66 | width: '100', |
67 | label: '字典项编码', | 67 | label: '字典项编码', |
68 | render: (h, scope) => { | 68 | render: (h, scope) => { |
69 | return ( | 69 | return ( |
70 | <div> | 70 | <div> |
71 | <el-input placeholder="字典项编码" disabled={this.details.ISENABLE == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} | 71 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.codeShow} v-fo value={scope.row[scope.column.property]} |
72 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 72 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
73 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 73 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
74 | 74 | ||
75 | 75 | ||
76 | <el-input placeholder="字典项编码" disabled={this.details.ISENABLE == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} | 76 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={!scope.row.codeShow} value={scope.row[scope.column.property]} |
77 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} | 77 | onFocus={() => { this.itemShowFalse(); scope.row.codeShow = true; }} |
78 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 78 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
79 | </div> | 79 | </div> |
... | @@ -81,16 +81,16 @@ export default { | ... | @@ -81,16 +81,16 @@ export default { |
81 | } | 81 | } |
82 | }, | 82 | }, |
83 | { | 83 | { |
84 | prop: 'DNAME', | 84 | prop: 'dname', |
85 | label: '字典项名称', | 85 | label: '字典项名称', |
86 | render: (h, scope) => { | 86 | render: (h, scope) => { |
87 | return ( | 87 | return ( |
88 | <div> | 88 | <div> |
89 | <el-input placeholder="字典项编码" disabled={this.details.ISENABLE == 2} v-show={scope.row.nameShow} v-fo value={scope.row[scope.column.property]} | 89 | <el-input placeholder="字典项编码" disabled={this.details.isenable == 2} v-show={scope.row.nameShow} v-fo value={scope.row[scope.column.property]} |
90 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} | 90 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} |
91 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> | 91 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
92 | 92 | ||
93 | <el-input placeholder="字典项名称" disabled={this.details.ISENABLE == 2} v-show={!scope.row.nameShow} value={scope.row[scope.column.property]} | 93 | <el-input placeholder="字典项名称" disabled={this.details.isenable == 2} v-show={!scope.row.nameShow} value={scope.row[scope.column.property]} |
94 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} | 94 | onFocus={() => { this.itemShowFalse(); scope.row.nameShow = true; }} |
95 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> | 95 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
96 | </div> | 96 | </div> |
... | @@ -98,17 +98,17 @@ export default { | ... | @@ -98,17 +98,17 @@ export default { |
98 | } | 98 | } |
99 | }, | 99 | }, |
100 | { | 100 | { |
101 | prop: 'NORMCODE', | 101 | prop: 'normcode', |
102 | label: '部标编码', | 102 | label: '部标编码', |
103 | width: '100', | 103 | width: '100', |
104 | render: (h, scope) => { | 104 | render: (h, scope) => { |
105 | return ( | 105 | return ( |
106 | <div> | 106 | <div> |
107 | <el-input placeholder="部标编码" disabled={this.details.ISENABLE == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} | 107 | <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={scope.row.normcodeShow} v-fo value={scope.row[scope.column.property]} |
108 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 108 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
109 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 109 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
110 | 110 | ||
111 | <el-input placeholder="部标编码" disabled={this.details.ISENABLE == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} | 111 | <el-input placeholder="部标编码" disabled={this.details.isenable == 2} v-show={!scope.row.normcodeShow} value={scope.row[scope.column.property]} |
112 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} | 112 | onFocus={() => { this.itemShowFalse(); scope.row.normcodeShow = true; }} |
113 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> | 113 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }} maxlength='8'></el-input> |
114 | </div> | 114 | </div> |
... | @@ -116,16 +116,16 @@ export default { | ... | @@ -116,16 +116,16 @@ export default { |
116 | } | 116 | } |
117 | }, | 117 | }, |
118 | { | 118 | { |
119 | prop: 'NORMNAME', | 119 | prop: 'normname', |
120 | label: '部标名称', | 120 | label: '部标名称', |
121 | render: (h, scope) => { | 121 | render: (h, scope) => { |
122 | return ( | 122 | return ( |
123 | <div> | 123 | <div> |
124 | <el-input placeholder="部标名称" disabled={this.details.ISENABLE == 2} v-show={scope.row.normnameShow} v-fo value={scope.row[scope.column.property]} | 124 | <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={scope.row.normnameShow} v-fo value={scope.row[scope.column.property]} |
125 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} | 125 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} |
126 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> | 126 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
127 | 127 | ||
128 | <el-input placeholder="部标名称" disabled={this.details.ISENABLE == 2} v-show={!scope.row.normnameShow} value={scope.row[scope.column.property]} | 128 | <el-input placeholder="部标名称" disabled={this.details.isenable == 2} v-show={!scope.row.normnameShow} value={scope.row[scope.column.property]} |
129 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} | 129 | onFocus={() => { this.itemShowFalse(); scope.row.normnameShow = true; }} |
130 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> | 130 | onInput={(val) => { scope.row[scope.column.property] = val; this.itemShowFalse(); scope.row.codeShow = true; }}></el-input> |
131 | </div> | 131 | </div> |
... | @@ -133,12 +133,12 @@ export default { | ... | @@ -133,12 +133,12 @@ export default { |
133 | } | 133 | } |
134 | }, | 134 | }, |
135 | { | 135 | { |
136 | prop: 'ISENABLE', | 136 | prop: 'isenable', |
137 | width: '160', | 137 | width: '160', |
138 | label: '是否禁用', | 138 | label: '是否禁用', |
139 | render: (h, scope) => { | 139 | render: (h, scope) => { |
140 | return ( | 140 | return ( |
141 | <el-radio-group disabled={this.details.ISENABLE == 2} v-model={scope.row.ISENABLE}> | 141 | <el-radio-group disabled={this.details.isenable == 2} v-model={scope.row.isenable}> |
142 | <el-radio label="1">启用</el-radio> | 142 | <el-radio label="1">启用</el-radio> |
143 | <el-radio label="0">禁用</el-radio> | 143 | <el-radio label="0">禁用</el-radio> |
144 | </el-radio-group> | 144 | </el-radio-group> |
... | @@ -177,7 +177,7 @@ export default { | ... | @@ -177,7 +177,7 @@ export default { |
177 | value (val) { | 177 | value (val) { |
178 | this.myValue = val | 178 | this.myValue = val |
179 | }, | 179 | }, |
180 | 'details.bsmDict': { | 180 | 'details.dictid': { |
181 | handler: function (newValue) { | 181 | handler: function (newValue) { |
182 | if (!this.value) return | 182 | if (!this.value) return |
183 | this.$startLoading(); | 183 | this.$startLoading(); |
... | @@ -243,7 +243,7 @@ export default { | ... | @@ -243,7 +243,7 @@ export default { |
243 | cancelButtonText: '取消', | 243 | cancelButtonText: '取消', |
244 | type: 'warning' | 244 | type: 'warning' |
245 | }).then(() => { | 245 | }).then(() => { |
246 | removeTreeListItem(this.tableData, row.bsmDict) | 246 | removeTreeListItem(this.tableData, row.dictid) |
247 | this.$message({ | 247 | this.$message({ |
248 | type: 'success', | 248 | type: 'success', |
249 | message: '删除成功!' | 249 | message: '删除成功!' |
... | @@ -257,7 +257,7 @@ export default { | ... | @@ -257,7 +257,7 @@ export default { |
257 | }, | 257 | }, |
258 | handleSubmit () { | 258 | handleSubmit () { |
259 | editDictNode({ | 259 | editDictNode({ |
260 | bsmDict: this.details.rowData.bsmDict, | 260 | dictid: this.details.rowData.dictid, |
261 | typeid: this.details.rowData.typeid, | 261 | typeid: this.details.rowData.typeid, |
262 | children: this.tableData | 262 | children: this.tableData |
263 | }).then(res => { | 263 | }).then(res => { |
... | @@ -285,12 +285,12 @@ export default { | ... | @@ -285,12 +285,12 @@ export default { |
285 | ISENABLE: '1', | 285 | ISENABLE: '1', |
286 | NORMCODE: '', | 286 | NORMCODE: '', |
287 | NORMNAME: '', | 287 | NORMNAME: '', |
288 | bsmDict: getUuid(32), | 288 | dictid: getUuid(32), |
289 | typeid: row.typeid, | 289 | typeid: row.typeid, |
290 | } | 290 | } |
291 | ) | 291 | ) |
292 | this.keyList = []; | 292 | this.keyList = []; |
293 | this.keyList.push(row.bsmDict) | 293 | this.keyList.push(row.dictid) |
294 | }, | 294 | }, |
295 | // 增加 | 295 | // 增加 |
296 | handleAdd () { | 296 | handleAdd () { |
... | @@ -305,7 +305,7 @@ export default { | ... | @@ -305,7 +305,7 @@ export default { |
305 | ISENABLE: '1', | 305 | ISENABLE: '1', |
306 | normcode: '', | 306 | normcode: '', |
307 | normname: '', | 307 | normname: '', |
308 | bsmDict: getUuid(32), | 308 | dictid: getUuid(32), |
309 | typeid: this.ruleForm.typeid, | 309 | typeid: this.ruleForm.typeid, |
310 | } | 310 | } |
311 | ) | 311 | ) |
... | @@ -314,15 +314,15 @@ export default { | ... | @@ -314,15 +314,15 @@ export default { |
314 | }, | 314 | }, |
315 | // 上移下移 | 315 | // 上移下移 |
316 | moveUpward (index, row) { | 316 | moveUpward (index, row) { |
317 | realMove(row.bsmDict, 'UP', this.tableData) | 317 | realMove(row.dictid, 'UP', this.tableData) |
318 | this.key++ | 318 | this.key++ |
319 | let id = findParents(this.tableData, row.bsmDict) | 319 | let id = findParents(this.tableData, row.dictid) |
320 | this.keyList = id | 320 | this.keyList = id |
321 | }, | 321 | }, |
322 | moveDown (index, row) { | 322 | moveDown (index, row) { |
323 | realMove(row.bsmDict, 'DOWN', this.tableData) | 323 | realMove(row.dictid, 'DOWN', this.tableData) |
324 | this.key++ | 324 | this.key++ |
325 | let id = findParents(this.tableData, row.bsmDict) | 325 | let id = findParents(this.tableData, row.dictid) |
326 | this.keyList = id | 326 | this.keyList = id |
327 | } | 327 | } |
328 | } | 328 | } | ... | ... |
... | @@ -23,11 +23,11 @@ class data extends filter { | ... | @@ -23,11 +23,11 @@ class data extends filter { |
23 | } | 23 | } |
24 | }, | 24 | }, |
25 | { | 25 | { |
26 | prop: "DCODE", | 26 | prop: "dcode", |
27 | label: "字典类型编码", | 27 | label: "字典类型编码", |
28 | }, | 28 | }, |
29 | { | 29 | { |
30 | prop: "DNAME", | 30 | prop: "dname", |
31 | label: "字典类型名称", | 31 | label: "字典类型名称", |
32 | }, | 32 | }, |
33 | { | 33 | { | ... | ... |
... | @@ -52,7 +52,7 @@ export default { | ... | @@ -52,7 +52,7 @@ export default { |
52 | return { | 52 | return { |
53 | isDialog: false, | 53 | isDialog: false, |
54 | details: { | 54 | details: { |
55 | bsmDict: '', | 55 | dictid: '', |
56 | isenable: 1, | 56 | isenable: 1, |
57 | rowData: {} | 57 | rowData: {} |
58 | }, | 58 | }, |
... | @@ -107,7 +107,7 @@ export default { | ... | @@ -107,7 +107,7 @@ export default { |
107 | editClick (row, val) { | 107 | editClick (row, val) { |
108 | this.details.rowData = row | 108 | this.details.rowData = row |
109 | this.details.isenable = val | 109 | this.details.isenable = val |
110 | this.details.bsmDict = row.bsmDict | 110 | this.details.dictid = row.dictid |
111 | this.isDialog = true | 111 | this.isDialog = true |
112 | } | 112 | } |
113 | } | 113 | } | ... | ... |
-
Please register or sign in to post a comment