Browse Source

表格字段修改,病历分析数据提交字段删除

master
aBin 4 years ago
parent
commit
87bc4ea94b
  1. 3
      src/App.vue
  2. 9
      src/components/BiologicalSampleSearch/SampleTable.vue
  3. 19
      src/components/BiologicalSampleSearch/Search.vue
  4. 2
      src/components/CaseTable/CaseTable.vue
  5. 52
      src/components/PatientInfo/PatientAdd.vue
  6. 4
      src/components/PatientInfo/PatientTable.vue
  7. 2
      src/components/PatientInfo/Search.vue
  8. 4
      src/plugins/ant-design-vue.js
  9. 41
      src/views/BiologicalSamples/BiologicalSamples.vue
  10. 484
      src/views/CaseAnalysis/CaseAnalysis.vue
  11. 537
      src/views/CaseSearch/CaseSearch.vue
  12. 1869
      src/views/PatientInfo/PatientInfo.vue
  13. 2
      src/views/PersonalStats/components/AdjacentTasks.vue

3
src/App.vue

@ -3,8 +3,9 @@
* @email: 18603454788@163.com
* @Date: 2021-02-22 09:20:03
* @LastEditors: wally
* @LastEditTime: 2021-04-02 09:49:21
* @LastEditTime: 2021-04-14 19:12:11
-->
<template>
<a-config-provider :locale="zh_CN">
<div class="d-flex flex-row flex-nowrap" id="app">

9
src/components/BiologicalSampleSearch/SampleTable.vue

