This commit is contained in:
Paidax
2024-08-28 11:33:02 +08:00
parent 1f408391f9
commit 557a2e7b21
9 changed files with 117 additions and 152 deletions
@@ -164,7 +164,7 @@ layout("/layouts/platform.html"){
align="center">
<template scope="{row}">
<el-input v-model="row.inspection"
readonly type="textarea" rows="4"></el-input>
readonly type="textarea" rows="2"></el-input>
</template>
</el-table-column>
@@ -286,7 +286,7 @@ layout("/layouts/platform.html"){
'union-comment-zb': httpVueLoader('/components/wakeshome/review/UnionCommentZb.vue?v=' + moment(new Date()).unix()),
'wakes-home-review': httpVueLoader('/components/wakeshome/review/ReviewResult.vue?v=' + moment(new Date()).unix()),
},
methods: async {
methods: {
async openReview(row){
const resp = await $.get(loc() + "/getPeoId",{id:row.id})
if (resp.code === 0) {
@@ -376,7 +376,7 @@ layout("/layouts/platform.html"){
bzList.push(o)
})
})
this.formData.bzList = JSON.stringify(bzList)
this.formData.bzList = bzList
this.formData.id = this.id
this.formData.president = this.president
this.formData.files = JSON.stringify(this.formData.files)
@@ -396,12 +396,15 @@ layout("/layouts/platform.html"){
if (!this.formData.reviewResult) {
await this.createdReviewResult()
}
this.formData.bzList = JSON.stringify(this.formData.bzList)
const resp = await $.post('/mobile/wakeshome/review/appraisal/doSubmit',this.formData)
if (resp.code === 0) {
this.$message.success('提交成功')
this.$refs.guava.index()
this.formData = {}
this.pageData()
} else {
this.$message.warning(resp.msg)
}
})
@@ -437,8 +440,6 @@ layout("/layouts/platform.html"){
this.formData.evaluatedPersonName = user.username
this.formData.evaluatedPersonType = user.evaluatedPersonType
}
this.formData.bzList = JSON.stringify(this.formData.bzList)
},
},
async created() {
@@ -88,7 +88,6 @@ layout("/layouts/platform.html"){
</template>
<template #view>
<union-comment-zb :data="viewData" :is_view="true"></union-comment-zb>
</template>
</guava>