日志审核
This commit is contained in:
@@ -72,6 +72,16 @@
|
|||||||
</ai-uploader>
|
</ai-uploader>
|
||||||
</ai-info-item>
|
</ai-info-item>
|
||||||
</ai-wrapper>
|
</ai-wrapper>
|
||||||
|
<div v-if="userInfo.logStatus==1">
|
||||||
|
<p style="display: inline-block;">审核结果:</p>
|
||||||
|
<el-radio-group v-model="logCheck">
|
||||||
|
<el-radio label="2">合格</el-radio>
|
||||||
|
<el-radio label="3">不合格</el-radio>
|
||||||
|
</el-radio-group>
|
||||||
|
</div>
|
||||||
|
<div slot="footer" style="text-align: center;" v-if="userInfo.logStatus==1">
|
||||||
|
<el-button style="width:92px" size="small" type="primary" @click="logCheckFn()">提交</el-button>
|
||||||
|
</div>
|
||||||
</ai-dialog>
|
</ai-dialog>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
@@ -105,7 +115,8 @@ export default {
|
|||||||
],
|
],
|
||||||
userList: [],
|
userList: [],
|
||||||
showDialog: false,
|
showDialog: false,
|
||||||
userInfo: {}
|
userInfo: {},
|
||||||
|
logCheck: '2'
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -148,6 +159,7 @@ export default {
|
|||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
this.userInfo = {...res.data}
|
this.userInfo = {...res.data}
|
||||||
this.userInfo.userName = row.partyName
|
this.userInfo.userName = row.partyName
|
||||||
|
this.userInfo.logStatus = row.logStatus
|
||||||
this.showDialog = true
|
this.showDialog = true
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@@ -155,6 +167,18 @@ export default {
|
|||||||
cancel() {
|
cancel() {
|
||||||
this.$emit("goBack")
|
this.$emit("goBack")
|
||||||
},
|
},
|
||||||
|
logCheckFn(){
|
||||||
|
this.instance.post(`/app/apppartyreport/log-check`, {
|
||||||
|
id: this.userInfo.id,
|
||||||
|
logStatus: this.logCheck
|
||||||
|
}).then(res => {
|
||||||
|
if (res.code == 0) {
|
||||||
|
this.showDialog = false
|
||||||
|
this.getList()
|
||||||
|
this.logCheck = '2'
|
||||||
|
}
|
||||||
|
});
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
Reference in New Issue
Block a user