问答 归档

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 _this: this
}, res => { }, res => {
if(this.list.length === 0){ if(this.list.length === 0){
this.deleteReplyToenNotice() this.$http.get('lawss/activiti/selectWenDan', {
.then(res => { taskId: this.$route.query.taskIds,
this.$http.post("lawss/activiti/completeTask", { }, {
json: JSON.stringify(this.form), _this: this
taskId: this.$route.query.taskIds, }, res => {
userId: this.$store.getters.userInfo.userId this.form = Object.assign(this.form,res)
}, {}, 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.form.reply = ''
this.fileList = [] this.fileList = []
this.$emit('emitInsState',true) this.$emit('emitInsState',true)
}).catch(e => console.log(e)) }).catch(e => console.log(e))
}, e => {
})
}else{ }else{
this.$http.post("lawss/activiti/completeTask", { this.$http.post("lawss/activiti/completeTask", {
json: JSON.stringify(this.form), json: JSON.stringify(this.form),
@@ -26,7 +26,8 @@
</div> </div>
</div> </div>
<div style="float: right; margin-top: 20px"> <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> </div>
<!-- <div class="footer-box">--> <!-- <div class="footer-box">-->
@@ -2229,7 +2229,7 @@ export default {
break break
case '27': case '27':
this.$router.push({ this.$router.push({
name: 'MyQuestions', name: 'MyQuestions2',
query:{ query:{
taskIds: row.taskIds, taskIds: row.taskIds,
prcId: row.prcId, prcId: row.prcId,