|
@@ -36,7 +36,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="已选择标准术语:" label-width="160px">{{form.selectedTermName}}</el-form-item>
|
|
|
<el-form-item
|
|
|
- v-if="form.selectedTerm&&(form.typeId==1||form.typeId==3||form.typeId==4||form.typeId==5)"
|
|
|
+ v-if="form.selectedTerm&&(form.typeId==1||form.typeId==3||form.typeId==4||form.typeId==5||form.typeId==6)"
|
|
|
:label="titleChange"
|
|
|
prop="titleChange"
|
|
|
label-width="160px"
|
|
@@ -179,7 +179,7 @@ export default {
|
|
|
showConfirm: true,
|
|
|
isSuccessUpload: 0, //是否上传成功 0: 不在上传 1: 上传过程中 2: 上传成功
|
|
|
isShowTip: false,
|
|
|
- showType: -1, // 1 诊断 2 药品 3检验套餐 4检验细项 5检查 6手术和操作
|
|
|
+ showType: -1, // 1 诊断 2 药品 3检验套餐 4检验细项 5检查 6检查子 7手术和操作
|
|
|
editCount: -1, // 页面会否被编辑 >0被编辑 =0 未编辑
|
|
|
startCount: -1,
|
|
|
isSaveSuccess: false // 是否保存成功
|
|
@@ -205,7 +205,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
created: function() {
|
|
|
- const { isEdit, data, isCopy } = this.$route.params;
|
|
|
+ const { isEdit, data, isCopy } = this.$route.params;
|
|
|
if (isEdit || isCopy) {
|
|
|
this.showType = data.type; // 编辑页确认显示类型
|
|
|
this.isEdit = isEdit;
|
|
@@ -233,7 +233,7 @@ export default {
|
|
|
this.form.titleChange =
|
|
|
data.type == 1
|
|
|
? data.clinicalPathwayName
|
|
|
- : data.type == 3 || data.type == 4 || data.type == 5
|
|
|
+ : data.type == 3 || data.type == 4 || data.type == 5|| data.type == 6
|
|
|
? data.noticeName
|
|
|
: '';
|
|
|
this.form.selectedTermName =
|
|
@@ -347,7 +347,7 @@ export default {
|
|
|
this.titleChange =
|
|
|
type == 1
|
|
|
? '临床路径标题:'
|
|
|
- : type == 3 || type == 4 || type == 5
|
|
|
+ : type == 3 || type == 4 || type == 5 || type == 6
|
|
|
? '注意事项标题:'
|
|
|
: '';
|
|
|
this.form.fileTitle = '';
|
|
@@ -377,7 +377,7 @@ export default {
|
|
|
it = Object.assign(this.form.prags[i]);
|
|
|
this.form.prags.splice(i - 1, 2, it, temp);
|
|
|
this.$nextTick(() => {
|
|
|
- div.scrollTop = this.$refs.subForm[i-1].$el.offsetTop -48;
|
|
|
+ div.scrollTop = this.$refs.subForm[i - 1].$el.offsetTop - 48;
|
|
|
});
|
|
|
} else {
|
|
|
if (i === this.form.prags.length - 1) {
|
|
@@ -452,7 +452,7 @@ export default {
|
|
|
let isDiagFlag = positionArr.some(item => item === 3);
|
|
|
// console.log(isVisFlag, 'isVisFlag');
|
|
|
if (
|
|
|
- (this.showType == 3 || this.showType == 4 || this.showType == 5) &&
|
|
|
+ (this.showType == 3 || this.showType == 4 || this.showType == 5|| this.showType == 6) &&
|
|
|
isVisFlag
|
|
|
) {
|
|
|
//若医学术语为检验/检查,且内容类型选择了注意事项,此时“注意事项标题”是必填项
|