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