|
@@ -235,18 +235,17 @@
|
|
|
</CardTitle>
|
|
|
<el-collapse-transition>
|
|
|
<div v-show="quxian_show">
|
|
|
- <!-- <el-form :inline="true" :model="caseSearchData" class="demo-form-inline">
|
|
|
- <el-form-item label="">
|
|
|
- <el-select v-model="caseSearchData.department" filterable clearable placeholder="科室">
|
|
|
- <el-option v-for="(item, index) in departmentList" :label="item.name" :value="item.name"
|
|
|
- :key="index"></el-option>
|
|
|
- </el-select>
|
|
|
- </el-form-item>
|
|
|
+ <el-form :inline="true" :model="caseSearchData" class="demo-form-inline">
|
|
|
+ <el-form-item label="规则类型" prop="type">
|
|
|
+ <el-select v-model="caseSearchData.type" clearable filterable placeholder="请选择规则类型" style="width: 100%;">
|
|
|
+ <el-option v-for="(item, index) in searchOptions.ruleTypeArray" :label="item.name" :value="item.name" :key="index"></el-option>
|
|
|
+ </el-select>
|
|
|
+ </el-form-item>
|
|
|
<el-form-item>
|
|
|
<el-button type="primary" @click="getCaseList">查询</el-button>
|
|
|
</el-form-item>
|
|
|
- </el-form> -->
|
|
|
- <ProblemTableBoxVue :data="caseList" from="ZMBLZK" @onGotoPage="(e) => urlGoto('/defectNumber?',`rule_id=${e.key}&from=ZMBLZK_WTSL`)"/>
|
|
|
+ </el-form>
|
|
|
+ <ProblemTableBoxVue :data="caseList" from="ZMBLZK" @onGotoPage="(e) => urlGoto('/defectNumber?',`rule_id=${e.key}&rule_type=${caseSearchData.type}&from=ZMBLZK_WTSL`)"/>
|
|
|
</div>
|
|
|
</el-collapse-transition>
|
|
|
|
|
@@ -341,6 +340,7 @@ export default {
|
|
|
yqArray: [],//院区options
|
|
|
ksArray: [],//科室options
|
|
|
bqArray: [],//病区options
|
|
|
+ ruleTypeArray: [], // 缺陷问题-规则类型
|
|
|
cascaderProps: {
|
|
|
multiple: true, // 开启多选模式
|
|
|
label: 'dep_name',
|
|
@@ -411,9 +411,9 @@ export default {
|
|
|
question_total: 1, // 问题数量
|
|
|
case_calibre: {} // 病案质量
|
|
|
},
|
|
|
- // caseSearchData: {
|
|
|
- // department: ''
|
|
|
- // },
|
|
|
+ caseSearchData: {
|
|
|
+ type: ''
|
|
|
+ },
|
|
|
caseList: [], // 缺陷问题
|
|
|
// departmentList: [],
|
|
|
// doctorList: [], // 医生列表
|
|
@@ -601,6 +601,9 @@ export default {
|
|
|
this.searchOptions.ksArray = this.cancelChildren(res.data.ksArray);//科室
|
|
|
this.searchOptions.bqArray = this.cancelChildren(res.data.bqArray);//病区
|
|
|
})
|
|
|
+ this.$axios.post('CaseHistory/Terminal/getQxBlSearchOptions', {}).then(res => {
|
|
|
+ this.searchOptions.ruleTypeArray = res.data.ruleTypeArray
|
|
|
+ })
|
|
|
},
|
|
|
// 将下拉框为空的children属性设置为undefined
|
|
|
cancelChildren(arr) {
|
|
@@ -771,10 +774,8 @@ export default {
|
|
|
// 获取缺陷问题
|
|
|
getCaseList() {
|
|
|
let pramse = {
|
|
|
- // start_time: this.formData.startTime,
|
|
|
- // end_time: this.formData.endTime,
|
|
|
- // department: this.caseSearchData.department,
|
|
|
- ...this.formData
|
|
|
+ ...this.formData,
|
|
|
+ ...this.caseSearchData
|
|
|
};
|
|
|
this.$axios.post('/case-quality/defect_issues', pramse).then(res => {
|
|
|
this.caseList = res.data.list
|