28025 28011
This commit is contained in:
@@ -89,7 +89,7 @@
|
||||
<div style="background-color: #fff" v-if="current == 0">
|
||||
<div class="collapse">
|
||||
<u-collapse event-type="close" :arrow="true" :accordion="true">
|
||||
<u-collapse-item v-if="item.length > 0" v-for="(item, index) in inforlist" :title="item[0].groupName" :open="true" :key="index">
|
||||
<u-collapse-item v-if="item.length" v-for="(item, index) in inforlist" :title="item[0] && item[0].groupName" :open="true" :key="index">
|
||||
<div v-for="(items, indexs) in item" :key="indexs">
|
||||
<div class="item_msg">
|
||||
<!-- 左 -->
|
||||
@@ -98,10 +98,7 @@
|
||||
<!-- 字典值 items.dictionaryCode -->
|
||||
<span class="msg_lright" v-if="items.fieldDataType != 5">{{ $dict.getLabel(items.dictionaryCode, items.fieldValue) }}</span>
|
||||
<span class="msg_lright" v-else>
|
||||
<span v-for="(itemL, indexL) in items.fieldValue" :key="indexL"
|
||||
>{{ $dict.getLabel(items.dictionaryCode, itemL) }}
|
||||
<!-- <span v-if="indexL < items.fieldValue.length - 1">,</span> -->
|
||||
</span>
|
||||
<span v-for="(itemL, indexL) in items.fieldValue" :key="indexL">{{ $dict.getLabel(items.dictionaryCode, itemL) }} </span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -174,7 +171,10 @@
|
||||
<span>{{ item4.fieldValue }}</span>
|
||||
</div> -->
|
||||
|
||||
<span v-if="item.stepType == 2">审批意见:{{ item.opinion }}</span>
|
||||
<span v-if="item.stepType == 2" style="display: flex">
|
||||
<span style="width: 70px">审批意见:</span>
|
||||
<span style="color: #f14242"> {{ item.opinion }}</span>
|
||||
</span>
|
||||
|
||||
<div class="examine" v-if="item.stepType == 2">
|
||||
<div class="examine_docx1">
|
||||
@@ -285,20 +285,22 @@ export default {
|
||||
|
||||
this.inforlist = [[], [], [], [], [], [], [], [], [], []]
|
||||
res.data.tableInfo.tableFieldInfos.map((item) => {
|
||||
if (item.groupIndex) {
|
||||
this.inforlist[item.groupIndex - 1].push(item)
|
||||
}
|
||||
this.inforlist[item.groupIndex].push(item)
|
||||
|
||||
if (item.dictionaryCode) {
|
||||
this.dictList.push(item.dictionaryCode)
|
||||
}
|
||||
if (item.fieldDataType == 5) {
|
||||
// item.fieldValue = item.fieldValue.split(',')
|
||||
}
|
||||
})
|
||||
|
||||
this.$dict.load(this.dictList).then(() => {
|
||||
// this.pageShow = true
|
||||
this.$dict.load(this.dictList)
|
||||
}
|
||||
|
||||
if (item.fieldDataType == 5) {
|
||||
item.fieldValue = item.fieldValue && item.fieldValue.split(',')
|
||||
}
|
||||
|
||||
if (item.fieldDataType == 9) {
|
||||
console.log(item.dictionaryCode)
|
||||
console.log(this.$dict.getDict(item.dictionaryCode, item.fieldValue))
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user