@ -13,10 +13,9 @@
class="white pa-3"
>
<template slot="sampleType" slot-scope="text, record">
<span v-if="record.sampleType === 0">抗血凝10ml</span>
<span v-else-if="record.sampleType === 1">促凝血5ml</span>
<span v-else-if="record.sampleType === 2">晨尿10ml</span>
<span v-else-if="record.sampleType === 3">24小时尿10ml</span>
<span v-if="record.sampleType === 0">血标本上清液</span>
<span v-else-if="record.sampleType === 1">血标本细胞</span>
<span v-else-if="record.sampleType === 2">尿标本</span>
</template>
<template slot="collectTime" slot-scope="text, record">
<span>{{ record.collectTime }}</span>
@ -38,7 +37,7 @@ const columns = [
key: 'name',
},
{
title: '住院号',
title: '患者编号',
align: 'center',
dataIndex: 'hospitalization',
key: 'hospitalization',

19
src/components/BiologicalSampleSearch/Search.vue

@ -1,3 +1,10 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-02-22 09:20:03
* @LastEditors: wally
* @LastEditTime: 2021-04-14 18:30:24
-->
<template>
<!-- search -->
<div>
@ -14,7 +21,7 @@
</a-select>
</a-form-item>
<a-form-item>
<a-input placeholder="患者住院号" style="width: 14em" v-decorator="['inpatientNumber']" />
<a-input placeholder="患者号" style="width: 14em" v-decorator="['inpatientNumber']" />
</a-form-item>
<a-form-item>
<a-select placeholder="请选择采集时间" style="min-width: 150px" v-decorator="['acquisitionTime']" allow-clear>
@ -39,19 +46,15 @@ export default {
types: [
{
id: 0,
title: '抗血凝10ml',
title: '血标本上清液',
},
{
id: 1,
title: '促凝血5ml',
title: '血标本细胞',
},
{
id: 2,
title: '晨尿10ml',
},
{
id: 3,
title: '24小时尿10ml',
title: '尿标本',
},
],
acquisitionTime: [

2
src/components/CaseTable/CaseTable.vue

@ -42,7 +42,7 @@ import { mapMutations, mapState } from 'vuex';
import { upPatientMes } from 'config/api';
const columns = [
{
title: '住院号',
title: '患者编号',
align: 'center',
dataIndex: 'hospitalization',
key: 'hospitalization',

52
src/components/PatientInfo/PatientAdd.vue

@ -1,43 +1,35 @@
<!--
* @Author: wally
* @email: 18603454788@163.com
* @Date: 2021-02-22 09:20:03
* @LastEditors: wally
* @LastEditTime: 2021-04-14 18:33:40
-->
<template>
<div class="d-flex flex-wrap pb-3">
<!-- 添加 -->
<a-modal :closable="false" footer title="新增病患" v-model="visible" width="700px">
<a-form :form="form" @submit="handleSubmit" ref="form">
<!-- 住院号 -->
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="住院号"
>
<!-- <a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="患者编号">
<a-input
placeholder="住院号"
placeholder="患者编号"
v-decorator="[
'hospitalization',
{
rules: [
{ required: true, message: '住院号不能为空' },
{ whitespace: true, message: '住院号不能为空' },
{ max: 140, massage: '住院号最多140个字符' },
],
},
]"
'hospitalization',
{
rules: [
{ required: true, message: '患者编号不能为空' },
{ whitespace: true, message: '患者编号不能为空' },
{ max: 140, massage: '患者编号最多140个字符' },
],
},
]"
/>
</a-form-item>
</a-form-item> -->
<!-- 对照组 -->
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
label="对照组"
>
<a-select
placeholder="对照组"
v-decorator="['inpatientId',{rules: [{ required: true, message: '对照组不能为空' }]}]"
>
<a-select-option
:key="index"
:value="group.id"
v-for="(group, index) in controlGroups"
>{{ group.name }}</a-select-option>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="对照组">
<a-select placeholder="对照组" v-decorator="['inpatientId', { rules: [{ required: true, message: '对照组不能为空' }] }]">
<a-select-option :key="index" :value="group.id" v-for="(group, index) in controlGroups">{{ group.name }}</a-select-option>
</a-select>
</a-form-item>

4
src/components/PatientInfo/PatientTable.vue

@ -39,7 +39,7 @@
</div>
<a-empty v-else />
<a-modal title="会议记录预览" width="600px" v-model="visible" @ok="handleOk" @cancel="handleCancel">
是否要录入住院号为
是否要录入患者编号为
<span style="color: green">{{ hospitalization }}</span>
的患者的相关数据
</a-modal>
@ -58,7 +58,7 @@ const columns = [
scopedSlots: { customRender: 'id' },
},
{
title: '住院号',
title: '号',
align: 'center',
dataIndex: 'hospitalization',
key: 'hospitalization',

2
src/components/PatientInfo/Search.vue

@ -4,7 +4,7 @@
<div class="d-flex flex-row flex-nowrap">
<a-form :form="form" @submit="handleSubmit" class="d-flex flex-nowrap align-center" layout="inline">
<a-form-item>
<a-input placeholder="住院号" style="width: 14em" v-decorator="['inpatientNumber']" />
<a-input placeholder="患者编号" style="width: 14em" v-decorator="['inpatientNumber']" />
</a-form-item>
<a-form-item>
<a-select placeholder="请选择对照组" style="min-width: 450px" v-decorator="['groupValue']" allow-clear>

4
src/plugins/ant-design-vue.js

@ -3,7 +3,7 @@
* @email: 18603454788@163.com
* @Date: 2021-01-29 11:16:27
* @LastEditors: wally
* @LastEditTime: 2021-01-29 17:39:07
* @LastEditTime: 2021-04-13 10:12:29
*/
import Vue from 'vue';
import {
@ -41,6 +41,7 @@ import {
List,
Collapse,
Cascader,
TimePicker,
} from 'ant-design-vue';
import { ConfigProvider } from 'ant-design-vue';
Vue.component(ConfigProvider.name, ConfigProvider);
@ -76,6 +77,7 @@ Vue.use(List);
Vue.use(Collapse);
Vue.use(Cascader);
Vue.use(InputNumber);
Vue.use(TimePicker);
Vue.prototype.$message = message;
Vue.prototype.$notification = notification;

41
src/views/BiologicalSamples/BiologicalSamples.vue

@ -3,30 +3,31 @@
<div class="metting">
<a-card :bordered="false" title="生物样本">
<a-form :form="form" @submit="handleSubmit">
<!-- 住院 -->
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="住院号">
<!-- 患者编 -->
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="患者编号">
<a-input
placeholder="住院号"
placeholder="患者编号"
v-decorator="[
'inpatientNumber',
{
rules: [
{ required: true, message: '住院号不能为空' },
{ whitespace: true, message: '住院号不能为空' },
{ max: 140, massage: '住院号最多140个字符' },
{ required: true, message: '患者编号不能为空' },
{ whitespace: true, message: '患者编号不能为空' },
{ max: 140, massage: '患者编号最多140个字符' },
],
initialValue: hospitalization,
},
]"
/>
</a-form-item>
<!-- 样本类型 -->
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="样本类型">
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="样本类型" required>
<a-select placeholder="请选择样本类型" style="min-width: 150px" v-decorator="['sampleType']" allow-clear>
<a-select-option :key="item.id" :value="item.id" v-for="item in types">{{ item.title }}</a-select-option>
</a-select>
</a-form-item>
<!-- 样本类型 -->
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="采集时间">
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" label="采集时间" required>
<a-select placeholder="请选择采集时间" style="min-width: 150px" v-decorator="['acquisitionTime']" allow-clear>
<a-select-option :key="t.id" :value="t.id" v-for="t in acquisitionTime">{{ t.title }}</a-select-option>
</a-select>
@ -56,22 +57,19 @@ export default {
tailItemLayout,
form: this.$form.createForm(this, { name: 'page-add' }),
inpatientNumber: '', //
hospitalization: '',
types: [
{
id: 0,
title: '抗血凝10ml',
title: '血标本上清液',
},
{
id: 1,
title: '促凝血5ml',
title: '血标本细胞',
},
{
id: 2,
title: '晨尿10ml',
},
{
id: 3,
title: '24小时尿10ml',
title: '尿标本',
},
],
acquisitionTime: [
@ -90,13 +88,24 @@ export default {
],
};
},
created() {
this.hospitalization = localStorage.getItem('hospitalization');
},
methods: {
//
handleSubmit(e) {
e.preventDefault();
this.form.validateFieldsAndScroll(async (err, values) => {
if (!err) {
console.log(values);
if (!values.sampleType && values.sampleType !== 0) {
this.$message.error('请填写完整信息');
return;
}
if (!values.acquisitionTime && values.acquisitionTime !== 0) {
this.$message.error('请填写完整信息');
return;
}
try {
const param = {
sampleType: values.sampleType,

484
src/views/CaseAnalysis/CaseAnalysis.vue

@ -11,28 +11,15 @@
style="min-width: 150px"
v-decorator="['hospital']"
>
<a-select-option
:key="item.id"
:value="item.id"
v-for="item in hospitals"
>{{ item.name }}</a-select-option>
<a-select-option :key="item.id" :value="item.id" v-for="item in hospitals">{{ item.name }}</a-select-option>
</a-select>
</a-form-item>
<a-form-item>
<a-input placeholder="患者住院号" style="width: 14em" v-model="setObj.hospitalization" />
<a-input placeholder="患者患者编号" style="width: 14em" v-model="setObj.hospitalization" />
</a-form-item>
<a-form-item>
<a-select
@change="chooseHos($event, 3)"
allow-clear
placeholder="请选择录入状态"
style="min-width: 150px"
>
<a-select-option
:key="item.id"
:value="item.id"
v-for="item in statusList"
>{{ item.name }}</a-select-option>
<a-select @change="chooseHos($event, 3)" allow-clear placeholder="请选择录入状态" style="min-width: 150px">
<a-select-option :key="item.id" :value="item.id" v-for="item in statusList">{{ item.name }}</a-select-option>
</a-select>
</a-form-item>
</a-form>
@ -57,22 +44,13 @@
class="d-flex align-center mb-3"
>
<a-input @change="onChange($event, a.type, a.id, a.recordId)" v-if="a.type === 1" />
<a-textarea
@change="onChange($event, a.type, a.id, a.recordId)"
style="height: 100px"
v-else-if="a.type === 2"
/>
<a-textarea @change="onChange($event, a.type, a.id, a.recordId)" style="height: 100px" v-else-if="a.type === 2" />
<a-radio-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
v-else-if="a.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in a.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in a.optionVos">{{ b.showValue }}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, a.type, a.id, a.recordId)"
@ -85,22 +63,10 @@
</a-col>
</a-row>
</a-checkbox-group>
<a-select
@change="onChange($event, a.type, a.id, a.recordId)"
style="width: 120px"
v-else-if="a.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in a.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, a.type, a.id, a.recordId)" style="width: 120px" v-else-if="a.type === 5">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in a.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, a.type, a.id, a.recordId)"
show-time
v-else-if="a.type === 6"
/>
<a-range-picker @change="onChange($event, a.type, a.id, a.recordId)" show-time v-else-if="a.type === 6" />
<a-upload
:action="action"
:default-file-list="fileList"
@ -125,16 +91,8 @@
class="d-flex flex-row flex-wrap"
v-else-if="a.type === 8"
>
<a-radio-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in a.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, a.type, a.id, a.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in a.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in a.optionVos">
<div
@ -149,11 +107,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mt-2 mb-0"
>
<a-input
@change="inputChange(a.id, $event, j.showValue)"
placeholder="请输入其他"
style="width: 200px"
></a-input>
<a-input @change="inputChange(a.id, $event, j.showValue)" placeholder="请输入其他" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -173,21 +127,17 @@
<div :key="k" v-for="(j, k) in a.optionVos">
<div
v-if="
contentList.find(item => {
return item.testQuestionsId === a.id && item.contents === `${j.showValue}`;
}) && j.afterOperation === 1
"
contentList.find(item => {
return item.testQuestionsId === a.id && item.contents === `${j.showValue}`;
}) && j.afterOperation === 1
"
>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mt-2 mb-0"
>
<a-input
@change="inputChange(a.id, $event, j.showValue)"
placeholder="请输入其他"
style="width: 200px"
></a-input>
<a-input @change="inputChange(a.id, $event, j.showValue)" placeholder="请输入其他" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -196,11 +146,7 @@
</a-checkbox-group>
<div v-else-if="a.type === 10">
<a-select @change="onChange($event, a.type, a.id, a.recordId)" style="width: 120px">
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in a.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in a.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in a.optionVos">
<div
@ -215,19 +161,13 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(a.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(a.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
</div>
<div v-else-if="a.type === 11">
<a-checkbox-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-checkbox-group @change="onChange($event, a.type, a.id, a.recordId)" class="d-flex flex-row flex-wrap">
<a-row>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in a.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
@ -241,29 +181,18 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(a.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(a.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
</a-col> </a-row
>
<a-input @change="explainChange(a.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
<div v-else-if="a.type === 12">
<a-radio-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in a.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, a.type, a.id, a.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in a.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in a.optionVos">
<div
@ -285,10 +214,7 @@
style="width: 200px"
v-if="j.afterOperation === 1"
></a-input>
<a-textarea
@change="inputChange(a.id, $event, j.showValue)"
v-else-if="j.afterOperation === 2"
></a-textarea>
<a-textarea @change="inputChange(a.id, $event, j.showValue)" v-else-if="j.afterOperation === 2"></a-textarea>
<div v-else-if="j.afterOperation === 3">
<div :key="ohter.id" v-for="ohter in j.questionVos">
<a-form-item
@ -297,10 +223,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
v-if="ohter.type === 1"
/>
<a-input @change="onChange($event, ohter.type, ohter.id, ohter.recordId)" v-if="ohter.type === 1" />
<a-textarea
@change="onChange($event, ohter.type, ohter.id)"
style="height: 100px"
@ -311,12 +234,9 @@
class="d-flex flex-row flex-wrap"
v-else-if="ohter.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in ohter.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in ohter.optionVos">{{
b.showValue
}}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
@ -324,11 +244,7 @@
v-else-if="ohter.type === 4"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in ohter.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in ohter.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
</a-row>
@ -338,11 +254,9 @@
style="width: 120px"
v-else-if="ohter.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in ohter.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in ohter.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
@ -373,16 +287,10 @@
class="d-flex flex-row flex-wrap"
v-else-if="ohter.type === 8"
>
<a-radio-group
@change="onChange($event, ohter.type, ohter.id)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in ohter.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, ohter.type, ohter.id)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in ohter.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in ohter.optionVos">
<div
@ -397,10 +305,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(ohter.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(ohter.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -411,11 +316,7 @@
v-else-if="ohter.type === 9"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in ohter.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in ohter.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -432,10 +333,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(ohter.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(ohter.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -443,15 +341,10 @@
</a-row>
</a-checkbox-group>
<div v-else-if="ohter.type === 10">
<a-select
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
style="width: 120px"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in ohter.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, ohter.type, ohter.id, ohter.recordId)" style="width: 120px">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in ohter.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in ohter.optionVos">
<div
@ -466,10 +359,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(ohter.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(ohter.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -480,11 +370,7 @@
class="d-flex flex-row flex-wrap"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in ohter.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in ohter.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -499,18 +385,12 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(ohter.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(ohter.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
<a-input
@change="explainChange(ohter.id, $event)"
style="width: 200px"
/>
</a-col> </a-row
>说明
<a-input @change="explainChange(ohter.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
@ -519,12 +399,9 @@
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in ohter.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in ohter.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in ohter.optionVos">
<div
@ -557,9 +434,7 @@
</div>
</div>
<div v-else-if="ohter.type === 13">
<a-input-number
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
/>
<a-input-number @change="onChange($event, ohter.type, ohter.id, ohter.recordId)" />
<span style="margin-left: 10px">{{ other.units }}</span>
</div>
<div v-else-if="ohter.type === 14">图片识别</div>
@ -580,11 +455,7 @@
</div>
<!-- 一级标题下的各种二级标题subReportCodes -->
<div :key="w.name" v-for="w in item.subReportCodes">
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-0"
>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" class="d-flex align-center mb-0">
<!-- 二级大标题 -->
<h3 class="font-bold">{{ w.name }}</h3>
</a-form-item>
@ -597,22 +468,13 @@
class="d-flex align-center mb-3"
>
<a-input @change="onChange($event, e.type, e.id, e.recordId)" v-if="e.type === 1" />
<a-textarea
@change="onChange($event, e.type, e.id, e.recordId)"
style="height: 100px"
v-else-if="e.type === 2"
/>
<a-textarea @change="onChange($event, e.type, e.id, e.recordId)" style="height: 100px" v-else-if="e.type === 2" />
<a-radio-group
@change="onChange($event, e.type, e.id, e.recordId)"
class="d-flex flex-row flex-wrap"
v-else-if="e.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in e.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in e.optionVos">{{ b.showValue }}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, e.type, e.id, e.recordId)"
@ -625,22 +487,10 @@
</a-col>
</a-row>
</a-checkbox-group>
<a-select
@change="onChange($event, e.type, e.id, e.recordId)"
style="width: 120px"
v-else-if="e.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in e.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, e.type, e.id, e.recordId)" style="width: 120px" v-else-if="e.type === 5">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in e.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, e.type, e.id, e.recordId)"
show-time
v-else-if="e.type === 6"
/>
<a-range-picker @change="onChange($event, e.type, e.id, e.recordId)" show-time v-else-if="e.type === 6" />
<a-upload
:action="action"
:default-file-list="fileList"
@ -665,16 +515,8 @@
class="d-flex flex-row flex-wrap"
v-else-if="e.type === 8"
>
<a-radio-group
@change="onChange($event, e.type, e.id)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in e.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, e.type, e.id)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in e.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in e.optionVos">
<div
@ -689,10 +531,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(e.id, $event, j.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, j.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -720,10 +559,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(e.id, $event, j.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, j.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -731,15 +567,8 @@
</a-row>
</a-checkbox-group>
<div v-else-if="e.type === 10">
<a-select
@change="onChange($event, e.type, e.id, e.recordId)"
style="width: 120px"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in e.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, e.type, e.id, e.recordId)" style="width: 120px">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in e.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in e.optionVos">
<div
@ -754,19 +583,13 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(e.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
</div>
<div v-else-if="e.type === 11">
<a-checkbox-group
@change="onChange($event, e.type, e.id, e.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-checkbox-group @change="onChange($event, e.type, e.id, e.recordId)" class="d-flex flex-row flex-wrap">
<a-row>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in e.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
@ -780,29 +603,18 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(e.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
</a-col> </a-row
>
<a-input @change="explainChange(e.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
<div v-else-if="e.type === 12">
<a-radio-group
@change="onChange($event, e.type, e.id, e.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in e.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, e.type, e.id, e.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in e.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in e.optionVos">
<div
@ -824,16 +636,10 @@
style="width: 200px"
v-if="j.afterOperation === 1"
></a-input>
<a-textarea
@change="inputChange(e.id, $event, j.showValue)"
v-else-if="j.afterOperation === 2"
></a-textarea>
<a-textarea @change="inputChange(e.id, $event, j.showValue)" v-else-if="j.afterOperation === 2"></a-textarea>
<div v-else-if="j.afterOperation === 3">
<a-form-item class="d-flex align-center mb-3">
<a-input
@change="onChange($event, h.type, h.id, h.h.recordId)"
v-if="h.type === 1"
/>
<a-input @change="onChange($event, h.type, h.id, h.h.recordId)" v-if="h.type === 1" />
<a-textarea
@change="onChange($event, h.type, h.id, h.recordId)"
style="height: 100px"
@ -844,12 +650,9 @@
class="d-flex flex-row flex-wrap"
v-else-if="h.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in h.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in h.optionVos">{{
b.showValue
}}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, h.type, h.id, h.recordId)"
@ -857,31 +660,17 @@
v-else-if="h.type === 4"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in h.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in h.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
</a-row>
</a-checkbox-group>
<a-select
@change="onChange($event, h.type, h.id, h.recordId)"
style="width: 120px"
v-else-if="h.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in h.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, h.type, h.id, h.recordId)" style="width: 120px" v-else-if="h.type === 5">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in h.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, h.type, h.id, h.recordId)"
show-time
v-else-if="h.type === 6"
/>
<a-range-picker @change="onChange($event, h.type, h.id, h.recordId)" show-time v-else-if="h.type === 6" />
<a-upload
:action="action"
:default-file-list="fileList"
@ -906,16 +695,10 @@
class="d-flex flex-row flex-wrap"
v-else-if="h.type === 8"
>
<a-radio-group
@change="onChange($event, h.type, h.id, h.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in h.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, h.type, h.id, h.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in h.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in h.optionVos">
<div
@ -930,10 +713,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(h.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -944,11 +724,7 @@
v-else-if="h.type === 9"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in h.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in h.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -965,10 +741,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(h.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -976,15 +749,10 @@
</a-row>
</a-checkbox-group>
<div v-else-if="h.type === 10">
<a-select
@change="onChange($event, h.type, h.id, h.recordId)"
style="width: 120px"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in h.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, h.type, h.id, h.recordId)" style="width: 120px">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in h.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in h.optionVos">
<div
@ -999,25 +767,15 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(h.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
</div>
<div v-else-if="h.type === 11">
<a-checkbox-group
@change="onChange($event, h.type, h.id, h.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-checkbox-group @change="onChange($event, h.type, h.id, h.recordId)" class="d-flex flex-row flex-wrap">
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in h.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in h.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -1031,32 +789,20 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(h.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
<a-input
@change="explainChange(h.id, $event)"
style="width: 200px"
/>
</a-col> </a-row
>说明
<a-input @change="explainChange(h.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
<div v-else-if="h.type === 12">
<a-radio-group
@change="onChange($event, h.type, h.id, h.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in h.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, h.type, h.id, h.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in h.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in h.optionVos">
<div
@ -1088,9 +834,7 @@
</div>
</div>
<div v-else-if="h.type === 13">
<a-input-number
@change="onChange($event, h.type, h.id, h.recordId)"
/>
<a-input-number @change="onChange($event, h.type, h.id, h.recordId)" />
<span style="margin-left: 10px">{{ h.units }}</span>
</div>
<div v-else-if="h.type === 14">图片识别</div>
@ -1130,13 +874,7 @@
placeholder="请选择类型"
style="width: 200px"
/>
<a-select
@change="handleChange"
mode="multiple"
placeholder="请选择对照组"
size="default"
style="width: 450px; margin-left: 40px"
>
<a-select @change="handleChange" mode="multiple" placeholder="请选择对照组" size="default" style="width: 450px; margin-left: 40px">
<a-select-option :key="i.id" v-for="i in controlGroups">{{ i.name }}</a-select-option>
</a-select>
</div>
@ -1179,7 +917,7 @@ export default {
numList: [1, 2, 3, 4, 5],
setObj: {
hospitalId: '', // Id
hospitalization: '', //
hospitalization: '', //
inpatientId: '', // Id
inputStatus: '', //
},
@ -1615,7 +1353,7 @@ export default {
conditionList: this.contentList,
conditionListDate: this.conditionListDate,
hospitalId: this.setObj.hospitalId, // id
hospitalization: this.setObj.hospitalization, //
hospitalization: this.setObj.hospitalization, //
inpatientId: this.inpatientList, // id
inputStatus: this.setObj.inputStatus, //
reportParams: this.caseAnswer, //

537
src/views/CaseSearch/CaseSearch.vue

@ -3,49 +3,21 @@
<div class="d-flex flex-row flex-wrap">
<a-form :form="form1" class="d-flex flex-wrap align-center" layout="inline">
<a-form-item>
<a-select
@change="chooseHos($event, 1)"
allow-clear
placeholder="请选择医院"
style="min-width: 150px"
v-decorator="['hospital']"
>
<a-select-option
:key="item.id"
:value="item.id"
v-for="item in hospitals"
>{{ item.name }}</a-select-option>
<a-select @change="chooseHos($event, 1)" allow-clear placeholder="请选择医院" style="min-width: 150px" v-decorator="['hospital']">
<a-select-option :key="item.id" :value="item.id" v-for="item in hospitals">{{ item.name }}</a-select-option>
</a-select>
</a-form-item>
<a-form-item>
<a-input placeholder="患者住院号" style="width: 14em" v-model="setObj.hospitalization" />
<a-input placeholder="患者编号" style="width: 14em" v-model="setObj.hospitalization" />
</a-form-item>
<a-form-item>
<a-select
@change="chooseHos($event, 2)"
allow-clear
placeholder="请选择对照组"
style="min-width: 450px"
>
<a-select-option
:key="item.id"
:value="item.id"
v-for="item in controlGroups"
>{{ item.name }}</a-select-option>
<a-select @change="chooseHos($event, 2)" allow-clear placeholder="请选择对照组" style="min-width: 450px">
<a-select-option :key="item.id" :value="item.id" v-for="item in controlGroups">{{ item.name }}</a-select-option>
</a-select>
</a-form-item>
<a-form-item>
<a-select
@change="chooseHos($event, 3)"
allow-clear
placeholder="请选择录入状态"
style="min-width: 150px"
>
<a-select-option
:key="item.id"
:value="item.id"
v-for="item in statusList"
>{{ item.name }}</a-select-option>
<a-select @change="chooseHos($event, 3)" allow-clear placeholder="请选择录入状态" style="min-width: 150px">
<a-select-option :key="item.id" :value="item.id" v-for="item in statusList">{{ item.name }}</a-select-option>
</a-select>
</a-form-item>
</a-form>
@ -69,22 +41,13 @@
class="d-flex align-center mb-3"
>
<a-input @change="onChange($event, a.type, a.id, a.recordId)" v-if="a.type === 1" />
<a-textarea
@change="onChange($event, a.type, a.id, a.recordId)"
style="height: 100px"
v-else-if="a.type === 2"
/>
<a-textarea @change="onChange($event, a.type, a.id, a.recordId)" style="height: 100px" v-else-if="a.type === 2" />
<a-radio-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
v-else-if="a.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in a.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in a.optionVos">{{ b.showValue }}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, a.type, a.id, a.recordId)"
@ -97,22 +60,10 @@
</a-col>
</a-row>
</a-checkbox-group>
<a-select
@change="onChange($event, a.type, a.id, a.recordId)"
style="min-width: 120px"
v-else-if="a.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in a.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, a.type, a.id, a.recordId)" style="min-width: 120px" v-else-if="a.type === 5">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in a.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, a.type, a.id, a.recordId)"
show-time
v-else-if="a.type === 6"
/>
<a-range-picker @change="onChange($event, a.type, a.id, a.recordId)" show-time v-else-if="a.type === 6" />
<a-upload
:action="action"
:default-file-list="fileList"
@ -137,16 +88,8 @@
class="d-flex flex-row flex-wrap"
v-else-if="a.type === 8"
>
<a-radio-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in a.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, a.type, a.id, a.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in a.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in a.optionVos">
<div
@ -156,16 +99,8 @@
}) && j.afterOperation === 1
"
>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
class="mt-2 mb-0"
>
<a-input
@change="inputChange(a.id, $event, j.showValue)"
placeholder="请输入其他"
style="width: 200px"
></a-input>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" class="mt-2 mb-0">
<a-input @change="inputChange(a.id, $event, j.showValue)" placeholder="请输入其他" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -185,21 +120,13 @@
<div :key="k" v-for="(j, k) in a.optionVos">
<div
v-if="
contentList.find(item => {
return item.testQuestionsId === a.id && item.contents === `${j.showValue}`;
}) && j.afterOperation === 1
"
contentList.find(item => {
return item.testQuestionsId === a.id && item.contents === `${j.showValue}`;
}) && j.afterOperation === 1
"
>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
class="mt-2 mb-0"
>
<a-input
@change="inputChange(a.id, $event, j.showValue)"
placeholder="请输入其他"
style="width: 200px"
></a-input>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" class="mt-2 mb-0">
<a-input @change="inputChange(a.id, $event, j.showValue)" placeholder="请输入其他" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -207,15 +134,8 @@
</a-row>-->
</a-checkbox-group>
<div v-else-if="a.type === 10">
<a-select
@change="onChange($event, a.type, a.id, a.recordId)"
style="min-width: 120px"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in a.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, a.type, a.id, a.recordId)" style="min-width: 120px">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in a.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in a.optionVos">
<div
@ -225,23 +145,14 @@
}) && b.afterOperation === 1
"
>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
>
<a-input
@change="inputChange(a.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol">
<a-input @change="inputChange(a.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
</div>
<div v-else-if="a.type === 11">
<a-checkbox-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-checkbox-group @change="onChange($event, a.type, a.id, a.recordId)" class="d-flex flex-row flex-wrap">
<a-row>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in a.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
@ -255,29 +166,18 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(a.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(a.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
</a-col> </a-row
>
<a-input @change="explainChange(a.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
<div v-else-if="a.type === 12">
<a-radio-group
@change="onChange($event, a.type, a.id, a.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in a.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, a.type, a.id, a.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in a.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in a.optionVos">
<div
@ -288,20 +188,13 @@
"
>
<div :key="i" v-for="(h, i) in j.questionVos">
<a-form-item
:label="h.question"
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
>
<a-form-item :label="h.question" :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol">
<a-input
@change="inputChange(a.id, $event, j.showValue)"
style="width: 200px"
v-if="j.afterOperation === 1"
></a-input>
<a-textarea
@change="inputChange(a.id, $event, j.showValue)"
v-else-if="j.afterOperation === 2"
></a-textarea>
<a-textarea @change="inputChange(a.id, $event, j.showValue)" v-else-if="j.afterOperation === 2"></a-textarea>
<div v-else-if="j.afterOperation === 3">
<div :key="ohter.id" v-for="ohter in j.questionVos">
<a-form-item
@ -309,10 +202,7 @@
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
>
<a-input
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
v-if="ohter.type === 1"
/>
<a-input @change="onChange($event, ohter.type, ohter.id, ohter.recordId)" v-if="ohter.type === 1" />
<a-textarea
@change="onChange($event, ohter.type, ohter.id)"
style="height: 100px"
@ -323,12 +213,9 @@
class="d-flex flex-row flex-wrap"
v-else-if="ohter.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in ohter.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in ohter.optionVos">{{
b.showValue
}}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
@ -336,11 +223,7 @@
v-else-if="ohter.type === 4"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in ohter.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in ohter.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
</a-row>
@ -350,11 +233,9 @@
style="min-width: 120px"
v-else-if="ohter.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in ohter.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in ohter.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
@ -385,16 +266,10 @@
class="d-flex flex-row flex-wrap"
v-else-if="ohter.type === 8"
>
<a-radio-group
@change="onChange($event, ohter.type, ohter.id)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in ohter.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, ohter.type, ohter.id)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in ohter.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in ohter.optionVos">
<div
@ -404,14 +279,8 @@
}) && m.afterOperation === 1
"
>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
>
<a-input
@change="inputChange(ohter.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol">
<a-input @change="inputChange(ohter.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -422,11 +291,7 @@
v-else-if="ohter.type === 9"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in ohter.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in ohter.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -438,14 +303,8 @@
}) && m.afterOperation === 1
"
>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
>
<a-input
@change="inputChange(ohter.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol">
<a-input @change="inputChange(ohter.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -453,15 +312,10 @@
</a-row>
</a-checkbox-group>
<div v-else-if="ohter.type === 10">
<a-select
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
style="min-width: 120px"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in ohter.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, ohter.type, ohter.id, ohter.recordId)" style="min-width: 120px">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in ohter.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in ohter.optionVos">
<div
@ -471,14 +325,8 @@
}) && b.afterOperation === 1
"
>
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
>
<a-input
@change="inputChange(ohter.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol">
<a-input @change="inputChange(ohter.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -489,11 +337,7 @@
class="d-flex flex-row flex-wrap"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in ohter.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in ohter.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -508,18 +352,12 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(ohter.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(ohter.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
<a-input
@change="explainChange(ohter.id, $event)"
style="width: 200px"
/>
</a-col> </a-row
>说明
<a-input @change="explainChange(ohter.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
@ -528,12 +366,9 @@
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in ohter.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in ohter.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in ohter.optionVos">
<div
@ -565,9 +400,7 @@
</div>
</div>
<div v-else-if="ohter.type === 13">
<a-input-number
@change="onChange($event, ohter.type, ohter.id, ohter.recordId)"
/>
<a-input-number @change="onChange($event, ohter.type, ohter.id, ohter.recordId)" />
<span style="margin-left: 10px">{{ other.units }}</span>
</div>
<div v-else-if="ohter.type === 14">图片识别</div>
@ -588,11 +421,7 @@
</div>
<!-- 一级标题下的各种二级标题subReportCodes -->
<div :key="w.name" v-for="w in item.subReportCodes">
<a-form-item
:label-col="formItemLayout.labelCol"
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-0"
>
<a-form-item :label-col="formItemLayout.labelCol" :wrapper-col="formItemLayout.wrapperCol" class="d-flex align-center mb-0">
<!-- 二级大标题 -->
<h3 class="font-bold">{{ w.name }}</h3>
</a-form-item>
@ -605,22 +434,13 @@
class="d-flex align-center mb-3"
>
<a-input @change="onChange($event, e.type, e.id, e.recordId)" v-if="e.type === 1" />
<a-textarea
@change="onChange($event, e.type, e.id, e.recordId)"
style="height: 100px"
v-else-if="e.type === 2"
/>
<a-textarea @change="onChange($event, e.type, e.id, e.recordId)" style="height: 100px" v-else-if="e.type === 2" />
<a-radio-group
@change="onChange($event, e.type, e.id, e.recordId)"
class="d-flex flex-row flex-wrap"
v-else-if="e.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in e.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in e.optionVos">{{ b.showValue }}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, e.type, e.id, e.recordId)"
@ -633,22 +453,10 @@
</a-col>
</a-row>
</a-checkbox-group>
<a-select
@change="onChange($event, e.type, e.id, e.recordId)"
style="min-width: 120px"
v-else-if="e.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in e.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, e.type, e.id, e.recordId)" style="min-width: 120px" v-else-if="e.type === 5">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in e.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, e.type, e.id, e.recordId)"
show-time
v-else-if="e.type === 6"
/>
<a-range-picker @change="onChange($event, e.type, e.id, e.recordId)" show-time v-else-if="e.type === 6" />
<a-upload
:action="action"
:default-file-list="fileList"
@ -673,16 +481,8 @@
class="d-flex flex-row flex-wrap"
v-else-if="e.type === 8"
>
<a-radio-group
@change="onChange($event, e.type, e.id)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in e.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, e.type, e.id)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in e.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in e.optionVos">
<div
@ -697,10 +497,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(e.id, $event, j.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, j.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -728,10 +525,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(e.id, $event, j.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, j.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -739,15 +533,8 @@
</a-row>
</a-checkbox-group>
<div v-else-if="e.type === 10">
<a-select
@change="onChange($event, e.type, e.id, e.recordId)"
style="min-width: 120px"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in e.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, e.type, e.id, e.recordId)" style="min-width: 120px">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in e.optionVos">{{ b.showValue }}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in e.optionVos">
<div
@ -762,19 +549,13 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(e.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
</div>
<div v-else-if="e.type === 11">
<a-checkbox-group
@change="onChange($event, e.type, e.id, e.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-checkbox-group @change="onChange($event, e.type, e.id, e.recordId)" class="d-flex flex-row flex-wrap">
<a-row>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in e.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
@ -788,29 +569,18 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(e.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(e.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
</a-col> </a-row
>
<a-input @change="explainChange(e.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
<div v-else-if="e.type === 12">
<a-radio-group
@change="onChange($event, e.type, e.id, e.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in e.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, e.type, e.id, e.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in e.optionVos">{{ f.showValue }}</a-radio>
</a-radio-group>
<div :key="k" v-for="(j, k) in e.optionVos">
<div
@ -832,16 +602,10 @@
style="width: 200px"
v-if="j.afterOperation === 1"
></a-input>
<a-textarea
@change="inputChange(e.id, $event, j.showValue)"
v-else-if="j.afterOperation === 2"
></a-textarea>
<a-textarea @change="inputChange(e.id, $event, j.showValue)" v-else-if="j.afterOperation === 2"></a-textarea>
<div v-else-if="j.afterOperation === 3">
<a-form-item class="d-flex align-center mb-3">
<a-input
@change="onChange($event, h.type, h.id, h.h.recordId)"
v-if="h.type === 1"
/>
<a-input @change="onChange($event, h.type, h.id, h.h.recordId)" v-if="h.type === 1" />
<a-textarea
@change="onChange($event, h.type, h.id, h.recordId)"
style="height: 100px"
@ -852,12 +616,9 @@
class="d-flex flex-row flex-wrap"
v-else-if="h.type === 3"
>
<a-radio
:key="c"
:style="radioStyle"
:value="b.showValue"
v-for="(b, c) in h.optionVos"
>{{ b.showValue }}</a-radio>
<a-radio :key="c" :style="radioStyle" :value="b.showValue" v-for="(b, c) in h.optionVos">{{
b.showValue
}}</a-radio>
</a-radio-group>
<a-checkbox-group
@change="onChange($event, h.type, h.id, h.recordId)"
@ -865,11 +626,7 @@
v-else-if="h.type === 4"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in h.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in h.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
</a-row>
@ -879,17 +636,11 @@
style="min-width: 120px"
v-else-if="h.type === 5"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in h.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in h.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<a-range-picker
@change="onChange($event, h.type, h.id, h.recordId)"
show-time
v-else-if="h.type === 6"
/>
<a-range-picker @change="onChange($event, h.type, h.id, h.recordId)" show-time v-else-if="h.type === 6" />
<a-upload
:action="action"
:default-file-list="fileList"
@ -914,16 +665,10 @@
class="d-flex flex-row flex-wrap"
v-else-if="h.type === 8"
>
<a-radio-group
@change="onChange($event, h.type, h.id, h.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in h.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, h.type, h.id, h.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in h.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in h.optionVos">
<div
@ -938,10 +683,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(h.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -952,11 +694,7 @@
v-else-if="h.type === 9"
>
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in h.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in h.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -973,10 +711,7 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(h.id, $event, m.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, m.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
@ -984,15 +719,10 @@
</a-row>
</a-checkbox-group>
<div v-else-if="h.type === 10">
<a-select
@change="onChange($event, h.type, h.id, h.recordId)"
style="min-width: 120px"
>
<a-select-option
:key="c"
:value="b.showValue"
v-for="(b, c) in h.optionVos"
>{{ b.showValue }}</a-select-option>
<a-select @change="onChange($event, h.type, h.id, h.recordId)" style="min-width: 120px">
<a-select-option :key="c" :value="b.showValue" v-for="(b, c) in h.optionVos">{{
b.showValue
}}</a-select-option>
</a-select>
<div :key="c" v-for="(b, c) in h.optionVos">
<div
@ -1007,25 +737,15 @@
:wrapper-col="formItemLayout.wrapperCol"
class="d-flex align-center mb-3"
>
<a-input
@change="inputChange(h.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, b.showValue)" style="width: 200px"></a-input>
</a-form-item>
</div>
</div>
</div>
<div v-else-if="h.type === 11">
<a-checkbox-group
@change="onChange($event, h.type, h.id, h.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-checkbox-group @change="onChange($event, h.type, h.id, h.recordId)" class="d-flex flex-row flex-wrap">
<a-row>
<a-col
:key="indexNum"
:span="24"
v-for="(ques, indexNum) in h.optionVos"
>
<a-col :key="indexNum" :span="24" v-for="(ques, indexNum) in h.optionVos">
<a-checkbox :value="ques.submitValue">{{ ques.showValue }}</a-checkbox>
</a-col>
<a-col :span="100">
@ -1039,32 +759,20 @@
}) && b.afterOperation > 0
"
>
<a-input
@change="inputChange(h.id, $event, b.showValue)"
style="width: 200px"
></a-input>
<a-input @change="inputChange(h.id, $event, b.showValue)" style="width: 200px"></a-input>
</div>
</div>
</a-col>
</a-row>
<a-input
@change="explainChange(h.id, $event)"
style="width: 200px"
/>
</a-col> </a-row
>说明
<a-input @change="explainChange(h.id, $event)" style="width: 200px" />
</a-checkbox-group>
</div>
<!-- 当类型为12时为单选+关联 -->
<div v-else-if="h.type === 12">
<a-radio-group
@change="onChange($event, h.type, h.id, h.recordId)"
class="d-flex flex-row flex-wrap"
>
<a-radio
:key="g"
:style="radioStyle"
:value="f.showValue"
v-for="(f, g) in h.optionVos"
>{{ f.showValue }}</a-radio>
<a-radio-group @change="onChange($event, h.type, h.id, h.recordId)" class="d-flex flex-row flex-wrap">
<a-radio :key="g" :style="radioStyle" :value="f.showValue" v-for="(f, g) in h.optionVos">{{
f.showValue
}}</a-radio>
</a-radio-group>
<div :key="n" v-for="(m, n) in h.optionVos">
<div
@ -1097,9 +805,7 @@
</div>
</div>
<div v-else-if="h.type === 13">
<a-input-number
@change="onChange($event, h.type, h.id, h.recordId)"
/>
<a-input-number @change="onChange($event, h.type, h.id, h.recordId)" />
<span style="margin-left: 10px">{{ h.units }}</span>
</div>
<div v-else-if="h.type === 14">图片识别</div>
@ -1127,12 +833,7 @@
<CaseKTOne :case-list="caseList" />
</a-collapse-panel>
</a-collapse>
<a-button
@click="setData()"
class="white--text px-10"
style="margin-top: 40px"
type="primary"
>搜索</a-button>
<a-button @click="setData()" class="white--text px-10" style="margin-top: 40px" type="primary">搜索</a-button>
<case-table :lists="lists" @setData="setData" class="mt-3" />
</div>
</template>

1869
src/views/PatientInfo/PatientInfo.vue

File diff suppressed because it is too large

2
src/views/PersonalStats/components/AdjacentTasks.vue

@ -25,7 +25,7 @@
import { mapMutations, mapState } from 'vuex';
const columns = [
{
title: '住院号',
title: '患者编号',
align: 'center',
dataIndex: 'hospitalization',
key: 'hospitalization',

Loading…
Cancel
Save