问答 归档

This commit is contained in:
zyn
2023-04-06 04:56:26 +08:00
parent b475c17813
commit 0070cd699d
3 changed files with 23 additions and 14 deletions
@@ -165,19 +165,27 @@ export default {
_this: this
}, res => {
if(this.list.length === 0){
this.deleteReplyToenNotice()
.then(res => {
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(this.form),
taskId: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
this.$http.get('lawss/activiti/selectWenDan', {
taskId: this.$route.query.taskIds,
}, {
_this: this
}, res => {
this.form = Object.assign(this.form,res)
this.deleteReplyToenNotice()
.then(res => {
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(this.form),
taskId: this.$route.query.taskIds,
userId: this.$store.getters.userInfo.userId
}, {}, res => {
});
this.form.reply = ''
this.fileList = []
this.$emit('emitInsState',true)
}).catch(e => console.log(e))
});
this.form.reply = ''
this.fileList = []
this.$emit('emitInsState',true)
}).catch(e => console.log(e))
}, e => {
})
}else{
this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(this.form),
@@ -26,7 +26,8 @@
</div>
</div>
<div style="float: right; margin-top: 20px">
<el-checkbox v-if="answer.checkedShow && archiveVerify()" @change="answerChang" :disabled="answer.state && answer.state === 'yes'" v-model="answer.checked">归档</el-checkbox>
<!--<el-checkbox v-if="answer.checkedShow && archiveVerify()" @change="answerChang" :disabled="answer.state && answer.state === 'yes'" v-model="answer.checked">归档</el-checkbox>-->
<el-checkbox @change="answerChang" :disabled="answer.state && answer.state === 'yes'" v-model="answer.checked">归档</el-checkbox>
</div>
</div>
<!-- <div class="footer-box">-->
@@ -2229,7 +2229,7 @@ export default {
break
case '27':
this.$router.push({
name: 'MyQuestions',
name: 'MyQuestions2',
query:{
taskIds: row.taskIds,
prcId: row.prcId,