Commit a728278b authored by zhengyi's avatar zhengyi

跟进新增编辑的提交结果按钮未显示修复

parent bc9f1610
...@@ -221,7 +221,7 @@ export default { ...@@ -221,7 +221,7 @@ export default {
return time.getTime() <= Date.now() return time.getTime() <= Date.now()
}, },
}, },
isEdit: false, isEdit: true,
followTime: [], followTime: [],
nextTime: [], nextTime: [],
queryParams: { queryParams: {
...@@ -356,7 +356,7 @@ export default { ...@@ -356,7 +356,7 @@ export default {
return return
} }
if (status == 0) { if (status === 0) {
this.saveSubmitData(status) this.saveSubmitData(status)
} else { } else {
this.$confirm(this.$t('提交后无法修改'), this.$t('提示'), { this.$confirm(this.$t('提交后无法修改'), this.$t('提示'), {
...@@ -445,7 +445,7 @@ export default { ...@@ -445,7 +445,7 @@ export default {
}, },
handleAdd() { handleAdd() {
this.isView = false this.isView = false
this.isEdit = false this.isEdit = true
this.customerFollow.dialogVisible = true this.customerFollow.dialogVisible = true
this.reset() this.reset()
}, },
......
...@@ -571,8 +571,8 @@ ...@@ -571,8 +571,8 @@
</el-table-column> </el-table-column>
<el-table-column width="150px" :label="$t('操作')" align="center" fixed="right" class-name="small-padding fixed-width"> <el-table-column width="150px" :label="$t('操作')" align="center" fixed="right" class-name="small-padding fixed-width">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleCustomerFollow(scope.row, false)" v-hasPermi="['ecw:customer:follow-update']">{{ $t("编辑") }}</el-button> <el-button size="mini" type="text" icon="el-icon-edit" @click="handleCustomerFollow(scope.row, scope.row.status == 0)" v-hasPermi="['ecw:customer:follow-update']">{{ $t("编辑") }}</el-button>
<el-button size="mini" type="text" icon="el-icon-collection" @click="handleCustomerFollow(scope.row, true)" v-has-permi="['ecw:customer:follow-add-plan']">{{ $t("增加计划") }}</el-button> <el-button size="mini" type="text" icon="el-icon-collection" @click="handleCustomerFollow(scope.row, scope.row.status == 0)" v-has-permi="['ecw:customer:follow-add-plan']">{{ $t("增加计划") }}</el-button>
</template> </template>
</el-table-column> </el-table-column>
</el-table> </el-table>
......
...@@ -598,7 +598,6 @@ export default { ...@@ -598,7 +598,6 @@ export default {
title: "", title: "",
//是否显示弹出层 //是否显示弹出层
open: false, open: false,
form: {},
dialogVisible: false, dialogVisible: false,
reason: "", //审核理由 reason: "", //审核理由
cancelShow: false, cancelShow: false,
...@@ -1158,4 +1157,3 @@ export default { ...@@ -1158,4 +1157,3 @@ export default {
}, },
}; };
</script> </script>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment