|
@@ -55,9 +55,11 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<!-- 变更说明 -->
|
|
|
- <view class="section white-wrap change-info-wrap" v-if="changeDesc.length>0">
|
|
|
+ <view class="section white-wrap change-info-wrap" v-if="changeDesc&&changeDesc.length>0">
|
|
|
<view class="title">变更说明</view>
|
|
|
- <view style="margin-bottom: 20rpx;" v-for="(item,index) in changeDesc" :key="index">{{index+1}}、{{item}}</view>
|
|
|
+ <view style="margin-bottom: 20rpx;" v-for="(item,index) in changeDesc" :key="index">{{index+1}}、
|
|
|
+ <rich-text :nodes="formatChangeInfo(item)" style="padding-left:14px;margin-top:-19px;display: block;"></rich-text>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
<!-- 服务内容 -->
|
|
|
<view class="section white-wrap service-wrap">
|
|
@@ -340,6 +342,15 @@
|
|
|
},1000)
|
|
|
},
|
|
|
methods: {
|
|
|
+ // 处理变更说明
|
|
|
+ formatChangeInfo(str){
|
|
|
+ let arr=str.split('</n>').filter(item=> item)
|
|
|
+ let arr2=arr.map(item=>{
|
|
|
+ return `<p>${item}</p>`
|
|
|
+ })
|
|
|
+ return arr2.join('')
|
|
|
+ },
|
|
|
+
|
|
|
// 点击上传回签附件
|
|
|
handleUploadCheckFile(){
|
|
|
const _this=this
|