Merge remote-tracking branch 'origin/dev_test' into dev_test

This commit is contained in:
zhoulingpo
2023-11-21 11:03:23 +08:00
4 changed files with 9 additions and 9 deletions
@@ -2181,7 +2181,7 @@ export default {
splitType: '全部章节'
},
headers:{
token: JSON.parse(localStorage.getItem('userInfo')).token
// token: JSON.parse(localStorage.getItem('userInfo')).token
}
}
},
@@ -2548,9 +2548,9 @@
})
}
},
ifStandCodebyStandName(standCode,standName,taskIds,standNum){
ifStandCodebyStandName(standCode,standName,taskIds,standNum,standSort){
return new Promise((resolve, reject)=>{
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName,taskIds,standNum})
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName,taskIds,standNum,standSort})
.then(res => resolve(res))
.catch(e => {
throw new Error(e)
@@ -2619,7 +2619,7 @@
this.$refs['formTongGuo'].validate((valid) => {
if (valid) {
if(this.form.standStatus === '1' || this.form.standStatus === '2'){
this.ifStandCodebyStandName(this.form.standCode,this.form.standName,this.taskIds,this.form.standNum)
this.ifStandCodebyStandName(this.form.standCode,this.form.standName,this.taskIds,this.form.standNum,this.form.standSort)
.then((res)=>{
if(res.ok){
this.completeTask()
@@ -18,8 +18,8 @@
</el-select>
</el-form-item>
<el-form-item label="制修订类型" prop="reviseStatus" class="add-form-item form-item-disabled" >
<el-select v-model="form.reviseStatus" filterable @change="reveseStatusChange"
:disabled="form.reviseStatus === '3'">
<el-select v-model="form.reviseStatus" filterable @change="reveseStatusChange" disabled>
<!--:disabled="form.reviseStatus === '3'">-->
<el-option
v-for="item in opinionsStand"
:key="item.value"
@@ -2663,9 +2663,9 @@
this.rules.commentText[0].required = true;
}
},
ifStandCodebyStandName(standCode,standName,taskIds,standNum){
ifStandCodebyStandName(standCode,standName,taskIds,standNum,standSort){
return new Promise((resolve, reject)=>{
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName,taskIds,standNum})
this.$http._postData('lawss/sarBussionessStand/ifStandCodebyStandName',{standCode,standName,taskIds,standNum,standSort})
.then(res => resolve(res))
.catch(e => {
throw new Error(e)
@@ -2727,7 +2727,7 @@
this.$refs['formTongGuo'].validate((valid) => {
if (valid) {
if(this.form.reviseStatus === '1' || this.form.reviseStatus === '2'){
this.ifStandCodebyStandName(this.form.standCode,this.form.standName,this.taskIds,this.form.standNum)
this.ifStandCodebyStandName(this.form.standCode,this.form.standName,this.taskIds,this.form.standNum,this.form.standSort)
.then((res)=>{
if(res.ok){
this.completeTask()