|
|
@ -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> |
|
|
|