知识库修改
This commit is contained in:
parent
4fd2718327
commit
3ae08c4811
@ -73,7 +73,7 @@
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['manage:template:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
||||
v-hasPermi="['manage:template:edit']">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['manage:template:remove']">删除</el-button>
|
||||
</template>
|
||||
|
||||
@ -258,10 +258,6 @@
|
||||
icon="el-icon-edit"
|
||||
@click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['manage:propaganda:edit']"
|
||||
v-if="
|
||||
!scope.row.sourceTemplateId ||
|
||||
scope.row.sourceTemplateId == 0
|
||||
"
|
||||
>修改</el-button
|
||||
>
|
||||
<el-button
|
||||
@ -1487,6 +1483,7 @@ export default {
|
||||
this.form.propagandaContent = this.fn(this.form.propagandaContent)
|
||||
this.form.hospitalAgencyId = this.queryParams.hospitalAgencyId
|
||||
this.form.hospitalAgencyName = this.queryParams.hospitalAgencyName
|
||||
this.form.propagandaStatus = 'CREATE_COMPLETE'
|
||||
if (this.form.propagandaContent && (this.form.propagandaContent.length - 7 > this.maxLength)) {
|
||||
// if (this.form.propagandaContent.length - 7 > this.maxLength) {
|
||||
this.$message({
|
||||
|
||||
@ -79,9 +79,9 @@
|
||||
<!-- <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>
|
||||
@click="seescript(scope.row)">预览</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['manage:script:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
||||
v-hasPermi="['manage:script:edit']">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['manage:script:remove']">删除</el-button>
|
||||
</template>
|
||||
|
||||
@ -71,7 +71,7 @@
|
||||
v-if="scope.row.whetherRelease == 0">发布</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-notebook-2" @click="detail(scope.row)">详情</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['manage:servicepackage:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
||||
v-hasPermi="['manage:servicepackage:edit']">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['manage:servicepackage:remove']">删除</el-button>
|
||||
</template>
|
||||
|
||||
@ -67,7 +67,7 @@
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['manage:template:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
||||
v-hasPermi="['manage:template:edit']">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['manage:template:remove']">删除</el-button>
|
||||
</template>
|
||||
|
||||
@ -39,7 +39,7 @@
|
||||
<el-table-column label="操作" align="center" class-name="small-padding fixed-width">
|
||||
<template slot-scope="scope">
|
||||
<el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['operationInfo:operationInfo:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">修改</el-button>
|
||||
v-hasPermi="['operationInfo:operationInfo:edit']">修改</el-button>
|
||||
<el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['operationInfo:operationInfo:remove']">删除</el-button>
|
||||
</template>
|
||||
|
||||
@ -67,7 +67,7 @@
|
||||
<!-- <el-button size="mini" type="text" @click="handleClassification(scope.row)"
|
||||
v-hasPermi="['system:question:edit']">分类管理</el-button> -->
|
||||
<el-button size="mini" type="text" @click="handleUpdate(scope.row)"
|
||||
v-hasPermi="['system:question:edit']" v-if="!scope.row.sourceTemplateId ||scope.row.sourceTemplateId==0">编辑</el-button>
|
||||
v-hasPermi="['system:question:edit']">编辑</el-button>
|
||||
<el-button size="mini" type="text" @click="handleDelete(scope.row)"
|
||||
v-hasPermi="['system:question:remove']">删除</el-button>
|
||||
</template>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user