Commit fd1fe244 by 王志慧

fixed

1 parent 6304d75e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="explanation-list"> <div class="explanation-list">
<label class="label" for="">{{ `说明${idx + 1}:` }}</label> <label class="label" for="">{{ `说明${idx + 1}:` }}</label>
<el-input :disabled="isCheck || isDisabled || item.operation == 1" :placeholder="`请输入说明${idx + 1}`" v-model="item.content" maxlength="200" type="textarea" :rows="3"></el-input> <el-input :disabled="isCheck || isDisabled || item.operation == 1" :placeholder="`请输入说明${idx + 1}`" v-model="item.content" maxlength="200" type="textarea" :rows="3"></el-input>
<i class="el-icon-delete del" v-if="!isCheck && supplementListTemp.length > 1&&item.operation!=1" @click="handleDel(idx)"></i> <i class="el-icon-delete del" v-if="!isCheck && supplementListTemp.length > 1 && item.operation != 1" @click="handleDel(idx)"></i>
<div class="follow-list" @click="showFollow">跟进记录</div> <div class="follow-list" @click="showFollow">跟进记录</div>
</div> </div>
<div class="operator"> <div class="operator">
...@@ -89,11 +89,16 @@ export default { ...@@ -89,11 +89,16 @@ export default {
}, },
watch:{ watch:{
supplementList(val){ supplementList:{
deep:true,
handler(val){
this.supplementListTemp = val this.supplementListTemp = val
val.forEach(item=>{ val.forEach(item=>{
item.operationTime = dayjs( item.operationTime).format('YYYY-MM-DD HH:mm:ss') item.operationTime = dayjs( item.operationTime).format('YYYY-MM-DD HH:mm:ss')
}) })
},
immediate:true
} }
}, },
methods: { methods: {
......
...@@ -18,7 +18,6 @@ ...@@ -18,7 +18,6 @@
</el-tabs> </el-tabs>
</div> </div>
</template> </template>
<!-- 底部按钮 --> <!-- 底部按钮 -->
<div v-if="pageType != 2 && activeName != 'second'" class="btn-box"> <div v-if="pageType != 2 && activeName != 'second'" class="btn-box">
<el-button plain class="btn-three" @click="toBackList">取消</el-button> <el-button plain class="btn-three" @click="toBackList">取消</el-button>
...@@ -136,6 +135,7 @@ export default { ...@@ -136,6 +135,7 @@ export default {
maxlength: 200 maxlength: 200
} }
], ],
isSave:true,
testServiceList: [], testServiceList: [],
insuranceAttachmentConfigs: [], insuranceAttachmentConfigs: [],
itemList: [], itemList: [],
...@@ -285,7 +285,9 @@ export default { ...@@ -285,7 +285,9 @@ export default {
if (res.bankAccountDTO) { if (res.bankAccountDTO) {
this.accountForm = res.bankAccountDTO this.accountForm = res.bankAccountDTO
} }
console.log(this.repotData,'----------------')
}) })
}, },
// 处理查看状态下数据展示 // 处理查看状态下数据展示
handlerWatch(obj, type) { handlerWatch(obj, type) {
...@@ -382,6 +384,7 @@ export default { ...@@ -382,6 +384,7 @@ export default {
}, },
// 通过订单 // 通过订单
toPassOrder() { toPassOrder() {
this.isSave =false
if (this.orderMsg.status == 12 || this.orderMsg.status == 2) { if (this.orderMsg.status == 12 || this.orderMsg.status == 2) {
const isPass = this.verifyImages(this.claimsAttachmentConfigs) const isPass = this.verifyImages(this.claimsAttachmentConfigs)
if (!isPass) { if (!isPass) {
...@@ -580,7 +583,7 @@ export default { ...@@ -580,7 +583,7 @@ export default {
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[content]: item.content, [content]: item.content,
[suppType]: item.suppType, [suppType]: item.suppType,
[operation]:1 [operation]:this.isSave&&!item.id?0:1
} }
Object.assign(obj, temp) Object.assign(obj, temp)
}) })
...@@ -596,7 +599,8 @@ export default { ...@@ -596,7 +599,8 @@ export default {
[claimsId]: this.orderMsg.id, [claimsId]: this.orderMsg.id,
[content]: item.content, [content]: item.content,
[suppType]: item.suppType, [suppType]: item.suppType,
[operation]:1 [operation]:this.isSave&&!item.id?0:1
} }
Object.assign(obj, temp) Object.assign(obj, temp)
}) })
...@@ -763,6 +767,7 @@ export default { ...@@ -763,6 +767,7 @@ export default {
}, },
// 保存订单 // 保存订单
toSaveOrder() { toSaveOrder() {
this.isSave =true
let para = this.savePara() let para = this.savePara()
const name = this.orderMsg.status == 12 || this.orderMsg.status == 2 ? 'saveClaimsCG' : 'saveCG' const name = this.orderMsg.status == 12 || this.orderMsg.status == 2 ? 'saveClaimsCG' : 'saveCG'
let loading = this.createLoading() let loading = this.createLoading()
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!