Merge branch 'dev'
Showing
8 changed files
with
132 additions
and
130 deletions
... | @@ -18,51 +18,54 @@ | ... | @@ -18,51 +18,54 @@ |
18 | > | 18 | > |
19 | <el-table-column prop="index" width="50" :render-header="renderHeader"> | 19 | <el-table-column prop="index" width="50" :render-header="renderHeader"> |
20 | <template slot-scope="scope"> | 20 | <template slot-scope="scope"> |
21 | <div style="text-align: center"> | 21 | <div style="text-align: center">{{ scope.$index + 1 }}</div> |
22 | {{ scope.$index + 1 }} | ||
23 | </div> | ||
24 | </template> | 22 | </template> |
25 | </el-table-column> | 23 | </el-table-column> |
26 | <el-table-column prop="bdcdyh" label="不动产单元号" min-width="100"> | 24 | <el-table-column prop="bdcdyh" label="不动产单元号" min-width="100"> |
27 | <template slot-scope="scope"> | 25 | <template slot-scope="scope"> |
28 | <div style="text-align: center"> | 26 | <div style="text-align: center">{{ scope.row.bdcdyh }}</div> |
29 | {{ scope.row.bdcdyh }} | ||
30 | </div> | ||
31 | </template> | 27 | </template> |
32 | </el-table-column> | 28 | </el-table-column> |
33 | <el-table-column prop="xmmc" label="项目名称" min-width="100"> | 29 | <el-table-column prop="xmmc" label="项目名称" min-width="100"> |
34 | <template slot-scope="scope"> | 30 | <template slot-scope="scope"> |
35 | <div style="text-align: center"> | 31 | <div style="text-align: center">{{ scope.row.xmmc }}</div> |
36 | {{ scope.row.xmmc }} | 32 | </template> |
37 | </div> | 33 | </el-table-column> |
34 | <el-table-column prop="zcs" label="总层数" min-width="100"> | ||
35 | <template slot-scope="scope"> | ||
36 | <div style="text-align: center">{{ scope.row.zcs }}</div> | ||
37 | </template> | ||
38 | </el-table-column> | ||
39 | <el-table-column prop="ytmc" label="房屋用途" min-width="100"> | ||
40 | <template slot-scope="scope"> | ||
41 | <div style="text-align: center">{{ scope.row.ytmc }}</div> | ||
42 | </template> | ||
43 | </el-table-column> | ||
44 | <el-table-column prop="fwjgmc" label="房屋结构" min-width="100"> | ||
45 | <template slot-scope="scope"> | ||
46 | <div style="text-align: center">{{ scope.row.fwjgmc }}</div> | ||
38 | </template> | 47 | </template> |
39 | </el-table-column> | 48 | </el-table-column> |
40 | <el-table-column prop="jzmj" label="建筑面积" min-width="100"> | 49 | <el-table-column prop="jzmj" label="建筑面积" min-width="100"> |
41 | <template slot-scope="scope"> | 50 | <template slot-scope="scope"> |
42 | <div style="text-align: center"> | 51 | <div style="text-align: center">{{ scope.row.jzmj }}</div> |
43 | {{ scope.row.jzmj }} | ||
44 | </div> | ||
45 | </template> | 52 | </template> |
46 | </el-table-column> | 53 | </el-table-column> |
47 | <el-table-column prop="ytmc" label="用途名称" min-width="100"> | 54 | <el-table-column prop="jgsj" label="竣工时间" min-width="100"> |
48 | <template slot-scope="scope"> | 55 | <template slot-scope="scope"> |
49 | <div style="text-align: center"> | 56 | <div style="text-align: center">{{ scope.row.jgsj }}</div> |
50 | {{ scope.row.ytmc }} | ||
51 | </div> | ||
52 | </template> | 57 | </template> |
53 | </el-table-column> | 58 | </el-table-column> |
54 | <el-table-column prop="fwjgmc" label="房屋结构名称" min-width="100"> | 59 | <el-table-column prop="zts" label="总套数" min-width="100"> |
55 | <template slot-scope="scope"> | 60 | <template slot-scope="scope"> |
56 | <div style="text-align: center"> | 61 | <div style="text-align: center">{{ scope.row.zts }}</div> |
57 | {{ scope.row.fwjgmc }} | ||
58 | </div> | ||
59 | </template> | 62 | </template> |
60 | </el-table-column> | 63 | </el-table-column> |
61 | </el-table> | 64 | </el-table> |
62 | </div> | 65 | </div> |
63 | </template> | 66 | </template> |
64 | <script> | 67 | <script> |
65 | import {mapGetters} from "vuex"; | 68 | import { mapGetters } from "vuex"; |
66 | 69 | ||
67 | export default { | 70 | export default { |
68 | computed: { | 71 | computed: { |
... | @@ -84,11 +87,10 @@ export default { | ... | @@ -84,11 +87,10 @@ export default { |
84 | return { | 87 | return { |
85 | // 键名转换,方法默认是label和children进行树状渲染 | 88 | // 键名转换,方法默认是label和children进行树状渲染 |
86 | key: 0, | 89 | key: 0, |
87 | tableDataList: [] | 90 | tableDataList: [], |
88 | }; | 91 | }; |
89 | }, | 92 | }, |
90 | mounted() { | 93 | mounted() {}, |
91 | }, | ||
92 | watch: { | 94 | watch: { |
93 | tableData: { | 95 | tableData: { |
94 | handler: function (val, oldVal) { | 96 | handler: function (val, oldVal) { |
... | @@ -133,7 +135,7 @@ export default { | ... | @@ -133,7 +135,7 @@ export default { |
133 | )} | 135 | )} |
134 | </div> | 136 | </div> |
135 | ); | 137 | ); |
136 | } | 138 | }, |
137 | }, | 139 | }, |
138 | }; | 140 | }; |
139 | </script> | 141 | </script> | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: 审批意见 | 2 | * @Description: 审批意见 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-05-17 10:41:24 | 4 | * @LastEditTime: 2023-08-16 14:39:55 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="spyj loadingtext"> | 7 | <div class="spyj loadingtext"> |
... | @@ -25,7 +25,7 @@ | ... | @@ -25,7 +25,7 @@ |
25 | <el-col :span="24"> | 25 | <el-col :span="24"> |
26 | <el-form-item label-width="0" class="opinion_item"> | 26 | <el-form-item label-width="0" class="opinion_item"> |
27 | <el-input | 27 | <el-input |
28 | :disabled="!ableOperation || item.show" | 28 | :disabled="!viewEdit || item.show" |
29 | type="textarea" | 29 | type="textarea" |
30 | :rows="4" | 30 | :rows="4" |
31 | class="opinion" | 31 | class="opinion" |
... | @@ -35,7 +35,7 @@ | ... | @@ -35,7 +35,7 @@ |
35 | <el-button | 35 | <el-button |
36 | class="opinion_btn" | 36 | class="opinion_btn" |
37 | @click="commonOpinion(index)" | 37 | @click="commonOpinion(index)" |
38 | v-if="ableOperation" | 38 | v-if="viewEdit" |
39 | >常用意见</el-button | 39 | >常用意见</el-button |
40 | > | 40 | > |
41 | </el-form-item> | 41 | </el-form-item> |
... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
57 | </div> | 57 | </div> |
58 | </el-form> | 58 | </el-form> |
59 | </div> | 59 | </div> |
60 | <div class="submit_button" v-if="ableOperation"> | 60 | <div class="submit_button" v-if="viewEdit"> |
61 | <el-button type="primary" :disabled="shows" @click="onSubmit()">保存</el-button> | 61 | <el-button type="primary" :disabled="shows" @click="onSubmit()">保存</el-button> |
62 | </div> | 62 | </div> |
63 | </div> | 63 | </div> |
... | @@ -78,7 +78,7 @@ export default { | ... | @@ -78,7 +78,7 @@ export default { |
78 | currentindex: 0, | 78 | currentindex: 0, |
79 | bsmSlsq: "", | 79 | bsmSlsq: "", |
80 | refresh: 10, | 80 | refresh: 10, |
81 | ableOperation: false, | 81 | viewEdit: false, |
82 | bsmSlsq: this.$route.query.bsmSlsq, | 82 | bsmSlsq: this.$route.query.bsmSlsq, |
83 | bestepid: this.$route.query.bestepid, | 83 | bestepid: this.$route.query.bestepid, |
84 | propsParam: {}, | 84 | propsParam: {}, |
... | @@ -103,8 +103,7 @@ export default { | ... | @@ -103,8 +103,7 @@ export default { |
103 | created() {}, | 103 | created() {}, |
104 | mounted() { | 104 | mounted() { |
105 | this.propsParam = this.$attrs; | 105 | this.propsParam = this.$attrs; |
106 | this.ableOperation = this.$parent.currentSelectTab.ableOperation; | 106 | this.viewEdit = this.$parent.currentSelectTab.ableOperation; |
107 | // this.ableOperation = this.$parent.ableOperation; | ||
108 | this.getShList(); | 107 | this.getShList(); |
109 | 108 | ||
110 | switch (this.$parent.dqhj) { | 109 | switch (this.$parent.dqhj) { | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:14:44 | 4 | * @LastEditTime: 2023-08-16 14:40:56 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -126,7 +126,7 @@ | ... | @@ -126,7 +126,7 @@ |
126 | </el-col> | 126 | </el-col> |
127 | <el-col :span="9"> | 127 | <el-col :span="9"> |
128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> | 128 | <el-form-item label="是否存在禁止或者限制转让抵押不动产的约定:" label-width="350px"> |
129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!ableOperation|| isJfOperation"> | 129 | <el-radio-group v-model="ruleForm.diyaq.sfczjzhxz" :disabled="!viewEdit|| isJfOperation"> |
130 | <el-radio label="1">启用</el-radio> | 130 | <el-radio label="1">启用</el-radio> |
131 | <el-radio label="0">禁用</el-radio> | 131 | <el-radio label="0">禁用</el-radio> |
132 | </el-radio-group> | 132 | </el-radio-group> |
... | @@ -138,8 +138,8 @@ | ... | @@ -138,8 +138,8 @@ |
138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> | 138 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 1"> |
139 | <el-form-item label="被担保主债权数额:"> | 139 | <el-form-item label="被担保主债权数额:"> |
140 | <div style="display:flex"> | 140 | <div style="display:flex"> |
141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!ableOperation|| isJfOperation" style="width:500%"></el-input> | 141 | <el-input v-model="ruleForm.diyaq.bdbzzqse" :disabled="!viewEdit|| isJfOperation" style="width:500%"></el-input> |
142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!ableOperation|| isJfOperation"> | 142 | <el-select v-model="ruleForm.diyaq.jedw" :disabled="!viewEdit|| isJfOperation"> |
143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 143 | <el-option v-for="item in dictData['A57']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
144 | </el-option> | 144 | </el-option> |
145 | </el-select> | 145 | </el-select> |
... | @@ -149,19 +149,19 @@ | ... | @@ -149,19 +149,19 @@ |
149 | 149 | ||
150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> | 150 | <el-col :span="8" v-show="ruleForm.diyaq.dyfs == 2"> |
151 | <el-form-item label="最高债权额:"> | 151 | <el-form-item label="最高债权额:"> |
152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!ableOperation|| isJfOperation"></el-input> | 152 | <el-input v-model="ruleForm.diyaq.zgzqse" :disabled="!viewEdit|| isJfOperation"></el-input> |
153 | </el-form-item> | 153 | </el-form-item> |
154 | </el-col> | 154 | </el-col> |
155 | 155 | ||
156 | <el-col :span="8"> | 156 | <el-col :span="8"> |
157 | <el-form-item label="债务履行起始时间:"> | 157 | <el-form-item label="债务履行起始时间:"> |
158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!ableOperation|| isJfOperation" type="date"> | 158 | <el-date-picker v-model="ruleForm.diyaq.zwlxqssj" :disabled="!viewEdit|| isJfOperation" type="date"> |
159 | </el-date-picker> | 159 | </el-date-picker> |
160 | </el-form-item> | 160 | </el-form-item> |
161 | </el-col> | 161 | </el-col> |
162 | <el-col :span="8"> | 162 | <el-col :span="8"> |
163 | <el-form-item label="债务履行结束时间:"> | 163 | <el-form-item label="债务履行结束时间:"> |
164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!ableOperation|| isJfOperation" type="date"> | 164 | <el-date-picker v-model="ruleForm.diyaq.zwlxjssj" :disabled="!viewEdit|| isJfOperation" type="date"> |
165 | </el-date-picker> | 165 | </el-date-picker> |
166 | </el-form-item> | 166 | </el-form-item> |
167 | </el-col> | 167 | </el-col> |
... | @@ -170,21 +170,21 @@ | ... | @@ -170,21 +170,21 @@ |
170 | <el-col :span="24"> | 170 | <el-col :span="24"> |
171 | <el-form-item label="担保范围:"> | 171 | <el-form-item label="担保范围:"> |
172 | <el-input v-model="ruleForm.diyaq.dbfw" | 172 | <el-input v-model="ruleForm.diyaq.dbfw" |
173 | :disabled="ruleForm.sldy.djlx == '300'&& !ableOperation|| isJfOperation"></el-input> | 173 | :disabled="ruleForm.sldy.djlx == '300'&& !viewEdit|| isJfOperation"></el-input> |
174 | </el-form-item> | 174 | </el-form-item> |
175 | </el-col> | 175 | </el-col> |
176 | </el-row> | 176 | </el-row> |
177 | <el-row> | 177 | <el-row> |
178 | <el-col :span="24"> | 178 | <el-col :span="24"> |
179 | <el-form-item label="最高债权确定事实和数额:"> | 179 | <el-form-item label="最高债权确定事实和数额:"> |
180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!ableOperation|| isJfOperation"></el-input> | 180 | <el-input v-model="ruleForm.diyaq.zgzqqdss" :disabled="!viewEdit|| isJfOperation"></el-input> |
181 | </el-form-item> | 181 | </el-form-item> |
182 | </el-col> | 182 | </el-col> |
183 | </el-row> | 183 | </el-row> |
184 | <el-row> | 184 | <el-row> |
185 | <el-col> | 185 | <el-col> |
186 | <el-form-item label="附记:" prop="fj"> | 186 | <el-form-item label="附记:" prop="fj"> |
187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!ableOperation|| isJfOperation"></el-input> | 187 | <el-input type="textarea" v-model="ruleForm.diyaq.fj" :disabled="!viewEdit|| isJfOperation"></el-input> |
188 | </el-form-item> | 188 | </el-form-item> |
189 | </el-col> | 189 | </el-col> |
190 | </el-row> | 190 | </el-row> |
... | @@ -196,7 +196,7 @@ | ... | @@ -196,7 +196,7 @@ |
196 | <el-row :gutter="10"> | 196 | <el-row :gutter="10"> |
197 | <el-col :span="12"> | 197 | <el-col :span="12"> |
198 | <el-form-item label="共有方式:"> | 198 | <el-form-item label="共有方式:"> |
199 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 199 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
200 | <el-radio label="0">单独所有</el-radio> | 200 | <el-radio label="0">单独所有</el-radio> |
201 | <el-radio label="1">共同共有</el-radio> | 201 | <el-radio label="1">共同共有</el-radio> |
202 | <el-radio label="2">按份所有</el-radio> | 202 | <el-radio label="2">按份所有</el-radio> |
... | @@ -208,7 +208,7 @@ | ... | @@ -208,7 +208,7 @@ |
208 | <el-form-item label="是否分别持证:"> | 208 | <el-form-item label="是否分别持证:"> |
209 | <el-radio-group | 209 | <el-radio-group |
210 | v-model="ruleForm.sldy.sqfbcz" | 210 | v-model="ruleForm.sldy.sqfbcz" |
211 | :disabled="!ableOperation"> | 211 | :disabled="!viewEdit"> |
212 | <el-radio :label="1">是</el-radio> | 212 | <el-radio :label="1">是</el-radio> |
213 | <el-radio :label="0">否</el-radio> | 213 | <el-radio :label="0">否</el-radio> |
214 | </el-radio-group> | 214 | </el-radio-group> |
... | @@ -221,7 +221,7 @@ | ... | @@ -221,7 +221,7 @@ |
221 | <el-select | 221 | <el-select |
222 | v-model="ruleForm.czr" | 222 | v-model="ruleForm.czr" |
223 | placeholder="持证人" | 223 | placeholder="持证人" |
224 | :disabled="!ableOperation"> | 224 | :disabled="!viewEdit"> |
225 | <el-option | 225 | <el-option |
226 | v-for="item in czrOptions" | 226 | v-for="item in czrOptions" |
227 | :key="item.zjh" | 227 | :key="item.zjh" |
... | @@ -232,14 +232,13 @@ | ... | @@ -232,14 +232,13 @@ |
232 | </el-form-item> | 232 | </el-form-item> |
233 | </el-col> | 233 | </el-col> |
234 | </el-row> | 234 | </el-row> |
235 | <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!ableOperation" @upDateQlrxxList="upDateQlrxxList" | 235 | <qlrCommonTable :tableData="ruleForm.qlrList" :disabled="!viewEdit" @upDateQlrxxList="upDateQlrxxList" |
236 | :viewtype="!ableOperation" :gyfs="ruleForm.sldy.gyfs" /> | 236 | :gyfs="ruleForm.sldy.gyfs" /> |
237 | <div class="slxx_title title-block"> | 237 | <div class="slxx_title title-block"> |
238 | 抵押人信息 | 238 | 抵押人信息 |
239 | <div class="triangle"></div> | 239 | <div class="triangle"></div> |
240 | </div> | 240 | </div> |
241 | <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!ableOperation" @upDateQlrxxList="upDateYwrxxList" | 241 | <qlrCommonTable :tableData="ruleForm.ywrList" :disabled="!viewEdit" @upDateQlrxxList="upDateYwrxxList" /> |
242 | :viewtype="!ableOperation" /> | ||
243 | 242 | ||
244 | <div class="slxx_title title-block"> | 243 | <div class="slxx_title title-block"> |
245 | 登记原因 | 244 | 登记原因 |
... | @@ -248,12 +247,12 @@ | ... | @@ -248,12 +247,12 @@ |
248 | <el-row :gutter="10"> | 247 | <el-row :gutter="10"> |
249 | <el-col> | 248 | <el-col> |
250 | <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> | 249 | <el-form-item v-if="ruleForm.sldy.djlx == '400'" label="注销抵押原因:" prop="djyy"> |
251 | <el-input class="textArea" type="textarea" :disabled="!ableOperation" | 250 | <el-input class="textArea" type="textarea" :disabled="!viewEdit" |
252 | v-model="ruleForm.diyaq.zxdyyy"> | 251 | v-model="ruleForm.diyaq.zxdyyy"> |
253 | </el-input> | 252 | </el-input> |
254 | </el-form-item> | 253 | </el-form-item> |
255 | <el-form-item v-else label="登记原因:" prop="djyy"> | 254 | <el-form-item v-else label="登记原因:" prop="djyy"> |
256 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 255 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
257 | v-model="ruleForm.diyaq.djyy"> | 256 | v-model="ruleForm.diyaq.djyy"> |
258 | </el-input> | 257 | </el-input> |
259 | </el-form-item> | 258 | </el-form-item> |
... | @@ -261,7 +260,7 @@ | ... | @@ -261,7 +260,7 @@ |
261 | </el-row> | 260 | </el-row> |
262 | 261 | ||
263 | </div> | 262 | </div> |
264 | <el-row class="btn" v-if="ableOperation"> | 263 | <el-row class="btn" v-if="viewEdit"> |
265 | <el-form-item> | 264 | <el-form-item> |
266 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> | 265 | <el-button type="primary" @click="onSubmitClick()">保存</el-button> |
267 | </el-form-item> | 266 | </el-form-item> |
... | @@ -275,7 +274,7 @@ | ... | @@ -275,7 +274,7 @@ |
275 | import { mapGetters } from "vuex"; | 274 | import { mapGetters } from "vuex"; |
276 | export default { | 275 | export default { |
277 | mounted () { | 276 | mounted () { |
278 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 277 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
279 | this.propsParam = this.$attrs; | 278 | this.propsParam = this.$attrs; |
280 | var formdata = new FormData(); | 279 | var formdata = new FormData(); |
281 | if (this.propsParam.djlx == '400') { | 280 | if (this.propsParam.djlx == '400') { |
... | @@ -285,7 +284,7 @@ | ... | @@ -285,7 +284,7 @@ |
285 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 284 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
286 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 285 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
287 | formdata.append("djlx", this.propsParam.djlx); | 286 | formdata.append("djlx", this.propsParam.djlx); |
288 | formdata.append("isEdit", this.ableOperation); | 287 | formdata.append("isEdit", this.viewEdit); |
289 | Init(formdata).then((res) => { | 288 | Init(formdata).then((res) => { |
290 | if (res.code === 200 && res.result) { | 289 | if (res.code === 200 && res.result) { |
291 | this.ruleForm = res.result; | 290 | this.ruleForm = res.result; |
... | @@ -307,7 +306,7 @@ | ... | @@ -307,7 +306,7 @@ |
307 | data () { | 306 | data () { |
308 | return { | 307 | return { |
309 | //表单是否可操作 | 308 | //表单是否可操作 |
310 | ableOperation: true, | 309 | viewEdit: true, |
311 | disabled: true, | 310 | disabled: true, |
312 | czrOptions: [], | 311 | czrOptions: [], |
313 | ruleForm: { | 312 | ruleForm: { | ... | ... |
This diff is collapsed.
Click to expand it.
1 | <!-- | 1 | <!-- |
2 | * @Description: 受理信息 | 2 | * @Description: 受理信息 |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-16 11:06:29 | 4 | * @LastEditTime: 2023-08-16 14:38:36 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <div class="slxx"> | 7 | <div class="slxx"> |
... | @@ -94,6 +94,7 @@ | ... | @@ -94,6 +94,7 @@ |
94 | <el-col :span="8"> | 94 | <el-col :span="8"> |
95 | <el-form-item label="土地性质:"> | 95 | <el-form-item label="土地性质:"> |
96 | <treeselect | 96 | <treeselect |
97 | :disabled="!viewEdit" | ||
97 | v-model="ruleForm.fdcq2.tdxz" | 98 | v-model="ruleForm.fdcq2.tdxz" |
98 | noOptionsText="暂无数据" | 99 | noOptionsText="暂无数据" |
99 | placeholder="" | 100 | placeholder="" |
... | @@ -101,7 +102,6 @@ | ... | @@ -101,7 +102,6 @@ |
101 | :default-expand-level="1" | 102 | :default-expand-level="1" |
102 | :show-count="true" | 103 | :show-count="true" |
103 | :options="dictData['A9']" /> | 104 | :options="dictData['A9']" /> |
104 | |||
105 | </el-form-item> | 105 | </el-form-item> |
106 | </el-col> | 106 | </el-col> |
107 | </el-row> | 107 | </el-row> |
... | @@ -109,7 +109,7 @@ | ... | @@ -109,7 +109,7 @@ |
109 | <el-col :span="8"> | 109 | <el-col :span="8"> |
110 | <el-form-item label="独用土地面积:"> | 110 | <el-form-item label="独用土地面积:"> |
111 | <div class="flex"> | 111 | <div class="flex"> |
112 | <el-input v-model="ruleForm.fdcq2.dytdmj" | 112 | <el-input v-model="ruleForm.fdcq2.dytdmj" :disabled="!viewEdit" |
113 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 113 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
114 | <el-select | 114 | <el-select |
115 | disabled | 115 | disabled |
... | @@ -128,7 +128,7 @@ | ... | @@ -128,7 +128,7 @@ |
128 | <el-col :span="8"> | 128 | <el-col :span="8"> |
129 | <el-form-item label="分摊土地面积:"> | 129 | <el-form-item label="分摊土地面积:"> |
130 | <div class="flex"> | 130 | <div class="flex"> |
131 | <el-input v-model="ruleForm.fdcq2.fttdmj" | 131 | <el-input v-model="ruleForm.fdcq2.fttdmj" :disabled="!viewEdit" |
132 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 132 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
133 | <el-select | 133 | <el-select |
134 | disabled | 134 | disabled |
... | @@ -146,7 +146,7 @@ | ... | @@ -146,7 +146,7 @@ |
146 | </el-col> | 146 | </el-col> |
147 | <el-col :span="8"> | 147 | <el-col :span="8"> |
148 | <el-form-item label="房屋性质:"> | 148 | <el-form-item label="房屋性质:"> |
149 | <el-select v-model="ruleForm.fdcq2.fwxz"> | 149 | <el-select v-model="ruleForm.fdcq2.fwxz" :disabled="!viewEdit"> |
150 | <el-option | 150 | <el-option |
151 | v-for="item in dictData['A19']" | 151 | v-for="item in dictData['A19']" |
152 | :key="item.dcode" | 152 | :key="item.dcode" |
... | @@ -162,6 +162,7 @@ | ... | @@ -162,6 +162,7 @@ |
162 | <el-form-item label="房屋用途:"> | 162 | <el-form-item label="房屋用途:"> |
163 | <treeselect | 163 | <treeselect |
164 | v-model="ruleForm.fdcq2.ghyt" | 164 | v-model="ruleForm.fdcq2.ghyt" |
165 | :disabled="!viewEdit" | ||
165 | noOptionsText="" | 166 | noOptionsText="" |
166 | placeholder="" | 167 | placeholder="" |
167 | :normalizer="normalizer" | 168 | :normalizer="normalizer" |
... | @@ -172,7 +173,7 @@ | ... | @@ -172,7 +173,7 @@ |
172 | </el-col> | 173 | </el-col> |
173 | <el-col :span="8"> | 174 | <el-col :span="8"> |
174 | <el-form-item label="房屋结构:"> | 175 | <el-form-item label="房屋结构:"> |
175 | <el-select v-model="ruleForm.fdcq2.fwjg"> | 176 | <el-select v-model="ruleForm.fdcq2.fwjg" :disabled="!viewEdit"> |
176 | <el-option | 177 | <el-option |
177 | v-for="item in dictData['A46']" | 178 | v-for="item in dictData['A46']" |
178 | :key="item.dcode" | 179 | :key="item.dcode" |
... | @@ -191,19 +192,19 @@ | ... | @@ -191,19 +192,19 @@ |
191 | type="date" | 192 | type="date" |
192 | placeholder="选择日期" | 193 | placeholder="选择日期" |
193 | value-format="yyyy-MM-dd" | 194 | value-format="yyyy-MM-dd" |
194 | :disabled="!ableOperation || ableEdit || isJfOperation"></el-date-picker> | 195 | :disabled="!viewEdit || ableEdit || isJfOperation"></el-date-picker> |
195 | </el-form-item> | 196 | </el-form-item> |
196 | </el-col> | 197 | </el-col> |
197 | </el-row> | 198 | </el-row> |
198 | <el-row :gutter="10" v-if="ruleForm.qlxx"> | 199 | <el-row :gutter="10" v-if="ruleForm.qlxx"> |
199 | <el-col :span="8"> | 200 | <el-col :span="8"> |
200 | <el-form-item label="所在层:"> | 201 | <el-form-item label="所在层:"> |
201 | <el-input v-model="ruleForm.fdcq2.szc"></el-input> | 202 | <el-input v-model="ruleForm.fdcq2.szc" :disabled="!viewEdit"></el-input> |
202 | </el-form-item> | 203 | </el-form-item> |
203 | </el-col> | 204 | </el-col> |
204 | <el-col :span="8"> | 205 | <el-col :span="8"> |
205 | <el-form-item label="总层数:"> | 206 | <el-form-item label="总层数:"> |
206 | <el-input v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> | 207 | <el-input :disabled="!viewEdit" v-model.number="ruleForm.fdcq2.zcs" oninput="value=value.replace(/[^0-9]/g,'')"></el-input> |
207 | </el-form-item> | 208 | </el-form-item> |
208 | </el-col> | 209 | </el-col> |
209 | <el-col :span="8"> | 210 | <el-col :span="8"> |
... | @@ -212,8 +213,9 @@ | ... | @@ -212,8 +213,9 @@ |
212 | <el-input | 213 | <el-input |
213 | v-model="ruleForm.fdcq2.fdcjyjg" | 214 | v-model="ruleForm.fdcq2.fdcjyjg" |
214 | style="width: 500%" | 215 | style="width: 500%" |
216 | :disabled="!viewEdit" | ||
215 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 217 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
216 | <el-select v-model="ruleForm.fdcq2.jedw"> | 218 | <el-select v-model="ruleForm.fdcq2.jedw" :disabled="!viewEdit"> |
217 | <el-option | 219 | <el-option |
218 | v-for="item in dictData['A57']" | 220 | v-for="item in dictData['A57']" |
219 | :key="item.dcode" | 221 | :key="item.dcode" |
... | @@ -229,7 +231,7 @@ | ... | @@ -229,7 +231,7 @@ |
229 | <el-col :span="8"> | 231 | <el-col :span="8"> |
230 | <el-form-item label="建筑面积:"> | 232 | <el-form-item label="建筑面积:"> |
231 | <div class="flex"> | 233 | <div class="flex"> |
232 | <el-input v-model="ruleForm.fdcq2.jzmj" | 234 | <el-input v-model="ruleForm.fdcq2.jzmj" :disabled="!viewEdit" |
233 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 235 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
234 | <el-select | 236 | <el-select |
235 | disabled | 237 | disabled |
... | @@ -248,7 +250,7 @@ | ... | @@ -248,7 +250,7 @@ |
248 | <el-col :span="8"> | 250 | <el-col :span="8"> |
249 | <el-form-item label="专有建筑面积:"> | 251 | <el-form-item label="专有建筑面积:"> |
250 | <div class="flex"> | 252 | <div class="flex"> |
251 | <el-input v-model="ruleForm.fdcq2.zyjzmj" | 253 | <el-input v-model="ruleForm.fdcq2.zyjzmj" :disabled="!viewEdit" |
252 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 254 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
253 | <el-select | 255 | <el-select |
254 | disabled | 256 | disabled |
... | @@ -267,7 +269,7 @@ | ... | @@ -267,7 +269,7 @@ |
267 | <el-col :span="8"> | 269 | <el-col :span="8"> |
268 | <el-form-item label="分摊建筑面积:"> | 270 | <el-form-item label="分摊建筑面积:"> |
269 | <div class="flex"> | 271 | <div class="flex"> |
270 | <el-input v-model="ruleForm.fdcq2.ftjzmj" | 272 | <el-input v-model="ruleForm.fdcq2.ftjzmj" :disabled="!viewEdit" |
271 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> | 273 | oninput="value = (value.match(/^\d*(\.?\d{0,2})/g)[0]) || null"></el-input> |
272 | <el-select | 274 | <el-select |
273 | disabled | 275 | disabled |
... | @@ -287,7 +289,7 @@ | ... | @@ -287,7 +289,7 @@ |
287 | <el-row :gutter="10"> | 289 | <el-row :gutter="10"> |
288 | <el-col :span="24"> | 290 | <el-col :span="24"> |
289 | <el-form-item label="附记:"> | 291 | <el-form-item label="附记:"> |
290 | <el-input v-model="ruleForm.fdcq2.fj"></el-input> | 292 | <el-input v-model="ruleForm.fdcq2.fj" :disabled="!viewEdit"></el-input> |
291 | </el-form-item> | 293 | </el-form-item> |
292 | </el-col> | 294 | </el-col> |
293 | </el-row> | 295 | </el-row> |
... | @@ -296,7 +298,7 @@ | ... | @@ -296,7 +298,7 @@ |
296 | <div class="triangle"></div> | 298 | <div class="triangle"></div> |
297 | </div> | 299 | </div> |
298 | <tdytTable | 300 | <tdytTable |
299 | :ableOperation="ableOperation" | 301 | :ableOperation="viewEdit" |
300 | :tableData="ruleForm.tdytqxList" | 302 | :tableData="ruleForm.tdytqxList" |
301 | @upDateTdytxxList="upDateTdytxxList" /> | 303 | @upDateTdytxxList="upDateTdytxxList" /> |
302 | <div class="slxx_title title-block"> | 304 | <div class="slxx_title title-block"> |
... | @@ -306,7 +308,7 @@ | ... | @@ -306,7 +308,7 @@ |
306 | <el-row :gutter="10"> | 308 | <el-row :gutter="10"> |
307 | <el-col :span="12" v-if="ruleForm.qlxx"> | 309 | <el-col :span="12" v-if="ruleForm.qlxx"> |
308 | <el-form-item label="共有方式:"> | 310 | <el-form-item label="共有方式:"> |
309 | <el-radio-group :disabled="!ableOperation" | 311 | <el-radio-group :disabled="!viewEdit" |
310 | v-model="ruleForm.sldy.gyfs"> | 312 | v-model="ruleForm.sldy.gyfs"> |
311 | <el-radio label="0">单独所有</el-radio> | 313 | <el-radio label="0">单独所有</el-radio> |
312 | <el-radio label="1">共同共有</el-radio> | 314 | <el-radio label="1">共同共有</el-radio> |
... | @@ -319,7 +321,7 @@ | ... | @@ -319,7 +321,7 @@ |
319 | <el-form-item label="是否分别持证:"> | 321 | <el-form-item label="是否分别持证:"> |
320 | <el-radio-group | 322 | <el-radio-group |
321 | v-model="ruleForm.sldy.sqfbcz" | 323 | v-model="ruleForm.sldy.sqfbcz" |
322 | :disabled="!ableOperation"> | 324 | :disabled="!viewEdit"> |
323 | <el-radio :label="1">是</el-radio> | 325 | <el-radio :label="1">是</el-radio> |
324 | <el-radio :label="0">否</el-radio> | 326 | <el-radio :label="0">否</el-radio> |
325 | </el-radio-group> | 327 | </el-radio-group> |
... | @@ -332,7 +334,7 @@ | ... | @@ -332,7 +334,7 @@ |
332 | <el-select | 334 | <el-select |
333 | v-model="ruleForm.czr" | 335 | v-model="ruleForm.czr" |
334 | placeholder="持证人" | 336 | placeholder="持证人" |
335 | :disabled="!ableOperation"> | 337 | :disabled="!viewEdit"> |
336 | <el-option | 338 | <el-option |
337 | v-for="item in czrOptions" | 339 | v-for="item in czrOptions" |
338 | :key="item.zjh" | 340 | :key="item.zjh" |
... | @@ -343,7 +345,7 @@ | ... | @@ -343,7 +345,7 @@ |
343 | </el-form-item> | 345 | </el-form-item> |
344 | </el-col> | 346 | </el-col> |
345 | </el-row> | 347 | </el-row> |
346 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 348 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="viewEdit" |
347 | :gyfs="ruleForm.qlxx.gyfs" /> | 349 | :gyfs="ruleForm.qlxx.gyfs" /> |
348 | 350 | ||
349 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> | 351 | <div v-if="ruleForm.ywrList && ruleForm.qlxx.djlx == '200'"> |
... | @@ -361,14 +363,14 @@ | ... | @@ -361,14 +363,14 @@ |
361 | <el-row :gutter="10"> | 363 | <el-row :gutter="10"> |
362 | <el-col> | 364 | <el-col> |
363 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> | 365 | <el-form-item v-if="ruleForm.sldy" label="登记原因:" prop="djyy"> |
364 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 366 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
365 | v-model="ruleForm.fdcq2.djyy"> | 367 | v-model="ruleForm.fdcq2.djyy"> |
366 | </el-input> | 368 | </el-input> |
367 | </el-form-item> | 369 | </el-form-item> |
368 | </el-col> | 370 | </el-col> |
369 | </el-row> | 371 | </el-row> |
370 | </div> | 372 | </div> |
371 | <el-row class="btn" v-if="ableOperation"> | 373 | <el-row class="btn" v-if="viewEdit"> |
372 | <el-form-item> | 374 | <el-form-item> |
373 | <el-button type="primary" @click="onSubmit">保存</el-button> | 375 | <el-button type="primary" @click="onSubmit">保存</el-button> |
374 | </el-form-item> | 376 | </el-form-item> |
... | @@ -385,12 +387,12 @@ | ... | @@ -385,12 +387,12 @@ |
385 | export default { | 387 | export default { |
386 | mixins: [ywmix], | 388 | mixins: [ywmix], |
387 | mounted () { | 389 | mounted () { |
388 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 390 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
389 | this.propsParam = this.$attrs; | 391 | this.propsParam = this.$attrs; |
390 | var formdata = new FormData(); | 392 | var formdata = new FormData(); |
391 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 393 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
392 | formdata.append("djlx", this.propsParam.djlx); | 394 | formdata.append("djlx", this.propsParam.djlx); |
393 | formdata.append("isEdit", this.ableOperation); | 395 | formdata.append("isEdit", this.viewEdit); |
394 | Init(formdata).then((res) => { | 396 | Init(formdata).then((res) => { |
395 | if (res.code === 200 && res.result) { | 397 | if (res.code === 200 && res.result) { |
396 | this.ruleForm = { | 398 | this.ruleForm = { |
... | @@ -451,7 +453,7 @@ | ... | @@ -451,7 +453,7 @@ |
451 | //传递参数 | 453 | //传递参数 |
452 | propsParam: this.$attrs, | 454 | propsParam: this.$attrs, |
453 | //表单是否可操作 | 455 | //表单是否可操作 |
454 | ableOperation: true, | 456 | viewEdit: true, |
455 | rules: {} | 457 | rules: {} |
456 | } | 458 | } |
457 | }, | 459 | }, | ... | ... |
1 | <!-- | 1 | <!-- |
2 | * @Description: | 2 | * @Description: |
3 | * @Autor: renchao | 3 | * @Autor: renchao |
4 | * @LastEditTime: 2023-08-14 13:04:38 | 4 | * @LastEditTime: 2023-08-16 14:42:19 |
5 | --> | 5 | --> |
6 | <template> | 6 | <template> |
7 | <!-- 受理信息 --> | 7 | <!-- 受理信息 --> |
... | @@ -124,7 +124,7 @@ | ... | @@ -124,7 +124,7 @@ |
124 | <div class="triangle"></div> | 124 | <div class="triangle"></div> |
125 | </div> | 125 | </div> |
126 | <tdytTable | 126 | <tdytTable |
127 | :ableOperation="ableOperation" | 127 | :ableOperation="viewEdit" |
128 | :tableData="ruleForm.tdytqxList" | 128 | :tableData="ruleForm.tdytqxList" |
129 | @upDateTdytxxList="upDateTdytxxList" /> | 129 | @upDateTdytxxList="upDateTdytxxList" /> |
130 | <div class="slxx_title title-block"> | 130 | <div class="slxx_title title-block"> |
... | @@ -134,7 +134,7 @@ | ... | @@ -134,7 +134,7 @@ |
134 | <el-row :gutter="10"> | 134 | <el-row :gutter="10"> |
135 | <el-col :span="12"> | 135 | <el-col :span="12"> |
136 | <el-form-item label="共有方式:"> | 136 | <el-form-item label="共有方式:"> |
137 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 137 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
138 | <el-radio label="0">单独所有</el-radio> | 138 | <el-radio label="0">单独所有</el-radio> |
139 | <el-radio label="1">共同共有</el-radio> | 139 | <el-radio label="1">共同共有</el-radio> |
140 | <el-radio label="2">按份所有</el-radio> | 140 | <el-radio label="2">按份所有</el-radio> |
... | @@ -146,7 +146,7 @@ | ... | @@ -146,7 +146,7 @@ |
146 | <el-form-item label="是否分别持证:"> | 146 | <el-form-item label="是否分别持证:"> |
147 | <el-radio-group | 147 | <el-radio-group |
148 | v-model="ruleForm.sldy.sqfbcz" | 148 | v-model="ruleForm.sldy.sqfbcz" |
149 | :disabled="!ableOperation"> | 149 | :disabled="!viewEdit"> |
150 | <el-radio :label="1">是</el-radio> | 150 | <el-radio :label="1">是</el-radio> |
151 | <el-radio :label="0">否</el-radio> | 151 | <el-radio :label="0">否</el-radio> |
152 | </el-radio-group> | 152 | </el-radio-group> |
... | @@ -159,7 +159,7 @@ | ... | @@ -159,7 +159,7 @@ |
159 | <el-select | 159 | <el-select |
160 | v-model="ruleForm.czr" | 160 | v-model="ruleForm.czr" |
161 | placeholder="持证人" | 161 | placeholder="持证人" |
162 | :disabled="!ableOperation"> | 162 | :disabled="!viewEdit"> |
163 | <el-option | 163 | <el-option |
164 | v-for="(item,index) in czrOptions" | 164 | v-for="(item,index) in czrOptions" |
165 | :key="index" | 165 | :key="index" |
... | @@ -171,7 +171,7 @@ | ... | @@ -171,7 +171,7 @@ |
171 | </el-col> | 171 | </el-col> |
172 | </el-row> | 172 | </el-row> |
173 | <qlrCommonTable :tableData="ruleForm.qlrList" | 173 | <qlrCommonTable :tableData="ruleForm.qlrList" |
174 | :disabled="!ableOperation" | 174 | :disabled="!viewEdit" |
175 | @upDateQlrxxList="upDateQlrxxList" :key="key" :gyfs="ruleForm.sldy.gyfs" /> | 175 | @upDateQlrxxList="upDateQlrxxList" :key="key" :gyfs="ruleForm.sldy.gyfs" /> |
176 | 176 | ||
177 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> | 177 | <div v-if="ruleForm.ywrList && ruleForm.ywrList.length > 0"> |
... | @@ -179,7 +179,7 @@ | ... | @@ -179,7 +179,7 @@ |
179 | 义务人信息 | 179 | 义务人信息 |
180 | <div class="triangle"></div> | 180 | <div class="triangle"></div> |
181 | </div> | 181 | </div> |
182 | <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!ableOperation" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" /> | 182 | <qlrCommonTable v-if="ruleForm.ywrList" :disabled="!viewEdit" :tableData="ruleForm.ywrList" :key="key" @upDateQlrxxList="upDateYwrxxList" /> |
183 | </div> | 183 | </div> |
184 | 184 | ||
185 | <div class="slxx_title title-block"> | 185 | <div class="slxx_title title-block"> |
... | @@ -189,14 +189,14 @@ | ... | @@ -189,14 +189,14 @@ |
189 | <el-row :gutter="10"> | 189 | <el-row :gutter="10"> |
190 | <el-col> | 190 | <el-col> |
191 | <el-form-item label="登记原因:" prop="djyy"> | 191 | <el-form-item label="登记原因:" prop="djyy"> |
192 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 192 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
193 | v-model="ruleForm.jsydsyq.djyy"> | 193 | v-model="ruleForm.jsydsyq.djyy"> |
194 | </el-input> | 194 | </el-input> |
195 | </el-form-item> | 195 | </el-form-item> |
196 | </el-col> | 196 | </el-col> |
197 | </el-row> | 197 | </el-row> |
198 | </div> | 198 | </div> |
199 | <el-row class="btn" v-if="ableOperation"> | 199 | <el-row class="btn" v-if="viewEdit"> |
200 | <el-form-item> | 200 | <el-form-item> |
201 | <el-button type="primary" @click="onSubmit">保存</el-button> | 201 | <el-button type="primary" @click="onSubmit">保存</el-button> |
202 | </el-form-item> | 202 | </el-form-item> |
... | @@ -213,14 +213,14 @@ | ... | @@ -213,14 +213,14 @@ |
213 | export default { | 213 | export default { |
214 | mixins: [ywmix], | 214 | mixins: [ywmix], |
215 | mounted () { | 215 | mounted () { |
216 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 216 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
217 | this.propsParam = this.$attrs; | 217 | this.propsParam = this.$attrs; |
218 | var formdata = new FormData(); | 218 | var formdata = new FormData(); |
219 | let that = this | 219 | let that = this |
220 | this.$startLoading(); | 220 | this.$startLoading(); |
221 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 221 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
222 | formdata.append("djlx", this.propsParam.djlx); | 222 | formdata.append("djlx", this.propsParam.djlx); |
223 | formdata.append("isEdit", this.ableOperation); | 223 | formdata.append("isEdit", this.viewEdit); |
224 | Init(formdata).then((res) => { | 224 | Init(formdata).then((res) => { |
225 | this.$nextTick(() => { | 225 | this.$nextTick(() => { |
226 | that.ruleForm = res.result; | 226 | that.ruleForm = res.result; |
... | @@ -240,7 +240,7 @@ | ... | @@ -240,7 +240,7 @@ |
240 | ...mapGetters(["dictData", "flag"]), | 240 | ...mapGetters(["dictData", "flag"]), |
241 | // 根据流程判断表单是否为只读 | 241 | // 根据流程判断表单是否为只读 |
242 | editDisabled () { | 242 | editDisabled () { |
243 | if (!this.ableOperation) { | 243 | if (!this.viewEdit) { |
244 | //只读状态 | 244 | //只读状态 |
245 | return true; | 245 | return true; |
246 | } | 246 | } |
... | @@ -251,7 +251,7 @@ | ... | @@ -251,7 +251,7 @@ |
251 | return { | 251 | return { |
252 | mjdw: "1", | 252 | mjdw: "1", |
253 | //表单是否可操作 | 253 | //表单是否可操作 |
254 | ableOperation: true, | 254 | viewEdit: true, |
255 | key: 0, | 255 | key: 0, |
256 | isShow: false, | 256 | isShow: false, |
257 | disabled: true, | 257 | disabled: true, | ... | ... |
... | @@ -90,17 +90,17 @@ | ... | @@ -90,17 +90,17 @@ |
90 | <el-row :gutter="10"> | 90 | <el-row :gutter="10"> |
91 | <el-col :span="8"> | 91 | <el-col :span="8"> |
92 | <el-form-item label="发包方名称:"> | 92 | <el-form-item label="发包方名称:"> |
93 | <el-input v-model="ruleForm.nydsyq.fbfmc" :disabled="!ableOperation"></el-input> | 93 | <el-input v-model="ruleForm.nydsyq.fbfmc" :disabled="!viewEdit"></el-input> |
94 | </el-form-item> | 94 | </el-form-item> |
95 | </el-col> | 95 | </el-col> |
96 | <el-col :span="8"> | 96 | <el-col :span="8"> |
97 | <el-form-item label="发包方代码:"> | 97 | <el-form-item label="发包方代码:"> |
98 | <el-input v-model="ruleForm.nydsyq.fbfdm" :disabled="!ableOperation"></el-input> | 98 | <el-input v-model="ruleForm.nydsyq.fbfdm" :disabled="!viewEdit"></el-input> |
99 | </el-form-item> | 99 | </el-form-item> |
100 | </el-col> | 100 | </el-col> |
101 | <el-col :span="8"> | 101 | <el-col :span="8"> |
102 | <el-form-item label="土地所有权性质:"> | 102 | <el-form-item label="土地所有权性质:"> |
103 | <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" :disabled="!ableOperation" filterable clearable> | 103 | <el-select v-model="ruleForm.nydsyq.tdsyqxzmc" class="width100" :disabled="!viewEdit" filterable clearable> |
104 | <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname"> | 104 | <el-option v-for="item in dictData['A45']" :key="item.dname" :label="item.dname" :value="item.dname"> |
105 | </el-option> | 105 | </el-option> |
106 | </el-select> | 106 | </el-select> |
... | @@ -122,7 +122,7 @@ | ... | @@ -122,7 +122,7 @@ |
122 | <el-row :gutter="10"> | 122 | <el-row :gutter="10"> |
123 | <el-col :span="8"> | 123 | <el-col :span="8"> |
124 | <el-form-item label="水域滩涂类型:"> | 124 | <el-form-item label="水域滩涂类型:"> |
125 | <el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!ableOperation" class="width100" filterable clearable @change="changeSyttlx"> | 125 | <el-select v-model="ruleForm.nydsyq.syttlx" :disabled="!viewEdit" class="width100" filterable clearable @change="changeSyttlx"> |
126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 126 | <el-option v-for="item in dictData['A23']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
127 | </el-option> | 127 | </el-option> |
128 | </el-select> | 128 | </el-select> |
... | @@ -130,7 +130,7 @@ | ... | @@ -130,7 +130,7 @@ |
130 | </el-col> | 130 | </el-col> |
131 | <el-col :span="8"> | 131 | <el-col :span="8"> |
132 | <el-form-item label="养殖业方式:"> | 132 | <el-form-item label="养殖业方式:"> |
133 | <el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYzyfs"> | 133 | <el-select v-model="ruleForm.nydsyq.yzyfs" :disabled="!viewEdit" class="width100" filterable clearable @change="changeYzyfs"> |
134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 134 | <el-option v-for="item in dictData['A24']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
135 | </el-option> | 135 | </el-option> |
136 | </el-select> | 136 | </el-select> |
... | @@ -138,19 +138,19 @@ | ... | @@ -138,19 +138,19 @@ |
138 | </el-col> | 138 | </el-col> |
139 | <el-col :span="8"> | 139 | <el-col :span="8"> |
140 | <el-form-item label="草原质量:"> | 140 | <el-form-item label="草原质量:"> |
141 | <el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!ableOperation"></el-input> | 141 | <el-input v-model="ruleForm.nydsyq.cyzl" :disabled="!viewEdit"></el-input> |
142 | </el-form-item> | 142 | </el-form-item> |
143 | </el-col> | 143 | </el-col> |
144 | </el-row> | 144 | </el-row> |
145 | <el-row :gutter="10"> | 145 | <el-row :gutter="10"> |
146 | <el-col :span="8"> | 146 | <el-col :span="8"> |
147 | <el-form-item label="适宜载畜量:"> | 147 | <el-form-item label="适宜载畜量:"> |
148 | <el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!ableOperation" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> | 148 | <el-input v-model="ruleForm.nydsyq.syzcl" :disabled="!viewEdit" oninput="value=value.replace(/[^\d.]/g,'')"></el-input> |
149 | </el-form-item> | 149 | </el-form-item> |
150 | </el-col> | 150 | </el-col> |
151 | <el-col :span="8"> | 151 | <el-col :span="8"> |
152 | <el-form-item label="用地用海分类:"> | 152 | <el-form-item label="用地用海分类:"> |
153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" :disabled="!ableOperation" class="width100" filterable clearable @change="changeYdyhfl"> | 153 | <el-select v-model="ruleForm.nydsyq.ydyhfl" :disabled="!viewEdit" class="width100" filterable clearable @change="changeYdyhfl"> |
154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 154 | <el-option v-for="item in dictData['A51']" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
155 | </el-option> | 155 | </el-option> |
156 | </el-select> | 156 | </el-select> |
... | @@ -158,14 +158,14 @@ | ... | @@ -158,14 +158,14 @@ |
158 | </el-col> | 158 | </el-col> |
159 | <el-col :span="8"> | 159 | <el-col :span="8"> |
160 | <el-form-item label="土地承包合同:"> | 160 | <el-form-item label="土地承包合同:"> |
161 | <el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!ableOperation"></el-input> | 161 | <el-input v-model="ruleForm.nydsyq.tdcbht" :disabled="!viewEdit"></el-input> |
162 | </el-form-item> | 162 | </el-form-item> |
163 | </el-col> | 163 | </el-col> |
164 | </el-row> | 164 | </el-row> |
165 | <el-row :gutter="10"> | 165 | <el-row :gutter="10"> |
166 | <el-col> | 166 | <el-col> |
167 | <el-form-item label="附记:" prop="fj"> | 167 | <el-form-item label="附记:" prop="fj"> |
168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!ableOperation"></el-input> | 168 | <el-input type="textarea" v-model="ruleForm.nydsyq.fj" :disabled="!viewEdit"></el-input> |
169 | </el-form-item> | 169 | </el-form-item> |
170 | </el-col> | 170 | </el-col> |
171 | </el-row> | 171 | </el-row> |
... | @@ -176,7 +176,7 @@ | ... | @@ -176,7 +176,7 @@ |
176 | <el-row :gutter="10"> | 176 | <el-row :gutter="10"> |
177 | <el-col :span="12"> | 177 | <el-col :span="12"> |
178 | <el-form-item label="共有方式:"> | 178 | <el-form-item label="共有方式:"> |
179 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 179 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
180 | <el-radio label="0">单独所有</el-radio> | 180 | <el-radio label="0">单独所有</el-radio> |
181 | <el-radio label="1">共同共有</el-radio> | 181 | <el-radio label="1">共同共有</el-radio> |
182 | <el-radio label="2">按份所有</el-radio> | 182 | <el-radio label="2">按份所有</el-radio> |
... | @@ -188,7 +188,7 @@ | ... | @@ -188,7 +188,7 @@ |
188 | <el-form-item label="是否分别持证:"> | 188 | <el-form-item label="是否分别持证:"> |
189 | <el-radio-group | 189 | <el-radio-group |
190 | v-model="ruleForm.sldy.sqfbcz" | 190 | v-model="ruleForm.sldy.sqfbcz" |
191 | :disabled="!ableOperation"> | 191 | :disabled="!viewEdit"> |
192 | <el-radio :label="1">是</el-radio> | 192 | <el-radio :label="1">是</el-radio> |
193 | <el-radio :label="0">否</el-radio> | 193 | <el-radio :label="0">否</el-radio> |
194 | </el-radio-group> | 194 | </el-radio-group> |
... | @@ -201,7 +201,7 @@ | ... | @@ -201,7 +201,7 @@ |
201 | <el-select | 201 | <el-select |
202 | v-model="ruleForm.czr" | 202 | v-model="ruleForm.czr" |
203 | placeholder="持证人" | 203 | placeholder="持证人" |
204 | :disabled="!ableOperation"> | 204 | :disabled="!viewEdit"> |
205 | <el-option | 205 | <el-option |
206 | v-for="item in czrOptions" | 206 | v-for="item in czrOptions" |
207 | :key="item.zjh" | 207 | :key="item.zjh" |
... | @@ -212,17 +212,17 @@ | ... | @@ -212,17 +212,17 @@ |
212 | </el-form-item> | 212 | </el-form-item> |
213 | </el-col> | 213 | </el-col> |
214 | </el-row> | 214 | </el-row> |
215 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!ableOperation" :gyfs="ruleForm.sldy.gyfs" /> | 215 | <qlrCommonTable :tableData="ruleForm.qlrList" @upDateQlrxxList="upDateQlrxxList" :disabled="!viewEdit" :gyfs="ruleForm.sldy.gyfs" /> |
216 | <div class="slxx_title title-block"> | 216 | <div class="slxx_title title-block"> |
217 | 义务人信息 | 217 | 义务人信息 |
218 | <div class="triangle"></div> | 218 | <div class="triangle"></div> |
219 | </div> | 219 | </div> |
220 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!ableOperation" /> | 220 | <qlrCommonTable :tableData="ruleForm.ywrList" @upDateQlrxxList="upDateYwrxxList" :disabled="!viewEdit" /> |
221 | <div class="slxx_title title-block"> | 221 | <div class="slxx_title title-block"> |
222 | 家庭成员 | 222 | 家庭成员 |
223 | <div class="triangle"></div> | 223 | <div class="triangle"></div> |
224 | </div> | 224 | </div> |
225 | <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!ableOperation" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" /> | 225 | <JtcyTable :tableData="ruleForm.jtcyList" :disabled="!viewEdit" @upDateJtcyList="upDateJtcyList" :gyfs="ruleForm.slywxx.gyfs" /> |
226 | <div class="slxx_title title-block"> | 226 | <div class="slxx_title title-block"> |
227 | 登记原因 | 227 | 登记原因 |
228 | <div class="triangle"></div> | 228 | <div class="triangle"></div> |
... | @@ -230,14 +230,14 @@ | ... | @@ -230,14 +230,14 @@ |
230 | <el-row :gutter="10"> | 230 | <el-row :gutter="10"> |
231 | <el-col> | 231 | <el-col> |
232 | <el-form-item label="登记原因:" prop="djyy"> | 232 | <el-form-item label="登记原因:" prop="djyy"> |
233 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 233 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
234 | v-model="ruleForm.nydsyq.djyy"> | 234 | v-model="ruleForm.nydsyq.djyy"> |
235 | </el-input> | 235 | </el-input> |
236 | </el-form-item> | 236 | </el-form-item> |
237 | </el-col> | 237 | </el-col> |
238 | </el-row> | 238 | </el-row> |
239 | </div> | 239 | </div> |
240 | <el-row class="btn" v-if="ableOperation"> | 240 | <el-row class="btn" v-if="viewEdit"> |
241 | <el-form-item> | 241 | <el-form-item> |
242 | <el-button type="primary" @click="onSubmit">保存</el-button> | 242 | <el-button type="primary" @click="onSubmit">保存</el-button> |
243 | </el-form-item> | 243 | </el-form-item> |
... | @@ -254,13 +254,13 @@ | ... | @@ -254,13 +254,13 @@ |
254 | export default { | 254 | export default { |
255 | mixins: [ywmix], | 255 | mixins: [ywmix], |
256 | mounted () { | 256 | mounted () { |
257 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 257 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
258 | this.propsParam = this.$attrs; | 258 | this.propsParam = this.$attrs; |
259 | var formdata = new FormData(); | 259 | var formdata = new FormData(); |
260 | this.$startLoading(); | 260 | this.$startLoading(); |
261 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 261 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
262 | formdata.append("djlx", this.propsParam.djlx); | 262 | formdata.append("djlx", this.propsParam.djlx); |
263 | formdata.append("isEdit", this.ableOperation); | 263 | formdata.append("isEdit", this.viewEdit); |
264 | Init(formdata).then((res) => { | 264 | Init(formdata).then((res) => { |
265 | this.ruleForm = res.result; | 265 | this.ruleForm = res.result; |
266 | this.ruleForm.qlrList.forEach((item, index) => { | 266 | this.ruleForm.qlrList.forEach((item, index) => { |
... | @@ -280,7 +280,7 @@ | ... | @@ -280,7 +280,7 @@ |
280 | data () { | 280 | data () { |
281 | return { | 281 | return { |
282 | //表单是否可操作 | 282 | //表单是否可操作 |
283 | ableOperation: true, | 283 | viewEdit: true, |
284 | disabled: true, | 284 | disabled: true, |
285 | czrOptions: [], | 285 | czrOptions: [], |
286 | ruleForm: {}, | 286 | ruleForm: {}, | ... | ... |
... | @@ -117,10 +117,10 @@ | ... | @@ -117,10 +117,10 @@ |
117 | <el-col :span="8"> | 117 | <el-col :span="8"> |
118 | <el-form-item label="被担保主债权数额:"> | 118 | <el-form-item label="被担保主债权数额:"> |
119 | <div class="flex"> | 119 | <div class="flex"> |
120 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!ableOperation"></el-input> | 120 | <el-input v-model="ruleForm.ygdj.qdjg" :disabled="!viewEdit"></el-input> |
121 | <el-select | 121 | <el-select |
122 | v-model="ruleForm.ygdj.jedw" | 122 | v-model="ruleForm.ygdj.jedw" |
123 | :disabled="!ableOperation" | 123 | :disabled="!viewEdit" |
124 | style="width: 68px"> | 124 | style="width: 68px"> |
125 | <el-option | 125 | <el-option |
126 | v-for="item in dictData['A57']" | 126 | v-for="item in dictData['A57']" |
... | @@ -134,13 +134,13 @@ | ... | @@ -134,13 +134,13 @@ |
134 | </el-col> | 134 | </el-col> |
135 | <el-col :span="8"> | 135 | <el-col :span="8"> |
136 | <el-form-item label="债务履行起始时间:"> | 136 | <el-form-item label="债务履行起始时间:"> |
137 | <el-date-picker v-model="ruleForm.ygdj.zwlxqssj" :disabled="!ableOperation" type="date"> | 137 | <el-date-picker v-model="ruleForm.ygdj.zwlxqssj" :disabled="!viewEdit" type="date"> |
138 | </el-date-picker> | 138 | </el-date-picker> |
139 | </el-form-item> | 139 | </el-form-item> |
140 | </el-col> | 140 | </el-col> |
141 | <el-col :span="8"> | 141 | <el-col :span="8"> |
142 | <el-form-item label="债务履行结束时间:"> | 142 | <el-form-item label="债务履行结束时间:"> |
143 | <el-date-picker v-model="ruleForm.ygdj.zwlxjssj" :disabled="!ableOperation" type="date"> | 143 | <el-date-picker v-model="ruleForm.ygdj.zwlxjssj" :disabled="!viewEdit" type="date"> |
144 | </el-date-picker> | 144 | </el-date-picker> |
145 | </el-form-item> | 145 | </el-form-item> |
146 | </el-col> | 146 | </el-col> |
... | @@ -149,13 +149,13 @@ | ... | @@ -149,13 +149,13 @@ |
149 | <el-col :span="16"> | 149 | <el-col :span="16"> |
150 | <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> | 150 | <el-form-item label="是否存在禁止或限制转让抵押不动产的约定:"> |
151 | <el-input v-model="ruleForm.ygdj.sfczjzhxz" | 151 | <el-input v-model="ruleForm.ygdj.sfczjzhxz" |
152 | :disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input> | 152 | :disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input> |
153 | </el-form-item> | 153 | </el-form-item> |
154 | </el-col> | 154 | </el-col> |
155 | <el-col :span="8"> | 155 | <el-col :span="8"> |
156 | <el-form-item label="担保范围:"> | 156 | <el-form-item label="担保范围:"> |
157 | <el-input v-model="ruleForm.ygdj.dbfw" | 157 | <el-input v-model="ruleForm.ygdj.dbfw" |
158 | :disabled="ruleForm.sldy.djlx == '300' && !ableOperation"></el-input> | 158 | :disabled="ruleForm.sldy.djlx == '300' && !viewEdit"></el-input> |
159 | </el-form-item> | 159 | </el-form-item> |
160 | </el-col> | 160 | </el-col> |
161 | 161 | ||
... | @@ -163,7 +163,7 @@ | ... | @@ -163,7 +163,7 @@ |
163 | <el-row> | 163 | <el-row> |
164 | <el-col :span="24"> | 164 | <el-col :span="24"> |
165 | <el-form-item label="附记:" prop="fj"> | 165 | <el-form-item label="附记:" prop="fj"> |
166 | <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!ableOperation"></el-input> | 166 | <el-input type="textarea" v-model="ruleForm.ygdj.fj" :disabled="!viewEdit"></el-input> |
167 | </el-form-item> | 167 | </el-form-item> |
168 | </el-col> | 168 | </el-col> |
169 | </el-row> | 169 | </el-row> |
... | @@ -174,7 +174,7 @@ | ... | @@ -174,7 +174,7 @@ |
174 | <el-row :gutter="10"> | 174 | <el-row :gutter="10"> |
175 | <el-col :span="12"> | 175 | <el-col :span="12"> |
176 | <el-form-item label="共有方式:"> | 176 | <el-form-item label="共有方式:"> |
177 | <el-radio-group :disabled="!ableOperation" v-model="ruleForm.sldy.gyfs"> | 177 | <el-radio-group :disabled="!viewEdit" v-model="ruleForm.sldy.gyfs"> |
178 | <el-radio label="0">单独所有</el-radio> | 178 | <el-radio label="0">单独所有</el-radio> |
179 | <el-radio label="1">共同共有</el-radio> | 179 | <el-radio label="1">共同共有</el-radio> |
180 | <el-radio label="2">按份所有</el-radio> | 180 | <el-radio label="2">按份所有</el-radio> |
... | @@ -186,7 +186,7 @@ | ... | @@ -186,7 +186,7 @@ |
186 | <el-form-item label="是否分别持证:"> | 186 | <el-form-item label="是否分别持证:"> |
187 | <el-radio-group | 187 | <el-radio-group |
188 | v-model="ruleForm.sldy.sqfbcz" | 188 | v-model="ruleForm.sldy.sqfbcz" |
189 | :disabled="!ableOperation"> | 189 | :disabled="!viewEdit"> |
190 | <el-radio :label="1">是</el-radio> | 190 | <el-radio :label="1">是</el-radio> |
191 | <el-radio :label="0">否</el-radio> | 191 | <el-radio :label="0">否</el-radio> |
192 | </el-radio-group> | 192 | </el-radio-group> |
... | @@ -199,7 +199,7 @@ | ... | @@ -199,7 +199,7 @@ |
199 | <el-select | 199 | <el-select |
200 | v-model="ruleForm.czr" | 200 | v-model="ruleForm.czr" |
201 | placeholder="持证人" | 201 | placeholder="持证人" |
202 | :disabled="!ableOperation"> | 202 | :disabled="!viewEdit"> |
203 | <el-option | 203 | <el-option |
204 | v-for="item in czrOptions" | 204 | v-for="item in czrOptions" |
205 | :key="item.zjh" | 205 | :key="item.zjh" |
... | @@ -210,13 +210,13 @@ | ... | @@ -210,13 +210,13 @@ |
210 | </el-form-item> | 210 | </el-form-item> |
211 | </el-col> | 211 | </el-col> |
212 | </el-row> | 212 | </el-row> |
213 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!ableOperation" | 213 | <qlrCommonTable @upDateQlrxxList="upDateQlrxxList" :tableData="ruleForm.qlrList" :disabled="!viewEdit" |
214 | :gyfs="ruleForm.sldy.gyfs" /> | 214 | :gyfs="ruleForm.sldy.gyfs" /> |
215 | <div class="slxx_title title-block"> | 215 | <div class="slxx_title title-block"> |
216 | 义务人信息 | 216 | 义务人信息 |
217 | <div class="triangle"></div> | 217 | <div class="triangle"></div> |
218 | </div> | 218 | </div> |
219 | <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!ableOperation" | 219 | <qlrCommonTable @upDateQlrxxList="upDateYwrxxList" :tableData="ruleForm.ywrList" :disabled="!viewEdit" |
220 | :gyfs="ruleForm.sldy.gyfs" /> | 220 | :gyfs="ruleForm.sldy.gyfs" /> |
221 | <div class="slxx_title title-block"> | 221 | <div class="slxx_title title-block"> |
222 | 登记原因 | 222 | 登记原因 |
... | @@ -225,14 +225,14 @@ | ... | @@ -225,14 +225,14 @@ |
225 | <el-row :gutter="10"> | 225 | <el-row :gutter="10"> |
226 | <el-col> | 226 | <el-col> |
227 | <el-form-item label="登记原因:" prop="djyy"> | 227 | <el-form-item label="登记原因:" prop="djyy"> |
228 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!ableOperation" | 228 | <el-input class="textArea" type="textarea" maxlength="500" show-word-limit :disabled="!viewEdit" |
229 | v-model="ruleForm.ygdj.djyy"> | 229 | v-model="ruleForm.ygdj.djyy"> |
230 | </el-input> | 230 | </el-input> |
231 | </el-form-item> | 231 | </el-form-item> |
232 | </el-col> | 232 | </el-col> |
233 | </el-row> | 233 | </el-row> |
234 | </div> | 234 | </div> |
235 | <el-row class="btn" v-if="ableOperation"> | 235 | <el-row class="btn" v-if="viewEdit"> |
236 | <el-form-item> | 236 | <el-form-item> |
237 | <el-button type="primary" @click="onSubmit">保存</el-button> | 237 | <el-button type="primary" @click="onSubmit">保存</el-button> |
238 | </el-form-item> | 238 | </el-form-item> |
... | @@ -248,7 +248,7 @@ | ... | @@ -248,7 +248,7 @@ |
248 | export default { | 248 | export default { |
249 | mixins: [ywmix], | 249 | mixins: [ywmix], |
250 | created () { | 250 | created () { |
251 | this.ableOperation = this.$parent.currentSelectTab.ableOperation | 251 | this.viewEdit = this.$parent.currentSelectTab.ableOperation |
252 | this.propsParam = this.$attrs; | 252 | this.propsParam = this.$attrs; |
253 | var formdata = new FormData(); | 253 | var formdata = new FormData(); |
254 | let that = this | 254 | let that = this |
... | @@ -256,7 +256,7 @@ | ... | @@ -256,7 +256,7 @@ |
256 | formdata.append("bsmSldy", this.propsParam.bsmSldy); | 256 | formdata.append("bsmSldy", this.propsParam.bsmSldy); |
257 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); | 257 | formdata.append("bsmSlsq", this.$route.query.bsmSlsq); |
258 | formdata.append("djlx", this.propsParam.djlx); | 258 | formdata.append("djlx", this.propsParam.djlx); |
259 | formdata.append("isEdit", this.ableOperation); | 259 | formdata.append("isEdit", this.viewEdit); |
260 | Init(formdata).then((res) => { | 260 | Init(formdata).then((res) => { |
261 | if (res.code === 200 && res.result) { | 261 | if (res.code === 200 && res.result) { |
262 | that.ruleForm = res.result; | 262 | that.ruleForm = res.result; |
... | @@ -279,7 +279,7 @@ | ... | @@ -279,7 +279,7 @@ |
279 | data () { | 279 | data () { |
280 | return { | 280 | return { |
281 | //表单是否可操作 | 281 | //表单是否可操作 |
282 | ableOperation: true, | 282 | viewEdit: true, |
283 | loading: false, | 283 | loading: false, |
284 | disabled: true, | 284 | disabled: true, |
285 | tdytOption: [], | 285 | tdytOption: [], | ... | ... |
-
Please register or sign in to post a comment