Merge branch 'master' of http://yun.pashanhoo.com:9090/bdc/bdcdj-web
Showing
8 changed files
with
25 additions
and
12 deletions
... | @@ -37,7 +37,9 @@ export function saveSqdjyw (data) { | ... | @@ -37,7 +37,9 @@ export function saveSqdjyw (data) { |
37 | return request({ | 37 | return request({ |
38 | url: '/system/sysSqdjyw/saveSqdjyw', | 38 | url: '/system/sysSqdjyw/saveSqdjyw', |
39 | method: 'post', | 39 | method: 'post', |
40 | data | 40 | data, |
41 | showLoading: true, | ||
42 | loadingTarget: '正在保存中...' | ||
41 | }) | 43 | }) |
42 | } | 44 | } |
43 | 45 | ... | ... |
... | @@ -3,7 +3,7 @@ | ... | @@ -3,7 +3,7 @@ |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="ruleForm"> | 5 | <el-form :model="ruleForm"> |
6 | <el-row> | 6 | <el-row :gutter="20"> |
7 | <el-col :span="6"> | 7 | <el-col :span="6"> |
8 | <el-form-item label="字典类型编码"> | 8 | <el-form-item label="字典类型编码"> |
9 | <el-input v-model="ruleForm.dcode" placeholder="字典类型编码"></el-input> | 9 | <el-input v-model="ruleForm.dcode" placeholder="字典类型编码"></el-input> | ... | ... |
... | @@ -3,10 +3,10 @@ | ... | @@ -3,10 +3,10 @@ |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm"> | 5 | <el-form :model="queryForm" ref="queryForm"> |
6 | <el-row> | 6 | <el-row :gutter="20"> |
7 | <el-col :span="6"> | 7 | <el-col :span="6"> |
8 | <el-form-item label="权利类型"> | 8 | <el-form-item label="权利类型"> |
9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 9 | <el-select v-model="queryForm.qllx" class="width100" filterable clearable placeholder="请选择权利类型"> |
10 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 10 | <el-option v-for="item in dictData['A8']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
11 | </el-option> | 11 | </el-option> |
12 | </el-select> | 12 | </el-select> | ... | ... |
... | @@ -76,8 +76,12 @@ export default { | ... | @@ -76,8 +76,12 @@ export default { |
76 | }, | 76 | }, |
77 | subData: { | 77 | subData: { |
78 | handler (newValue, oldValue) { | 78 | handler (newValue, oldValue) { |
79 | this.dataList.sxql = newValue.sxql | 79 | if (!_.isEqual(newValue.sxql, this.dataList.sxql)) { |
80 | this.dataList.sxzt = newValue.sxzt | 80 | this.dataList.sxql = _.cloneDeep(newValue.sxql) |
81 | } | ||
82 | if (!_.isEqual(newValue.sxzt, this.dataList.sxzt)) { | ||
83 | this.dataList.sxzt = _.cloneDeep(newValue.sxzt) | ||
84 | } | ||
81 | }, | 85 | }, |
82 | deep: true | 86 | deep: true |
83 | }, | 87 | }, |
... | @@ -89,12 +93,12 @@ export default { | ... | @@ -89,12 +93,12 @@ export default { |
89 | } | 93 | } |
90 | }, | 94 | }, |
91 | handleSelectall () { | 95 | handleSelectall () { |
92 | this.dataList.qlxxList.forEach(item => { | 96 | this.dataList.sxql.forEach(item => { |
93 | item.checked = true | 97 | item.checked = true |
94 | }) | 98 | }) |
95 | }, | 99 | }, |
96 | handleInvert () { | 100 | handleInvert () { |
97 | this.dataList.qlxxList.forEach(item => { | 101 | this.dataList.sxql.forEach(item => { |
98 | item.checked = false | 102 | item.checked = false |
99 | }) | 103 | }) |
100 | } | 104 | } | ... | ... |
... | @@ -252,8 +252,12 @@ export default { | ... | @@ -252,8 +252,12 @@ export default { |
252 | }, | 252 | }, |
253 | // 单元状态设定 | 253 | // 单元状态设定 |
254 | getDyztsdValue (val) { | 254 | getDyztsdValue (val) { |
255 | this.subData.sxql = val.sxql | 255 | if (!_.isEqual(val.sxql, this.subData.sxql)) { |
256 | this.subData.sxzt = val.sxzt | 256 | this.subData.sxql = val.sxql |
257 | } | ||
258 | if (!_.isEqual(val.sxzt, this.subData.sxzt)) { | ||
259 | this.subData.sxzt = val.sxzt | ||
260 | } | ||
257 | }, | 261 | }, |
258 | submitForm () { | 262 | submitForm () { |
259 | this.$refs['ruleForm'].validate(async (valid) => { | 263 | this.$refs['ruleForm'].validate(async (valid) => { | ... | ... |
... | @@ -3,10 +3,10 @@ | ... | @@ -3,10 +3,10 @@ |
3 | <!-- 表单部分 --> | 3 | <!-- 表单部分 --> |
4 | <div class="from-clues-header"> | 4 | <div class="from-clues-header"> |
5 | <el-form :model="queryForm" ref="queryForm"> | 5 | <el-form :model="queryForm" ref="queryForm"> |
6 | <el-row> | 6 | <el-row :gutter="20"> |
7 | <el-col :span="6"> | 7 | <el-col :span="6"> |
8 | <el-form-item label="权利类型"> | 8 | <el-form-item label="权利类型"> |
9 | <el-select v-model="queryForm.qllx" filterable clearable placeholder="请选择权利类型"> | 9 | <el-select v-model="queryForm.qllx" filterable class="width100" clearable placeholder="请选择权利类型"> |
10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> | 10 | <el-option v-for="item in qllxs" :key="item.value" :label="item.label" :value="item.value"> |
11 | </el-option> | 11 | </el-option> |
12 | </el-select> | 12 | </el-select> | ... | ... |
... | @@ -25,6 +25,7 @@ class data extends filter { | ... | @@ -25,6 +25,7 @@ class data extends filter { |
25 | { | 25 | { |
26 | prop: "sqfl",//申请分类(1:正常申请,2:一并申请,3:补录申请) | 26 | prop: "sqfl",//申请分类(1:正常申请,2:一并申请,3:补录申请) |
27 | label: "申请分类", | 27 | label: "申请分类", |
28 | width: '100', | ||
28 | render: (h, scope) => { | 29 | render: (h, scope) => { |
29 | return <div>{this.sqfls(scope.row.sqfl)}</div>; | 30 | return <div>{this.sqfls(scope.row.sqfl)}</div>; |
30 | } | 31 | } |
... | @@ -32,6 +33,7 @@ class data extends filter { | ... | @@ -32,6 +33,7 @@ class data extends filter { |
32 | }, | 33 | }, |
33 | { | 34 | { |
34 | prop: "nodecode", | 35 | prop: "nodecode", |
36 | width: '110', | ||
35 | label: "权利类型编码", | 37 | label: "权利类型编码", |
36 | }, | 38 | }, |
37 | { | 39 | { | ... | ... |
-
Please register or sign in to post a comment