c3c6d59a by renchao@pashanhoo.com

style:业务申请规则修改

1 parent b31f7fe4
<!--
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-24 09:47:54
* @LastEditTime: 2023-08-17 15:26:20
-->
<template>
<div>
......@@ -134,7 +134,7 @@
</div>
<div slot="footer" class="dialog_footer text-center">
<el-button @click="$popupCacel()">取 消</el-button>
<el-button type="primary" @click="submit" plain>提 交</el-button>
<el-button type="primary" @click="submit" :loading="loading">提 交</el-button>
</div>
</div>
</template>
......@@ -152,18 +152,18 @@
default: () => { }
}
},
data () {
return {
loading: false,
key: 0,
tn: 0,
n: 0,
djlxList: [],
sqywdylx:store.getters.dictData['sqywdylx'],
sqywdylx: store.getters.dictData['sqywdylx'],
options: [
{label:"正常申请",value:"1"},
{label:"一并申请",value:"2"},
{label:"补录申请",value:"3"}
{ label: "正常申请", value: "1" },
{ label: "一并申请", value: "2" },
{ label: "补录申请", value: "3" }
],
imgUploadUrl: uploadUrl(),
title: "",
......@@ -255,7 +255,7 @@
let _this = this
getSqdjywDetail(bsmSqyw).then((res) => {
if (res.code === 200) {
_this.form=res.result;
_this.form = res.result;
// _this.form.bsmSqyw = res.result.bsmSqyw;
// _this.form.ywDetail = res.result.ywDetail;
// _this.$set(_this.form, 'djqx', res.result.djqx);
......@@ -270,14 +270,15 @@
}
})
},
//提交保存数据
/**
* @description: 提交保存数据
* @author: renchao
*/
submit () {
let that = this;
this.loading = true
saveSqdjyw(this.form).then((res) => {
this.loading = false
if (res.code == 200) {
that.$message({
message: "修改成功",
......@@ -287,7 +288,6 @@
}
})
},
// 上移下移
/**
* @description: 上移下移
* @param {*} index
......