From af5a12b69aff761e8bbce85dacafac1e675f0d63 Mon Sep 17 00:00:00 2001
From: changjinpeng <185154740@qq.com>
Date: Thu, 3 Mar 2022 19:01:12 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8D=95=E9=80=89=E6=90=9E=E5=AE=9A?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/apps/AppWorkonline/Opinion.vue | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
diff --git a/src/apps/AppWorkonline/Opinion.vue b/src/apps/AppWorkonline/Opinion.vue
index b0f670ad..a4e3d617 100644
--- a/src/apps/AppWorkonline/Opinion.vue
+++ b/src/apps/AppWorkonline/Opinion.vue
@@ -48,13 +48,15 @@
-
+
*
{{ item.fieldName }}:
-
+
+
+
@@ -110,12 +112,12 @@ export default {
filedIndex: 0,
fileNameList: [],
opinion: '',
+ showStstus: false,
}
},
onLoad(options) {
this.objid = options.id
this.type = options.type
-
this.getList()
},
onShow() {
@@ -131,15 +133,13 @@ export default {
.post(`/app/approv-alapply-info/approval-popup?type=${this.type}&id=${this.objid}`)
.then((res) => {
if (res.code == 0) {
- this.list = res.data.fieldInfos
- console.log(this.list)
res.data.fieldInfos.map((item) => {
- // this.list.push(item)
- // if (item.fieldDataType == 1) {
- // item.fieldValue = ''
- // }
- // if (item.fieldType == 3) {
- // }
+ if (item.fieldType != 3) {
+ item.fieldValue = ''
+ }
+ if (item.fieldType == 3) {
+ this.list.push(item)
+ }
})
}
})
@@ -162,6 +162,10 @@ export default {
})
},
+ selectStatus(e) {
+ this.$set(this.list[index], 'fieldValue', this.value)
+ },
+
btn() {
// if (this.type == 0 && this.opinion == '') {
// return uni.showToast({