551986bf by 蔡俊立

字典

1 parent a4c5fd3c
...@@ -5,4 +5,4 @@ NODE_ENV=development ...@@ -5,4 +5,4 @@ NODE_ENV=development
5 VUE_APP_BASE_API = '/api' 5 VUE_APP_BASE_API = '/api'
6 6
7 # 开发环境 7 # 开发环境
8 VUE_APP_API_BASE_URL = 'http://192.168.2.38:8008' 8 VUE_APP_API_BASE_URL = 'http://192.168.2.95:8027'
......
...@@ -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 }
......
...@@ -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) {
......
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
90 </el-tab-pane> 90 </el-tab-pane>
91 </el-tabs> 91 </el-tabs>
92 <div class="edit-content"> 92 <div class="edit-content">
93 <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :dataTable="dataTable" /> 93 <component :is="editItem" ref="editItem" :class="{ 'editForm': $store.state.business.Edit }" :bsmYwsjb="bsmYwsjb" :bsmSjsb="dataReport.bizmsgid"/>
94 </div> 94 </div>
95 <div slot="footer" class="dialog_footer" ref="dialogFooter"> 95 <div slot="footer" class="dialog_footer" ref="dialogFooter">
96 <div class="dialog_button"> 96 <div class="dialog_button">
...@@ -110,7 +110,7 @@ import { getDetail } from '@/api/sbbwcx.js' ...@@ -110,7 +110,7 @@ import { getDetail } from '@/api/sbbwcx.js'
110 import { MessageBox } from 'element-ui' 110 import { MessageBox } from 'element-ui'
111 export default { 111 export default {
112 computed: { 112 computed: {
113 ...mapGetters(['Edit']) 113 ...mapGetters(['dictData'])
114 }, 114 },
115 props: { 115 props: {
116 }, 116 },
...@@ -118,6 +118,7 @@ export default { ...@@ -118,6 +118,7 @@ export default {
118 return { 118 return {
119 dataReport: {}, 119 dataReport: {},
120 index: 0, 120 index: 0,
121 bsmYwsjb: '',
121 ruleFormList: { 122 ruleFormList: {
122 bizMsgID: '', 123 bizMsgID: '',
123 asid: '', 124 asid: '',
...@@ -154,8 +155,6 @@ export default { ...@@ -154,8 +155,6 @@ export default {
154 getDetail({bizmsgid: this.dataReport.bizmsgid}).then(res => { 155 getDetail({bizmsgid: this.dataReport.bizmsgid}).then(res => {
155 if(res.code == 200){ 156 if(res.code == 200){
156 this.headerList = res.result 157 this.headerList = res.result
157 console.log(this.headerList);
158
159 } 158 }
160 }) 159 })
161 }, 160 },
...@@ -165,6 +164,7 @@ export default { ...@@ -165,6 +164,7 @@ export default {
165 164
166 } 165 }
167 this.index = _index 166 this.index = _index
167 this.bsmYwsjb = this.headerList[val.index].bsmYwsjb
168 this.editItem = this.loadView(this.activeName) 168 this.editItem = this.loadView(this.activeName)
169 this.diaData.list.forEach((item) => { 169 this.diaData.list.forEach((item) => {
170 if (item.soleurl == this.activeName) { 170 if (item.soleurl == this.activeName) {
......
...@@ -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 {
......
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
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>
......
...@@ -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 }
......