|
@@ -53,43 +53,47 @@
|
|
size="mini"
|
|
size="mini"
|
|
:span-method="dataSpanMethod"
|
|
:span-method="dataSpanMethod"
|
|
:data="form.klDiagnoseTypeVO"
|
|
:data="form.klDiagnoseTypeVO"
|
|
|
|
+ :row-class-name="tableRowClassName"
|
|
border
|
|
border
|
|
style="width: 100%"
|
|
style="width: 100%"
|
|
- class="discDesc is-required"
|
|
|
|
|
|
+ :header-cell-style="{background:'#E3EAF4'}"
|
|
>
|
|
>
|
|
<el-table-column label="依据" width="100">
|
|
<el-table-column label="依据" width="100">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <img
|
|
|
|
- src="../../images/icon-copy.png"
|
|
|
|
- height="18"
|
|
|
|
- width="18"
|
|
|
|
- class="icon"
|
|
|
|
- @click="copyDiag(scope.row.depart_id,scope.$index)"
|
|
|
|
- />
|
|
|
|
- <img
|
|
|
|
- src="../../images/icon-add.png"
|
|
|
|
- height="18"
|
|
|
|
- width="18"
|
|
|
|
- class="icon"
|
|
|
|
- @click="addDiag(scope.$index)"
|
|
|
|
- />
|
|
|
|
- <img
|
|
|
|
- src="../../images/icon-delete.png"
|
|
|
|
- height="18"
|
|
|
|
- width="18"
|
|
|
|
- class="icon"
|
|
|
|
- :disabled="form.klDiagnoseTypeVO.length===1"
|
|
|
|
- @click="delDiag(scope.$index)"
|
|
|
|
- />
|
|
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <img
|
|
|
|
+ src="../../images/icon-copy.png"
|
|
|
|
+ height="18"
|
|
|
|
+ width="18"
|
|
|
|
+ class="icon"
|
|
|
|
+ @click="copyDiag(scope.row.depart_id,scope.$index)"
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ src="../../images/icon-add.png"
|
|
|
|
+ height="18"
|
|
|
|
+ width="18"
|
|
|
|
+ class="icon"
|
|
|
|
+ @click="addDiag(scope.$index)"
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ src="../../images/icon-delete.png"
|
|
|
|
+ height="18"
|
|
|
|
+ width="18"
|
|
|
|
+ class="icon"
|
|
|
|
+ :disabled="form.klDiagnoseTypeVO.length===1"
|
|
|
|
+ @click="delDiag(scope.$index)"
|
|
|
|
+ />
|
|
|
|
+ </el-form-item>
|
|
</template>
|
|
</template>
|
|
</el-table-column>
|
|
</el-table-column>
|
|
- <el-table-column label="诊断依据类型" width="120">
|
|
|
|
|
|
+ <el-table-column label="诊断依据类型" width="130">
|
|
<template slot="header" slot-scope="scope">
|
|
<template slot="header" slot-scope="scope">
|
|
<span class="star">*</span>
|
|
<span class="star">*</span>
|
|
<span>诊断依据类型</span>
|
|
<span>诊断依据类型</span>
|
|
</template>
|
|
</template>
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-form-item
|
|
<el-form-item
|
|
|
|
+ class="is-request"
|
|
:prop="'klDiagnoseTypeVO.'+scope.$index+'.conditionType'"
|
|
:prop="'klDiagnoseTypeVO.'+scope.$index+'.conditionType'"
|
|
:rules="[{ required: true, message: '请选择诊断依据类型',trigger: ['change'] }]"
|
|
:rules="[{ required: true, message: '请选择诊断依据类型',trigger: ['change'] }]"
|
|
>
|
|
>
|
|
@@ -116,20 +120,22 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<div v-for="(item,index) in scope.row.groupVO" :key="index">
|
|
<div v-for="(item,index) in scope.row.groupVO" :key="index">
|
|
<div v-if="v.title=='组'">
|
|
<div v-if="v.title=='组'">
|
|
- <img
|
|
|
|
- src="../../images/icon-add.png"
|
|
|
|
- height="18"
|
|
|
|
- width="18"
|
|
|
|
- class="icon"
|
|
|
|
- @click="addGroup(scope.$index)"
|
|
|
|
- />
|
|
|
|
- <img
|
|
|
|
- src="../../images/icon-delete.png"
|
|
|
|
- height="18"
|
|
|
|
- width="18"
|
|
|
|
- class="icon"
|
|
|
|
- @click="delGroup(scope.$index)"
|
|
|
|
- />
|
|
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <img
|
|
|
|
+ src="../../images/icon-add.png"
|
|
|
|
+ height="18"
|
|
|
|
+ width="18"
|
|
|
|
+ class="icon"
|
|
|
|
+ @click="addGroup(scope.$index)"
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ src="../../images/icon-delete.png"
|
|
|
|
+ height="18"
|
|
|
|
+ width="18"
|
|
|
|
+ class="icon"
|
|
|
|
+ @click="delGroup(scope.$index)"
|
|
|
|
+ />
|
|
|
|
+ </el-form-item>
|
|
</div>
|
|
</div>
|
|
<div v-if="v.title == '符合条件的数量'">
|
|
<div v-if="v.title == '符合条件的数量'">
|
|
<el-form-item
|
|
<el-form-item
|
|
@@ -147,263 +153,267 @@
|
|
</el-form-item>
|
|
</el-form-item>
|
|
</div>
|
|
</div>
|
|
<div v-for="(items,i) in item.klDiagnoseDetail" :key="i">
|
|
<div v-for="(items,i) in item.klDiagnoseDetail" :key="i">
|
|
- <div v-if="v.title == '基础依据'">
|
|
|
|
- <img
|
|
|
|
- src="../../images/icon-add.png"
|
|
|
|
- height="18"
|
|
|
|
- width="18"
|
|
|
|
- class="icon"
|
|
|
|
- @click="addRule(scope.row,scope.$index,index)"
|
|
|
|
- />
|
|
|
|
- <img
|
|
|
|
- src="../../images/icon-delete.png"
|
|
|
|
- height="18"
|
|
|
|
- width="18"
|
|
|
|
- class="icon"
|
|
|
|
- @click="delRule(scope.row,scope.$index,index,i)"
|
|
|
|
- />
|
|
|
|
- </div>
|
|
|
|
- <div class="box-2" v-if="v.title == '基础依据名称'">
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <div v-if="v.title == '基础依据'">
|
|
|
|
+ <el-form-item>
|
|
|
|
+ <img
|
|
|
|
+ src="../../images/icon-add.png"
|
|
|
|
+ height="18"
|
|
|
|
+ width="18"
|
|
|
|
+ class="icon"
|
|
|
|
+ @click="addRule(scope.row,scope.$index,index)"
|
|
|
|
+ />
|
|
|
|
+ <img
|
|
|
|
+ src="../../images/icon-delete.png"
|
|
|
|
+ height="18"
|
|
|
|
+ width="18"
|
|
|
|
+ class="icon"
|
|
|
|
+ @click="delRule(scope.row,scope.$index,index,i)"
|
|
|
|
+ />
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-2" v-if="v.title == '基础依据名称'">
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.basDescription'"
|
|
'.klDiagnoseDetail.'+i+'.basDescription'"
|
|
- :rules="[{required:true,message:'请输入基础依据名称',trigger:'blur'}]"
|
|
|
|
- >
|
|
|
|
- <el-input
|
|
|
|
- class="inp-name"
|
|
|
|
- placeholder="请输入基础依据名称"
|
|
|
|
- maxlength="100"
|
|
|
|
- v-model.trim="items.basDescription"
|
|
|
|
- ></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- <div class="box-2" v-if="v.title == '基础依据类型'">
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ :rules="[{required:true,message:'请输入基础依据名称',trigger:'blur'}]"
|
|
|
|
+ >
|
|
|
|
+ <el-input
|
|
|
|
+ class="inp-name"
|
|
|
|
+ placeholder="请输入基础依据名称"
|
|
|
|
+ maxlength="100"
|
|
|
|
+ v-model.trim="items.basDescription"
|
|
|
|
+ ></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-2" v-if="v.title == '基础依据类型'">
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.basType'"
|
|
'.klDiagnoseDetail.'+i+'.basType'"
|
|
- :rules="[{required:true,message:'请选择基础依据类型',trigger:'change'}]"
|
|
|
|
- >
|
|
|
|
- <el-select
|
|
|
|
- v-model="items.basType"
|
|
|
|
- @change="(val)=>baseTermTypeChange(val,scope.$index,index,i)"
|
|
|
|
|
|
+ :rules="[{required:true,message:'请选择基础依据类型',trigger:'change'}]"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in baseTermTypeList"
|
|
|
|
- :key="item.id"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.type"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- <div class="box-2" v-if="v.title == '基础依据术语类型'">
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="items.basType"
|
|
|
|
+ @change="(val)=>baseTermTypeChange(val,scope.$index,index,i)"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in baseTermTypeList"
|
|
|
|
+ :key="item.id"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ :value="item.type"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="box-2" v-if="v.title == '基础依据术语类型'">
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.basLibType'"
|
|
'.klDiagnoseDetail.'+i+'.basLibType'"
|
|
- :rules="[{required:true,message:'请选择基础依据术语类型',trigger:'change'}]"
|
|
|
|
- v-if="!items.basNameType"
|
|
|
|
- >
|
|
|
|
- <el-select
|
|
|
|
- v-model="items.basLibType"
|
|
|
|
- @change="(val)=>basLibTypeChange(val,scope.$index,index,i)"
|
|
|
|
|
|
+ :rules="[{required:true,message:'请选择基础依据术语类型',trigger:'change'}]"
|
|
|
|
+ v-if="!items.basNameType"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in items.basLibTypeList"
|
|
|
|
- :key="item.id"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="Number(item.code)"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item v-if="items.basNameType" class="is-required">
|
|
|
|
- <el-input disabled v-model="items.basTypeName"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- <div
|
|
|
|
- v-if="v.title == '医学标准术语'"
|
|
|
|
- class="box-2"
|
|
|
|
- :class="(items.basType===3 || items.basType===4)? 'tmall' : 'taobao'"
|
|
|
|
- >
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="items.basLibType"
|
|
|
|
+ @change="(val)=>basLibTypeChange(val,scope.$index,index,i)"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in items.basLibTypeList"
|
|
|
|
+ :key="item.id"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ :value="Number(item.code)"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item v-if="items.basNameType">
|
|
|
|
+ <el-input disabled v-model="items.basTypeName"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div
|
|
|
|
+ v-if="v.title == '医学标准术语'"
|
|
|
|
+ class="box-2"
|
|
|
|
+ :class="(items.basType===3 || items.basType===4)? 'tmall' : 'taobao'"
|
|
|
|
+ >
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.basConceptId'"
|
|
'.klDiagnoseDetail.'+i+'.basConceptId'"
|
|
- :rules="[{required:true,message:'请输入医学标准术语',trigger:'change'}]"
|
|
|
|
- >
|
|
|
|
- <el-select
|
|
|
|
- clearable
|
|
|
|
- remote
|
|
|
|
- filterable
|
|
|
|
- :remote-method="(val)=>searchConcept(val,scope.$index,index,i)"
|
|
|
|
- v-model.trim="items.basConceptId"
|
|
|
|
- @change="(val)=>conceptChange(val,scope.$index,index,i)"
|
|
|
|
|
|
+ :rules="[{required:true,message:'请输入医学标准术语',trigger:'change'}]"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in items.conceptList"
|
|
|
|
- :key="item.conceptId"
|
|
|
|
- :label="item.conceptName"
|
|
|
|
- :value="item.conceptId"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- <div class="last-box" v-if="v.title == '规则具体内容'">
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ clearable
|
|
|
|
+ remote
|
|
|
|
+ filterable
|
|
|
|
+ :remote-method="(val)=>searchConcept(val,scope.$index,index,i)"
|
|
|
|
+ v-model.trim="items.basConceptId"
|
|
|
|
+ @change="(val)=>conceptChange(val,scope.$index,index,i)"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in items.conceptList"
|
|
|
|
+ :key="item.conceptId"
|
|
|
|
+ :label="item.conceptName"
|
|
|
|
+ :value="item.conceptId"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="last-box" v-if="v.title == '规则具体内容'">
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.dataType'"
|
|
'.klDiagnoseDetail.'+i+'.dataType'"
|
|
- :rules="[{required:true,message:'请选择类型',trigger:'change'}]"
|
|
|
|
- v-if="items.basType===2&&!items.onlyNumType&&!items.onlyTxtType"
|
|
|
|
- >
|
|
|
|
- <el-select
|
|
|
|
- class="box-1"
|
|
|
|
- :class="items.basType===2&&!items.onlyNumType&&!items.onlyTxtType? 'taobao' : 'tmall'"
|
|
|
|
- v-model="items.dataType"
|
|
|
|
- @change="(val)=>dataTypeChange(val,scope.$index,index,i)"
|
|
|
|
- placeholder="请选择"
|
|
|
|
- size="small"
|
|
|
|
|
|
+ :rules="[{required:true,message:'请选择类型',trigger:'change'}]"
|
|
|
|
+ v-if="items.basType===2&&!items.onlyNumType&&!items.onlyTxtType"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in dataTypes"
|
|
|
|
- :key="item.id"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.id"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item
|
|
|
|
- class="min-margin"
|
|
|
|
- :key="6"
|
|
|
|
- v-if="(!items.onlyNumType&&items.dataType==='1')||items.onlyNumType"
|
|
|
|
- label="最大值:"
|
|
|
|
- >
|
|
|
|
- <div class="last-box-1">
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ class="box-1"
|
|
|
|
+ :class="items.basType===2&&!items.onlyNumType&&!items.onlyTxtType? 'taobao' : 'tmall'"
|
|
|
|
+ v-model="items.dataType"
|
|
|
|
+ @change="(val)=>dataTypeChange(val,scope.$index,index,i)"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ size="small"
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in dataTypes"
|
|
|
|
+ :key="item.id"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ :value="item.id"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ class="min-margin"
|
|
|
|
+ :key="6"
|
|
|
|
+ v-if="(!items.onlyNumType&&items.dataType==='1')||items.onlyNumType"
|
|
|
|
+ label="最大值:"
|
|
|
|
+ >
|
|
|
|
+ <div class="last-box-1">
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.maxOperator'"
|
|
'.klDiagnoseDetail.'+i+'.maxOperator'"
|
|
- :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'change'}]"
|
|
|
|
- >
|
|
|
|
- <el-select
|
|
|
|
- v-model="items.maxOperator"
|
|
|
|
- placeholder="请选择"
|
|
|
|
- size="small"
|
|
|
|
- clearable
|
|
|
|
|
|
+ :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'change'}]"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in operMaxList"
|
|
|
|
- :key="item.key"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.key"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="items.maxOperator"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ size="small"
|
|
|
|
+ clearable
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in operMaxList"
|
|
|
|
+ :key="item.key"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ :value="item.key"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.maxVal'"
|
|
'.klDiagnoseDetail.'+i+'.maxVal'"
|
|
- :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'blur'}]"
|
|
|
|
- >
|
|
|
|
- <el-input v-model="items.maxVal" placeholder="填写数值"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+ :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'blur'}]"
|
|
|
|
+ >
|
|
|
|
+ <el-input v-model="items.maxVal" placeholder="填写数值"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
|
|
- <el-form-item prop="minUnit">
|
|
|
|
- <el-input v-model.trim="items.maxUnit" placeholder="填写单位"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item
|
|
|
|
- class="min-margin"
|
|
|
|
- v-if="(!items.onlyNumType&&items.dataType==='1')||items.onlyNumType"
|
|
|
|
- label="最小值:"
|
|
|
|
- >
|
|
|
|
- <div class="last-box-1 last-box-s">
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-form-item prop="minUnit">
|
|
|
|
+ <el-input v-model.trim="items.maxUnit" placeholder="填写单位"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ class="min-margin"
|
|
|
|
+ v-if="(!items.onlyNumType&&items.dataType==='1')||items.onlyNumType"
|
|
|
|
+ label="最小值:"
|
|
|
|
+ >
|
|
|
|
+ <div class="last-box-1 last-box-s">
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.minOperator'"
|
|
'.klDiagnoseDetail.'+i+'.minOperator'"
|
|
- :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'change'}]"
|
|
|
|
- >
|
|
|
|
- <el-select
|
|
|
|
- v-model="items.minOperator"
|
|
|
|
- placeholder="请选择"
|
|
|
|
- size="small"
|
|
|
|
- clearable
|
|
|
|
|
|
+ :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'change'}]"
|
|
>
|
|
>
|
|
- <el-option
|
|
|
|
- v-for="item in operMinList"
|
|
|
|
- :key="item.key"
|
|
|
|
- :label="item.name"
|
|
|
|
- :value="item.key"
|
|
|
|
- ></el-option>
|
|
|
|
- </el-select>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+ <el-select
|
|
|
|
+ v-model="items.minOperator"
|
|
|
|
+ placeholder="请选择"
|
|
|
|
+ size="small"
|
|
|
|
+ clearable
|
|
|
|
+ >
|
|
|
|
+ <el-option
|
|
|
|
+ v-for="item in operMinList"
|
|
|
|
+ :key="item.key"
|
|
|
|
+ :label="item.name"
|
|
|
|
+ :value="item.key"
|
|
|
|
+ ></el-option>
|
|
|
|
+ </el-select>
|
|
|
|
+ </el-form-item>
|
|
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.minVal'"
|
|
'.klDiagnoseDetail.'+i+'.minVal'"
|
|
- :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'blur'}]"
|
|
|
|
- >
|
|
|
|
- <el-input v-model="items.minVal" placeholder="填写数值"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
+ :rules="[{required:true,message:'最大值和最小值至少完整填写一个,单位不必填',trigger:'blur'}]"
|
|
|
|
+ >
|
|
|
|
+ <el-input v-model="items.minVal" placeholder="填写数值"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
|
|
- <el-form-item prop="minUnit">
|
|
|
|
- <el-input v-model.trim="items.minUnit" placeholder="填写单位"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ <el-form-item prop="minUnit">
|
|
|
|
+ <el-input v-model.trim="items.minUnit" placeholder="填写单位"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.eqValue'"
|
|
'.klDiagnoseDetail.'+i+'.eqValue'"
|
|
- :rules="[{required:true,message:'请输入正则表达式',trigger:'blur'}]"
|
|
|
|
- v-if="items.basType===4 || items.basType===3"
|
|
|
|
- maxlength="200"
|
|
|
|
- label="正则表达式:"
|
|
|
|
- class="discDesc"
|
|
|
|
- >
|
|
|
|
- <el-input class="inp" placeholder="不能为空~" v-model.trim="items.eqValue"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- <el-form-item
|
|
|
|
- :prop="'klDiagnoseTypeVO.' +
|
|
|
|
|
|
+ :rules="[{required:true,message:'请输入正则表达式',trigger:'blur'}]"
|
|
|
|
+ v-if="items.basType===4 || items.basType===3"
|
|
|
|
+ maxlength="200"
|
|
|
|
+ label="正则表达式:"
|
|
|
|
+ class="discDesc"
|
|
|
|
+ >
|
|
|
|
+ <el-input class="inp" placeholder="不能为空~" v-model.trim="items.eqValue"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ <el-form-item
|
|
|
|
+ :prop="'klDiagnoseTypeVO.' +
|
|
scope.$index +
|
|
scope.$index +
|
|
'.groupVO.' +
|
|
'.groupVO.' +
|
|
index +
|
|
index +
|
|
'.klDiagnoseDetail.'+i+'.eqValue'"
|
|
'.klDiagnoseDetail.'+i+'.eqValue'"
|
|
- :rules="[{required:true,message:'不能为空~',trigger:'blur'}]"
|
|
|
|
- maxlength="200"
|
|
|
|
- v-if="(!items.onlyNumType&&!items.basNameType&&(items.basType===2 || items.basType===1)&&items.dataType==='2')||items.onlyTxtType"
|
|
|
|
- label="医学内容:"
|
|
|
|
- class="discDesc"
|
|
|
|
- >
|
|
|
|
- <el-input v-model.trim="items.eqValue" class="inp" placeholder="请输入医学内容"></el-input>
|
|
|
|
- </el-form-item>
|
|
|
|
- </div>
|
|
|
|
|
|
+ :rules="[{required:true,message:'不能为空~',trigger:'blur'}]"
|
|
|
|
+ maxlength="200"
|
|
|
|
+ v-if="(!items.onlyNumType&&!items.basNameType&&(items.basType===2 || items.basType===1)&&items.dataType==='2')||items.onlyTxtType"
|
|
|
|
+ label="医学内容:"
|
|
|
|
+ class="discDesc"
|
|
|
|
+ >
|
|
|
|
+ <el-input v-model.trim="items.eqValue" class="inp" placeholder="请输入医学内容"></el-input>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </div>
|
|
|
|
+ </el-form-item>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
@@ -421,26 +431,20 @@
|
|
<script type="text/javascript">
|
|
<script type="text/javascript">
|
|
import util from '../../api/utils.js';
|
|
import util from '../../api/utils.js';
|
|
import api from '@api/zskDiagBase.js';
|
|
import api from '@api/zskDiagBase.js';
|
|
-import DiagBaseType from './DiagBaseType';
|
|
|
|
-var generateId = {
|
|
|
|
- _count: 1,
|
|
|
|
- get() {
|
|
|
|
- return +new Date() + '_' + this._count++;
|
|
|
|
- }
|
|
|
|
-};
|
|
|
|
|
|
+
|
|
export default {
|
|
export default {
|
|
name: 'AddZskDiagBase',
|
|
name: 'AddZskDiagBase',
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
columns: [
|
|
columns: [
|
|
{ title: '组', width: 70 },
|
|
{ title: '组', width: 70 },
|
|
- { title: '符合条件的数量', width: 120, istar: true },
|
|
|
|
|
|
+ { title: '符合条件的数量', width: 150, istar: true },
|
|
{ title: '基础依据', width: 80, istar: true },
|
|
{ title: '基础依据', width: 80, istar: true },
|
|
- { title: '基础依据名称', width: 200, istar: true },
|
|
|
|
|
|
+ { title: '基础依据名称', width: 160, istar: true },
|
|
{ title: '基础依据类型', width: 130, istar: true },
|
|
{ title: '基础依据类型', width: 130, istar: true },
|
|
{ title: '基础依据术语类型', width: 160, istar: true },
|
|
{ title: '基础依据术语类型', width: 160, istar: true },
|
|
{ title: '医学标准术语', width: 130, istar: true },
|
|
{ title: '医学标准术语', width: 130, istar: true },
|
|
- { title: '规则具体内容', width: 800 }
|
|
|
|
|
|
+ { title: '规则具体内容', width: 750 }
|
|
],
|
|
],
|
|
dicts: {},
|
|
dicts: {},
|
|
baseTypes: [], //诊断数据类型
|
|
baseTypes: [], //诊断数据类型
|
|
@@ -665,9 +669,6 @@ export default {
|
|
return arr;
|
|
return arr;
|
|
}
|
|
}
|
|
},
|
|
},
|
|
- components: {
|
|
|
|
- DiagBaseType
|
|
|
|
- },
|
|
|
|
methods: {
|
|
methods: {
|
|
getData(data) {
|
|
getData(data) {
|
|
let arr = data;
|
|
let arr = data;
|
|
@@ -723,6 +724,14 @@ export default {
|
|
};
|
|
};
|
|
}
|
|
}
|
|
},
|
|
},
|
|
|
|
+ tableRowClassName({row, column, rowIndex, columnIndex}) {
|
|
|
|
+ console.log(row.depart_id & 1)
|
|
|
|
+ if (row.depart_id & 1) {
|
|
|
|
+ console.log(3658)
|
|
|
|
+ return 'success-row';
|
|
|
|
+ }
|
|
|
|
+ return '';
|
|
|
|
+ },
|
|
getInitData() {
|
|
getInitData() {
|
|
this.i++;
|
|
this.i++;
|
|
return {
|
|
return {
|
|
@@ -980,7 +989,7 @@ export default {
|
|
i
|
|
i
|
|
].conceptList = data; // 改变了的值
|
|
].conceptList = data; // 改变了的值
|
|
});
|
|
});
|
|
- this.form = formData
|
|
|
|
|
|
+ this.form = formData;
|
|
}
|
|
}
|
|
})
|
|
})
|
|
.catch(error => {
|
|
.catch(error => {
|
|
@@ -1187,6 +1196,11 @@ export default {
|
|
margin-top: 10px;
|
|
margin-top: 10px;
|
|
padding: 20px 20px 50px;
|
|
padding: 20px 20px 50px;
|
|
min-height: 600px;
|
|
min-height: 600px;
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ .el-table .success-row {
|
|
|
|
+ background: #DFF7EF;
|
|
|
|
+ }
|
|
.content-2-header {
|
|
.content-2-header {
|
|
padding: 20px 0;
|
|
padding: 20px 0;
|
|
.title1 {
|
|
.title1 {
|
|
@@ -1202,14 +1216,17 @@ export default {
|
|
line-height: 17px;
|
|
line-height: 17px;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+ .is-request {
|
|
|
|
+ height: 46px;
|
|
|
|
+ }
|
|
.inp-name {
|
|
.inp-name {
|
|
- width: 160px !important;
|
|
|
|
|
|
+ width: 140px !important;
|
|
.el-input__inner {
|
|
.el-input__inner {
|
|
- width: 160px !important;
|
|
|
|
|
|
+ width: 140px !important;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
.el-form-item {
|
|
.el-form-item {
|
|
- margin: 20px 0;
|
|
|
|
|
|
+ margin-bottom: 10px;
|
|
}
|
|
}
|
|
.discDesc {
|
|
.discDesc {
|
|
margin-bottom: 20px;
|
|
margin-bottom: 20px;
|
|
@@ -1273,7 +1290,7 @@ export default {
|
|
background: #fff;
|
|
background: #fff;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- .last-box-s{
|
|
|
|
|
|
+ .last-box-s {
|
|
position: absolute;
|
|
position: absolute;
|
|
.el-form-item__error {
|
|
.el-form-item__error {
|
|
top: 39px;
|
|
top: 39px;
|
|
@@ -1306,6 +1323,7 @@ export default {
|
|
width: 100%;
|
|
width: 100%;
|
|
overflow: hidden;
|
|
overflow: hidden;
|
|
}
|
|
}
|
|
|
|
+ .el-form-item__content;
|
|
}
|
|
}
|
|
.add-new-form {
|
|
.add-new-form {
|
|
.el-input,
|
|
.el-input,
|