Commit ba02a5ac by zhangxw

bug修改

1 parent 94429553
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</el-dialog> </el-dialog>
<div class="btn-box"> <div class="btn-box">
<el-button type="default" @click="handleCancel">取消</el-button> <el-button type="default" @click="handleCancel">取消</el-button>
<template v-if="curRouteInfo.status == 8 || curRouteInfo.status == 10 || curRouteInfo.status == 13 || curRouteInfo.status == 25 || curRouteInfo.status == 34"> <template v-if="curRouteInfo.status == 8 || curRouteInfo.status == 10 || curRouteInfo.status == 13 || curRouteInfo.status == 22 || curRouteInfo.status == 25 || curRouteInfo.status == 34">
<el-button type="primary" @click="handleSave(0)">草稿</el-button> <el-button type="primary" @click="handleSave(0)">草稿</el-button>
<el-button type="primary" @click="handleSave(1)">提交</el-button> <el-button type="primary" @click="handleSave(1)">提交</el-button>
</template> </template>
......
...@@ -231,8 +231,8 @@ export default { ...@@ -231,8 +231,8 @@ export default {
return '重新提交' return '重新提交'
}, },
condition: row => { condition: row => {
// c端小程序报案的单是核赔不通过/定损不通过 // c端小程序报案的单是运营经理审核不通过/核赔不通过/定损不通过
return [25, 35].includes(row.scope.status) && row.scope.source == 4 return [22, 25, 35].includes(row.scope.status) && row.scope.source == 4
}, },
attrs: { attrs: {
type: 'text', type: 'text',
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
<glsx-combi-form ref="noPassRef" :isInline="false" labelWidth="154px" defaultWidth="284px" :formObj="noPassObj" :formData="noPassForm"></glsx-combi-form> <glsx-combi-form ref="noPassRef" :isInline="false" labelWidth="154px" defaultWidth="284px" :formObj="noPassObj" :formData="noPassForm"></glsx-combi-form>
</GLDialog> </GLDialog>
<!-- 查看合同 --> <!-- 查看合同 -->
<contract-dialog v-if="pageType != 1" ref="contract-dialog" :isVisible="contractVisible" :pdfUrl="pdfUrl" @handleContractPdf="handleContractPdf" @closeDialog="closeDialog"></contract-dialog> <contract-dialog v-if="(editForm.contractNo && searchDetailFlag) || pageType != 1" ref="contract-dialog" :isVisible="contractVisible" :pdfUrl="pdfUrl" @handleContractPdf="handleContractPdf" @closeDialog="closeDialog"></contract-dialog>
</div> </div>
</template> </template>
<script> <script>
...@@ -179,7 +179,8 @@ export default { ...@@ -179,7 +179,8 @@ export default {
reasonForFailureCode: 1, reasonForFailureCode: 1,
isWatchOrder: false, isWatchOrder: false,
refitInfo: {}, refitInfo: {},
contractVisible: false contractVisible: false,
searchDetailFlag: false
} }
}, },
created() { created() {
...@@ -537,6 +538,7 @@ export default { ...@@ -537,6 +538,7 @@ export default {
damageType: [] damageType: []
} }
}) || [] }) || []
this.searchDetailFlag = true
this.getAccountInfo(contractNo) this.getAccountInfo(contractNo)
}) })
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!