知识库修改

This commit is contained in:
shidongli 2024-08-13 13:59:46 +08:00
parent 4fd2718327
commit 3ae08c4811
7 changed files with 11 additions and 14 deletions

View File

@ -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>

View File

@ -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({

View File

@ -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>

View File

@ -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>

View File

@ -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>
@ -92,7 +92,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="科室名称" prop="departmentId">
<el-button type="" @click="clickinnerVisible()"
:style="form.departmentName == '请选择科室' ? 'color: #c0c4cc;' : ''" style="
@ -125,12 +125,12 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item label="模板内容" prop="templateContent">
<el-input v-model="form.templateContent" placeholder="请输入模板内容" type="textarea" maxlength="300" :rows="10" />
<!-- <editor v-model="form.templateContent" :min-height="192"/> -->
</el-form-item>
</el-form>
<div slot="footer" class="dialog-footer">
<el-button type="primary" @click="submitForm"> </el-button>

View File

@ -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>

View File

@ -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>