update 征求意见调整
This commit is contained in:
@@ -129,6 +129,9 @@
|
||||
form-is-depend="isAdopt"
|
||||
:extra-form="extraForm"
|
||||
:all-disabled="true">
|
||||
<template v-slot:content="{text}">
|
||||
<div class="table-text" v-if="!!text" @click="handleShowContentDetail(text)">{{text }}</div>
|
||||
</template>
|
||||
</z-expand-table>
|
||||
</div>
|
||||
|
||||
@@ -193,6 +196,15 @@
|
||||
</template>
|
||||
|
||||
<select-user ref="selectUser" @selected-change="continueTurnTo" />
|
||||
|
||||
<van-popup v-model="showContentDetail"
|
||||
closeable
|
||||
round
|
||||
position="bottom"
|
||||
safe-area-inset-bottom
|
||||
:style="{ height: '50%' }">
|
||||
<div class="content-detail-text">{{ contentDetail }}</div>
|
||||
</van-popup>
|
||||
</process-common-layout>
|
||||
</template>
|
||||
|
||||
@@ -278,21 +290,21 @@ export default {
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'modificationBefore',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
scopedSlots: { customRender: 'content' }
|
||||
},
|
||||
{ // 修改后
|
||||
title: this.$t('standardConsultation.afterModification'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'modificationAfter',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
scopedSlots: { customRender: 'content' }
|
||||
},
|
||||
{ // 修改理由
|
||||
title: this.$t('standardConsultation.reasonForModification'),
|
||||
align: 'center',
|
||||
width: 180,
|
||||
dataIndex: 'modificationReason',
|
||||
scopedSlots: { customRender: 'text' }
|
||||
scopedSlots: { customRender: 'content' }
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -403,7 +415,9 @@ export default {
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
showContentDetail: false,
|
||||
contentDetail: null
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -638,6 +652,10 @@ export default {
|
||||
timer = null
|
||||
this.$router.go(-1)
|
||||
}, 700)
|
||||
},
|
||||
handleShowContentDetail (text) {
|
||||
this.contentDetail = text
|
||||
this.showContentDetail = true
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -645,5 +663,17 @@ export default {
|
||||
|
||||
<style scoped lang="less">
|
||||
@import '~../../../assets/less/common.less';
|
||||
.content-detail-text {
|
||||
height: calc(100% - 54px);
|
||||
margin-top: 54px;
|
||||
padding: @pad-base;
|
||||
overflow: auto;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.table-text {
|
||||
overflow: hidden;
|
||||
white-space: nowrap;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user