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({