Merge branch 'dev'
Showing
1 changed file
with
14 additions
and
14 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Description: | 2 | * @Description: |
| 3 | * @Autor: renchao | 3 | * @Autor: renchao |
| 4 | * @LastEditTime: 2023-07-24 09:47:54 | 4 | * @LastEditTime: 2023-08-17 15:26:20 |
| 5 | --> | 5 | --> |
| 6 | <template> | 6 | <template> |
| 7 | <div> | 7 | <div> |
| ... | @@ -36,9 +36,9 @@ | ... | @@ -36,9 +36,9 @@ |
| 36 | <el-row> | 36 | <el-row> |
| 37 | <el-col :span="8"> | 37 | <el-col :span="8"> |
| 38 | <el-form-item label="发起业务单元类型" v-if="form.sqdjyw"> | 38 | <el-form-item label="发起业务单元类型" v-if="form.sqdjyw"> |
| 39 | <el-select v-model="form.sqdjyw.sqywdylx" placeholder="请选择" class="width100"> | 39 | <el-select v-model="form.sqdjyw.sqywdylx" placeholder="请选择" class="width100"> |
| 40 | <el-option v-for="item in sqywdylx" :key="item.dcode" :label="item.dname" :value="item.dcode"> | 40 | <el-option v-for="item in sqywdylx" :key="item.dcode" :label="item.dname" :value="item.dcode"> |
| 41 | </el-option> | 41 | </el-option> |
| 42 | </el-select> | 42 | </el-select> |
| 43 | </el-form-item> | 43 | </el-form-item> |
| 44 | </el-col> | 44 | </el-col> |
| ... | @@ -134,7 +134,7 @@ | ... | @@ -134,7 +134,7 @@ |
| 134 | </div> | 134 | </div> |
| 135 | <div slot="footer" class="dialog_footer text-center"> | 135 | <div slot="footer" class="dialog_footer text-center"> |
| 136 | <el-button @click="$popupCacel()">取 消</el-button> | 136 | <el-button @click="$popupCacel()">取 消</el-button> |
| 137 | <el-button type="primary" @click="submit" plain>提 交</el-button> | 137 | <el-button type="primary" @click="submit" :loading="loading">提 交</el-button> |
| 138 | </div> | 138 | </div> |
| 139 | </div> | 139 | </div> |
| 140 | </template> | 140 | </template> |
| ... | @@ -152,19 +152,19 @@ | ... | @@ -152,19 +152,19 @@ |
| 152 | default: () => { } | 152 | default: () => { } |
| 153 | } | 153 | } |
| 154 | }, | 154 | }, |
| 155 | |||
| 156 | data () { | 155 | data () { |
| 157 | return { | 156 | return { |
| 157 | loading: false, | ||
| 158 | key: 0, | 158 | key: 0, |
| 159 | tn: 0, | 159 | tn: 0, |
| 160 | n: 0, | 160 | n: 0, |
| 161 | djlxList: [], | 161 | djlxList: [], |
| 162 | sqywdylx:store.getters.dictData['sqywdylx'], | 162 | sqywdylx: store.getters.dictData['sqywdylx'], |
| 163 | options: [ | 163 | options: [ |
| 164 | {label:"正常申请",value:"1"}, | 164 | { label: "正常申请", value: "1" }, |
| 165 | {label:"一并申请",value:"2"}, | 165 | { label: "一并申请", value: "2" }, |
| 166 | {label:"补录申请",value:"3"} | 166 | { label: "补录申请", value: "3" } |
| 167 | ], | 167 | ], |
| 168 | imgUploadUrl: uploadUrl(), | 168 | imgUploadUrl: uploadUrl(), |
| 169 | title: "", | 169 | title: "", |
| 170 | activeName: "1", | 170 | activeName: "1", |
| ... | @@ -255,7 +255,7 @@ | ... | @@ -255,7 +255,7 @@ |
| 255 | let _this = this | 255 | let _this = this |
| 256 | getSqdjywDetail(bsmSqyw).then((res) => { | 256 | getSqdjywDetail(bsmSqyw).then((res) => { |
| 257 | if (res.code === 200) { | 257 | if (res.code === 200) { |
| 258 | _this.form=res.result; | 258 | _this.form = res.result; |
| 259 | // _this.form.bsmSqyw = res.result.bsmSqyw; | 259 | // _this.form.bsmSqyw = res.result.bsmSqyw; |
| 260 | // _this.form.ywDetail = res.result.ywDetail; | 260 | // _this.form.ywDetail = res.result.ywDetail; |
| 261 | // _this.$set(_this.form, 'djqx', res.result.djqx); | 261 | // _this.$set(_this.form, 'djqx', res.result.djqx); |
| ... | @@ -270,14 +270,15 @@ | ... | @@ -270,14 +270,15 @@ |
| 270 | } | 270 | } |
| 271 | }) | 271 | }) |
| 272 | }, | 272 | }, |
| 273 | //提交保存数据 | ||
| 274 | /** | 273 | /** |
| 275 | * @description: 提交保存数据 | 274 | * @description: 提交保存数据 |
| 276 | * @author: renchao | 275 | * @author: renchao |
| 277 | */ | 276 | */ |
| 278 | submit () { | 277 | submit () { |
| 279 | let that = this; | 278 | let that = this; |
| 279 | this.loading = true | ||
| 280 | saveSqdjyw(this.form).then((res) => { | 280 | saveSqdjyw(this.form).then((res) => { |
| 281 | this.loading = false | ||
| 281 | if (res.code == 200) { | 282 | if (res.code == 200) { |
| 282 | that.$message({ | 283 | that.$message({ |
| 283 | message: "修改成功", | 284 | message: "修改成功", |
| ... | @@ -287,7 +288,6 @@ | ... | @@ -287,7 +288,6 @@ |
| 287 | } | 288 | } |
| 288 | }) | 289 | }) |
| 289 | }, | 290 | }, |
| 290 | // 上移下移 | ||
| 291 | /** | 291 | /** |
| 292 | * @description: 上移下移 | 292 | * @description: 上移下移 |
| 293 | * @param {*} index | 293 | * @param {*} index | ... | ... |
-
Please register or sign in to post a comment