nochange
This commit is contained in:
parent
b59cf78c4e
commit
48e10fcac5
|
@ -853,13 +853,36 @@
|
||||||
|
|
||||||
methods: {
|
methods: {
|
||||||
noChange(index){
|
noChange(index){
|
||||||
|
let that = this;
|
||||||
if(index==='1'){//资质无新增
|
if(index==='1'){//资质无新增
|
||||||
qualiNoChange({qtask:this.qtask}).then(res=>{
|
that.$confirm("是否确定本月无新增资质?", "提示")
|
||||||
})
|
.then(async () => {
|
||||||
|
qualiNoChange({qtask:this.qtask}).then(res=>{
|
||||||
|
if (res.code >= 200 && res.code < 400) {
|
||||||
|
that.getList();
|
||||||
|
that.$message.success("成功");
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
console.error(err);
|
||||||
|
});
|
||||||
|
|
||||||
}else{//能力无新增
|
}else{//能力无新增
|
||||||
abilityNoChange({qtask:this.qtask}).then(res=>{
|
that.$confirm("是否确定本月无新增能力?", "提示")
|
||||||
})
|
.then(async () => {
|
||||||
|
abilityNoChange({qtask:this.qtask}).then(res=>{
|
||||||
|
if (res.code >= 200 && res.code < 400) {
|
||||||
|
that.getList();
|
||||||
|
that.$message.success("成功");
|
||||||
|
}
|
||||||
|
})
|
||||||
|
})
|
||||||
|
.catch((err) => {
|
||||||
|
console.error(err);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
getOptions() {
|
getOptions() {
|
||||||
getDictList({type__code: "field_type", is_used: true}).then((res) => {
|
getDictList({type__code: "field_type", is_used: true}).then((res) => {
|
||||||
|
@ -943,7 +966,7 @@
|
||||||
this.qtask = obj.qtask;
|
this.qtask = obj.qtask;
|
||||||
this.qtaskName = obj.qtask_.name;
|
this.qtaskName = obj.qtask_.name;
|
||||||
this.buttonsShow = true;
|
this.buttonsShow = true;
|
||||||
this.listQuery.task = obj.qtask;
|
this.listQuery.qtask = obj.qtask;
|
||||||
qactionMy(this.listQuery).then((res) => {
|
qactionMy(this.listQuery).then((res) => {
|
||||||
this.recordList = res.data;
|
this.recordList = res.data;
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue