|
|
@@ -31,17 +31,17 @@
|
|
|
label="评价等级">
|
|
|
<template slot-scope="scope">
|
|
|
<span class="lblue point">
|
|
|
- <el-rate :value="scope.row.grade" disabled></el-rate>
|
|
|
+ <el-rate :value="scope.row.grade" disabled></el-rate>
|
|
|
</span>
|
|
|
<span>
|
|
|
- {{scope.row.grade_name}}
|
|
|
+ {{ scope.row.grade_name }}
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="create_time" label="评价标签">
|
|
|
<template slot-scope="scope">
|
|
|
<span v-for="item in scope.row.labels" style="margin-left: 5px">
|
|
|
- <el-tag size="mini" type="info">{{item}}</el-tag>
|
|
|
+ <el-tag size="mini" type="info">{{ item }}</el-tag>
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -70,10 +70,11 @@
|
|
|
label="原客户经理">
|
|
|
<template slot-scope="scope">
|
|
|
<span class="lblue point">
|
|
|
- <a target="_blank" :href="scope.row.host+'/rooter/user/'+scope.row.before_uid" v-if="scope.row.before_uid != '0'">{{
|
|
|
+ <a target="_blank" :href="scope.row.host+'/rooter/user/'+scope.row.before_uid"
|
|
|
+ v-if="scope.row.before_uid != '0'">{{
|
|
|
scope.row.before_uid_name + '(' + scope.row.before_uid + ')'
|
|
|
}}</a>
|
|
|
- <a href="javascript:;" v-else>-</a>
|
|
|
+ <a href="javascript:;" v-else>-</a>
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -82,10 +83,11 @@
|
|
|
label="更换后客户经理">
|
|
|
<template slot-scope="scope">
|
|
|
<span class="lblue point">
|
|
|
- <a target="_blank" :href="scope.row.host+'/rooter/user/'+scope.row.this_uid" v-if="scope.row.this_uid != '0'">{{
|
|
|
+ <a target="_blank" :href="scope.row.host+'/rooter/user/'+scope.row.this_uid"
|
|
|
+ v-if="scope.row.this_uid != '0'">{{
|
|
|
scope.row.this_uid_name + '(' + scope.row.this_uid + ')'
|
|
|
}}</a>
|
|
|
- <a href="javascript:;" v-else>-</a>
|
|
|
+ <a href="javascript:;" v-else>-</a>
|
|
|
</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
@@ -103,13 +105,15 @@
|
|
|
</el-table-column>
|
|
|
<el-table-column label="备注">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{ scope.row.remark_text }}</span>
|
|
|
+ <div>{{ scope.row.remark_text }}</div>
|
|
|
+ <el-button type="text" @click="onToList(scope.row)">查看备注({{ scope.row.remark_num }})</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column label="操作">
|
|
|
<template slot-scope="scope">
|
|
|
<el-button type="text" @click="onRemark(scope.row)">添加备注</el-button>
|
|
|
- <el-button type="text" v-if="scope.row.status === '0'" @click="onUpdateManager(scope.row)">立即处理</el-button>
|
|
|
+ <el-button type="text" v-if="scope.row.status === '0'" @click="onUpdateManager(scope.row)">立即处理
|
|
|
+ </el-button>
|
|
|
<el-button type="text" v-else disabled>已处理</el-button>
|
|
|
|
|
|
</template>
|
|
|
@@ -203,9 +207,16 @@ export default {
|
|
|
},
|
|
|
onRemark(row) {
|
|
|
this.remarkData.id = row.id;
|
|
|
- this.remarkData.content = row.remark || '';
|
|
|
+ // this.remarkData.content = row.remark || '';
|
|
|
this.remarkModel = true;
|
|
|
},
|
|
|
+ onToList(row) {
|
|
|
+ let data = {
|
|
|
+ obj_id: row.id,
|
|
|
+ type: 3
|
|
|
+ }
|
|
|
+ this.$router.push({path: '/main/remark_list', query: data});
|
|
|
+ },
|
|
|
async onRemarkSave() {
|
|
|
this.loading = true;
|
|
|
if (this.remarkData.content === '' || this.remarkData.id === '0') {
|
|
|
@@ -213,6 +224,7 @@ export default {
|
|
|
this.loading = false
|
|
|
return false
|
|
|
}
|
|
|
+
|
|
|
let data = {content: this.remarkData.content, id: this.remarkData.id}
|
|
|
let res = await this.$post("/api/admin/accountManager/saveRemark", data);
|
|
|
if (res && res.status === 1) {
|