|
@@ -74,11 +74,35 @@
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item label="是否控费:" prop="ruleType">
|
|
|
+ <el-select v-model="form.costControl"
|
|
|
+ placeholder="请选择是否控费:"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in costControlList"
|
|
|
+ :key="item.val"
|
|
|
+ :label="item.name"
|
|
|
+ :value="Number(item.val)">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<!-- <el-form-item label="备注:" prop="remark">
|
|
|
<el-input v-model="form.remark" maxlength="200" placeholder="请输入备注"></el-input>
|
|
|
</el-form-item> -->
|
|
|
<el-form-item label="备注:" prop="remark">
|
|
|
<el-input v-model="form.remark" maxlength="500" type="textarea" :autosize="{ minRows: 2, maxRows: 4}" placeholder="请输入备注"></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ <el-form-item label="质控形式:" prop="ruleType">
|
|
|
+ <el-select v-model="form.qcType"
|
|
|
+ placeholder="请选择质控形式::"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in qcTypeList"
|
|
|
+ :key="item.val"
|
|
|
+ :label="item.name"
|
|
|
+ :value="Number(item.val)">
|
|
|
+ </el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="前置条件:" prop="remark" class="procent">
|
|
|
<el-input v-model="form.precond" maxlength="200" placeholder="请输入前置条件"></el-input>
|
|
@@ -168,6 +192,8 @@
|
|
|
ruleTypeList:[],
|
|
|
devTypeList:[],
|
|
|
accuracyTypeList:[],
|
|
|
+ costControlList:[],
|
|
|
+ qcTypeList:[],
|
|
|
caseLIst:[],
|
|
|
hospitalModuleList:[], //医院数据模块列表
|
|
|
title:'质控条目-新增',
|
|
@@ -181,7 +207,9 @@
|
|
|
remark:'',
|
|
|
levelNo:'',
|
|
|
precond:'',
|
|
|
- hospitalModuleId:''
|
|
|
+ hospitalModuleId:'',
|
|
|
+ costControl:2,
|
|
|
+ qcType:2
|
|
|
},
|
|
|
tableData:[],
|
|
|
selectHospital:[],
|
|
@@ -199,14 +227,10 @@
|
|
|
}
|
|
|
},
|
|
|
created(){
|
|
|
- let {isEdit, data,ruleTypeList,devTypeList,accuracyTypeList} = this.$route.params;
|
|
|
+ this.getRuleTypeModule();
|
|
|
+ let {isEdit, data} = this.$route.params;
|
|
|
const userLoginDTO = JSON.parse(localStorage.getItem('userLoginDTO'))
|
|
|
this.modifier = userLoginDTO && userLoginDTO.linkman
|
|
|
- this.ruleTypeList=ruleTypeList;
|
|
|
- this.devTypeList=devTypeList || [];
|
|
|
- this.accuracyTypeList=accuracyTypeList || [];
|
|
|
- this.devTypeList.shift();
|
|
|
- this.accuracyTypeList.shift();
|
|
|
if(isEdit){
|
|
|
this.title = '质控条目-修改'
|
|
|
this.isEdit = isEdit
|
|
@@ -219,7 +243,9 @@
|
|
|
this.form.casesId = data.casesId
|
|
|
this.form.remark = data.remark
|
|
|
// this.form.levelNo = data.levelNo
|
|
|
- this.form.hospitalModuleId = data.modeId
|
|
|
+ this.form.hospitalModuleId = data.modeId
|
|
|
+ this.form.costControl = data.drgs
|
|
|
+ this.form.qcType = data.type
|
|
|
this.form.precond = data.precond
|
|
|
this.selectHospital = data.getUpdateInfoDetialDTOS || []
|
|
|
}
|
|
@@ -321,6 +347,24 @@
|
|
|
}
|
|
|
})
|
|
|
},
|
|
|
+ getRuleTypeModule(){
|
|
|
+ return api.getRuleTypes({}).then((res)=>{
|
|
|
+ const result = res.data;
|
|
|
+ if(result.code==0){
|
|
|
+ this.ruleTypeList = result.data["14"];
|
|
|
+ this.devTypeList = res.data.data&&res.data.data["15"]
|
|
|
+ this.accuracyTypeList = res.data.data&&res.data.data["16"]
|
|
|
+ this.costControlList = res.data.data&&res.data.data["17"]
|
|
|
+ this.qcTypeList = res.data.data&&res.data.data["18"]
|
|
|
+ }else{
|
|
|
+ this.$message({
|
|
|
+ message:result.msg,
|
|
|
+ type:'warning',
|
|
|
+ showClose: true
|
|
|
+ });
|
|
|
+ }
|
|
|
+ })
|
|
|
+ },
|
|
|
cancel(){
|
|
|
this.$router.push({
|
|
|
name: 'RecordItemList',
|
|
@@ -332,7 +376,7 @@
|
|
|
return
|
|
|
}
|
|
|
this.canSave = false
|
|
|
- const {itemName,casesId,itemCode,remark,levelNo,precond,hospitalModuleId,ruleType,devType,accuracyType} = this.form
|
|
|
+ const {itemName,casesId,itemCode,remark,levelNo,precond,hospitalModuleId,ruleType,devType,accuracyType,costControl,qcType} = this.form
|
|
|
if(!itemName){
|
|
|
this.$message({
|
|
|
message:"请输入条目名称",
|
|
@@ -407,7 +451,9 @@
|
|
|
casesName: this.caseLIst.find(item => item.id === casesId).name,
|
|
|
modifier:this.modifier,
|
|
|
creator: '0',
|
|
|
- casesEntryHospitals:casesEntryHospitals
|
|
|
+ casesEntryHospitals:casesEntryHospitals,
|
|
|
+ drgs:costControl,
|
|
|
+ type:qcType
|
|
|
}
|
|
|
api.addRecordItem(params).then((res)=>{
|
|
|
this.canSave = true
|