修改话术
This commit is contained in:
parent
23496791a5
commit
0c5468a1a7
@ -78,9 +78,9 @@
|
||||
<el-table-column label="病种名称" align="center" prop="diseaseTypeName" :show-overflow-tooltip="true" />
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-folder-delete" v-if="scope.row.releaseStatus == 'PUBLISHED'"
|
||||
<!-- <el-button size="mini" type="text" icon="el-icon-folder-delete"
|
||||
@click="norelease(scope.row)">取消发布</el-button>
|
||||
<el-button size="mini" icon="el-icon-folder-checked" type="text" v-else @click="release(scope.row)">发布</el-button>
|
||||
<el-button size="mini" icon="el-icon-folder-checked" type="text" @click="release(scope.row)">发布</el-button> -->
|
||||
<el-button size="mini" type="text" icon="el-icon-search" @click="handlesee(scope.row)">预览</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-zoom-in" @click="see(scope.row)">话术</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-picture-outline" @click="seescript(scope.row)">话术预览</el-button>
|
||||
@ -503,40 +503,40 @@ export default {
|
||||
}
|
||||
|
||||
},
|
||||
//发布
|
||||
release(item) {
|
||||
this.$confirm('是否发布此话术?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
}).then(() => {
|
||||
var obj = { ...item }
|
||||
obj.releaseStatus = 'PUBLISHED'
|
||||
editReleaseStatus(obj).then(response => {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '发布成功!'
|
||||
});
|
||||
this.getList();
|
||||
});
|
||||
})
|
||||
},
|
||||
//取消发布
|
||||
norelease(item) {
|
||||
this.$confirm('是否取消发布此话术?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
}).then(() => {
|
||||
var obj = { ...item }
|
||||
obj.releaseStatus = 'REVOKE'
|
||||
editReleaseStatus(obj).then(response => {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '取消发布成功!'
|
||||
});
|
||||
this.getList();
|
||||
});
|
||||
})
|
||||
},
|
||||
// //发布
|
||||
// release(item) {
|
||||
// this.$confirm('是否发布此话术?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// }).then(() => {
|
||||
// var obj = { ...item }
|
||||
// obj.releaseStatus = 'PUBLISHED'
|
||||
// editReleaseStatus(obj).then(response => {
|
||||
// this.$message({
|
||||
// type: 'success',
|
||||
// message: '发布成功!'
|
||||
// });
|
||||
// this.getList();
|
||||
// });
|
||||
// })
|
||||
// },
|
||||
// //取消发布
|
||||
// norelease(item) {
|
||||
// this.$confirm('是否取消发布此话术?', '提示', {
|
||||
// confirmButtonText: '确定',
|
||||
// cancelButtonText: '取消',
|
||||
// }).then(() => {
|
||||
// var obj = { ...item }
|
||||
// obj.releaseStatus = 'REVOKE'
|
||||
// editReleaseStatus(obj).then(response => {
|
||||
// this.$message({
|
||||
// type: 'success',
|
||||
// message: '取消发布成功!'
|
||||
// });
|
||||
// this.getList();
|
||||
// });
|
||||
// })
|
||||
// },
|
||||
|
||||
// 预览关闭
|
||||
seeClose() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user