修改知识库
This commit is contained in:
parent
d22cdb94e7
commit
744c5862a2
@ -1449,14 +1449,9 @@ export default {
|
|||||||
} else {
|
} else {
|
||||||
if(this.diseaseTypeName = '请选择病种'){
|
if(this.diseaseTypeName = '请选择病种'){
|
||||||
this.form.diseaseTypeName=null
|
this.form.diseaseTypeName=null
|
||||||
|
|
||||||
}else{
|
}else{
|
||||||
this.form.diseaseTypeName = this.diseaseTypeName
|
this.form.diseaseTypeName = this.diseaseTypeName
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(this.form)
|
|
||||||
|
|
||||||
addPropaganda(this.form).then(response => {
|
addPropaganda(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
this.open = false;
|
this.open = false;
|
||||||
|
|||||||
@ -209,9 +209,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total > 0"
|
v-show="total > 0"
|
||||||
:total="total"
|
:total="total"
|
||||||
@ -219,10 +216,24 @@
|
|||||||
:limit.sync="queryParams.pageSize"
|
:limit.sync="queryParams.pageSize"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
<!-- 添加或修改话术信息对话框 -->
|
<!-- 添加或修改话术信息对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="700px" append-to-body v-if="open">
|
<el-dialog
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="110px" :inline="true">
|
:title="title"
|
||||||
|
:visible.sync="open"
|
||||||
|
width="700px"
|
||||||
|
append-to-body
|
||||||
|
v-if="open"
|
||||||
|
>
|
||||||
|
<el-form
|
||||||
|
ref="form"
|
||||||
|
:model="form"
|
||||||
|
:rules="rules"
|
||||||
|
label-width="110px"
|
||||||
|
:inline="true"
|
||||||
|
>
|
||||||
<el-form-item label="通用话术名称" prop="commonScriptName">
|
<el-form-item label="通用话术名称" prop="commonScriptName">
|
||||||
<el-input
|
<el-input
|
||||||
maxlength="100"
|
maxlength="100"
|
||||||
@ -238,8 +249,13 @@
|
|||||||
/>
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="话术排序" prop="scriptSort">
|
<el-form-item label="话术排序" prop="scriptSort">
|
||||||
<el-input-number v-model="form.scriptSort" controls-position="right" :min="0" placeholder="请输入话术排序" style="width:206px"/>
|
<el-input-number
|
||||||
|
v-model="form.scriptSort"
|
||||||
|
controls-position="right"
|
||||||
|
:min="0"
|
||||||
|
placeholder="请输入话术排序"
|
||||||
|
style="width: 206px"
|
||||||
|
/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="话术ID" prop="scriptId">
|
<el-form-item label="话术ID" prop="scriptId">
|
||||||
<el-input
|
<el-input
|
||||||
@ -271,7 +287,6 @@
|
|||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
|
||||||
|
|
||||||
<el-form-item label="科室名称" prop="departmentId">
|
<el-form-item label="科室名称" prop="departmentId">
|
||||||
<el-button
|
<el-button
|
||||||
type=""
|
type=""
|
||||||
@ -554,8 +569,8 @@ export default {
|
|||||||
querydisease: {
|
querydisease: {
|
||||||
pageNum: 1,
|
pageNum: 1,
|
||||||
pageSize: 10,
|
pageSize: 10,
|
||||||
diseaseTypeName:null,
|
diseaseTypeName: null,
|
||||||
departmentId:null,
|
departmentId: null,
|
||||||
},
|
},
|
||||||
listdisease: [],
|
listdisease: [],
|
||||||
diseasetotal: 0,
|
diseasetotal: 0,
|
||||||
@ -690,7 +705,7 @@ export default {
|
|||||||
},
|
},
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {
|
rules: {
|
||||||
scriptSort:[
|
scriptSort: [
|
||||||
{ required: true, message: "话术排序不能为空", trigger: "blur" }
|
{ required: true, message: "话术排序不能为空", trigger: "blur" }
|
||||||
],
|
],
|
||||||
commonScriptName: [
|
commonScriptName: [
|
||||||
@ -890,13 +905,13 @@ export default {
|
|||||||
this.form = {
|
this.form = {
|
||||||
id: null,
|
id: null,
|
||||||
departmentId: null,
|
departmentId: null,
|
||||||
scriptSort:undefined,
|
scriptSort: undefined,
|
||||||
departmentName: null,
|
departmentName: null,
|
||||||
diseaseTypeId: null,
|
diseaseTypeId: null,
|
||||||
diseaseTypeName: null,
|
diseaseTypeName: null,
|
||||||
diseaseTypeCode: null,
|
diseaseTypeCode: null,
|
||||||
commonScriptName: null,
|
commonScriptName: null,
|
||||||
scriptFilePath:null,
|
scriptFilePath: null,
|
||||||
scriptName: null,
|
scriptName: null,
|
||||||
scriptId: null,
|
scriptId: null,
|
||||||
platformId: null,
|
platformId: null,
|
||||||
@ -982,8 +997,8 @@ export default {
|
|||||||
this.form = response.data;
|
this.form = response.data;
|
||||||
this.diseaseTypeName = response.data.diseaseTypeName
|
this.diseaseTypeName = response.data.diseaseTypeName
|
||||||
this.departmentName = response.data.departmentName
|
this.departmentName = response.data.departmentName
|
||||||
if(!this.form.scriptSort){
|
if (!this.form.scriptSort) {
|
||||||
this.form.scriptSort=undefined
|
this.form.scriptSort = undefined
|
||||||
}
|
}
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = "修改话术信息";
|
this.title = "修改话术信息";
|
||||||
@ -1048,10 +1063,10 @@ export default {
|
|||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
::v-deep .el-input-number .el-input__inner{
|
::v-deep .el-input-number .el-input__inner {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
}
|
}
|
||||||
::v-deep .el-textarea__inner{
|
::v-deep .el-textarea__inner {
|
||||||
width: 206px;
|
width: 206px;
|
||||||
}
|
}
|
||||||
.leftscript {
|
.leftscript {
|
||||||
|
|||||||
@ -251,9 +251,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total > 0"
|
v-show="total > 0"
|
||||||
:total="total"
|
:total="total"
|
||||||
@ -261,6 +258,8 @@
|
|||||||
:limit.sync="queryParams.pageSize"
|
:limit.sync="queryParams.pageSize"
|
||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
<!-- 添加或修改服务包基础信息对话框 -->
|
<!-- 添加或修改服务包基础信息对话框 -->
|
||||||
<el-dialog
|
<el-dialog
|
||||||
|
|||||||
@ -132,9 +132,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
</el-table>
|
</el-table>
|
||||||
</el-col>
|
|
||||||
</el-row>
|
|
||||||
|
|
||||||
<pagination
|
<pagination
|
||||||
v-show="total > 0"
|
v-show="total > 0"
|
||||||
:total="total"
|
:total="total"
|
||||||
@ -143,6 +140,11 @@
|
|||||||
@pagination="getList"
|
@pagination="getList"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
|
</el-col>
|
||||||
|
</el-row>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
<!-- 添加或修改手术信息对话框 -->
|
<!-- 添加或修改手术信息对话框 -->
|
||||||
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
<el-dialog :title="title" :visible.sync="open" width="500px" append-to-body>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
<el-form ref="form" :model="form" :rules="rules" label-width="80px">
|
||||||
|
|||||||
@ -303,30 +303,36 @@
|
|||||||
prop="patientId"
|
prop="patientId"
|
||||||
v-if="form.taskType == 'TEXT_REMIND'"
|
v-if="form.taskType == 'TEXT_REMIND'"
|
||||||
>
|
>
|
||||||
<!-- 短信 -->
|
|
||||||
<el-input
|
<el-input
|
||||||
|
type="textarea"
|
||||||
|
disabled
|
||||||
|
v-model="form.textRemindContent"
|
||||||
|
style="width: 635px"
|
||||||
|
/>
|
||||||
|
<!-- 短信 -->
|
||||||
|
<!-- <el-input
|
||||||
v-if="form.messagePushSign == 1"
|
v-if="form.messagePushSign == 1"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
disabled
|
disabled
|
||||||
v-model="form.messagePreview"
|
v-model="form.messagePreview"
|
||||||
style="width: 635px"
|
style="width: 635px"
|
||||||
/>
|
/> -->
|
||||||
<!-- 公众号 -->
|
<!-- 公众号 -->
|
||||||
<el-input
|
<!-- <el-input
|
||||||
v-if="form.officialPushSign == 1"
|
v-if="form.officialPushSign == 1"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
disabled
|
disabled
|
||||||
v-model="form.officialRemindContent"
|
v-model="form.officialRemindContent"
|
||||||
style="width: 635px"
|
style="width: 635px"
|
||||||
/>
|
/> -->
|
||||||
<!-- 小程序 -->
|
<!-- 小程序 -->
|
||||||
<el-input
|
<!-- <el-input
|
||||||
v-if="form.appletPushSign == 1"
|
v-if="form.appletPushSign == 1"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
disabled
|
disabled
|
||||||
v-model="form.appletRemindContent"
|
v-model="form.appletRemindContent"
|
||||||
style="width: 635px"
|
style="width: 635px"
|
||||||
/>
|
/> -->
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</div>
|
</div>
|
||||||
<!-- 人工随访 -->
|
<!-- 人工随访 -->
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user