Browse Source

去掉选择居民关联属性

V1.0
jiangyy 3 years ago
parent
commit
76372f79c7
  1. 83
      src/views/modules/base/epidemic/travelForm.vue
  2. 3
      src/views/modules/base/epidemic/travelPanshi/travelPanshiForm.vue

83
src/views/modules/base/epidemic/travelForm.vue

@ -5,7 +5,6 @@
:inline="true"
:model="formData"
:rules="dataRule"
:disabled="formType==='detail'"
class="form">
<el-form-item v-if="formType==='add'"
@ -66,7 +65,6 @@
<el-input class="item_width_4"
placeholder="请输入姓名"
clearable
:disabled="isFromResi"
v-model="formData.name"
style="margin-right:10px;">
</el-input>
@ -80,7 +78,6 @@
<el-input class="item_width_4"
placeholder="请输入手机号"
clearable
:disabled="isFromResi"
v-model="formData.mobile">
</el-input>
</el-form-item>
@ -91,7 +88,6 @@
<el-input class="item_width_4"
placeholder="请输入身份证号或证件号"
clearable
:disabled="isFromResi"
v-model="formData.idCard">
</el-input>
</el-form-item>
@ -99,19 +95,12 @@
prop="presentAddress"
style="display: block"
label-width="150px">
<el-input v-if="formType == 'detail'"
class="item_width_4"
placeholder="请输入现居地"
clearable
:disabled="isFromResi"
:style="'width: ' + computedWd(formData.presentAddress)"
v-model="formData.presentAddress" />
<template v-else>
<template>
<el-input v-if="isFromResi"
class="item_width_4 mw180"
placeholder="请输入现居地"
clearable
:disabled="isFromResi"
v-model="formData.presentAddress" />
<el-cascader v-else
ref="nowArea"
@ -129,7 +118,6 @@
<el-input class="item_width_4"
placeholder="请输入详细地址"
clearable
:disabled="isFromResi"
v-model="formData.detailAddress">
</el-input>
</el-form-item>
@ -163,16 +151,8 @@
prop="sourceAddress"
style="display: block"
label-width="150px">
<el-input v-if="formType == 'detail'"
class="item_width_4"
placeholder=""
clearable
:disabled="isFromResi"
v-model="formData.sourceAddress"
:style="'width: ' + computedWd(formData.sourceAddress)">
</el-input>
<el-cascader v-else
ref="sourceArea"
<el-cascader ref="sourceArea"
v-model="sourceAllCode"
class="item_width_4"
:props="areaProps"
@ -264,43 +244,40 @@
v-model="formData.remark"></el-input>
</el-form-item>
<template v-if="formType != 'detail'">
<el-form-item label="通知渠道"
prop="channel"
label-width="150px"
style="display: block">
<el-checkbox-group v-model="formData.channel">
<el-checkbox key="0"
label="0">小程序通知</el-checkbox>
<!-- <el-checkbox key="1"
<el-form-item label="通知渠道"
prop="channel"
label-width="150px"
style="display: block">
<el-checkbox-group v-model="formData.channel">
<el-checkbox key="0"
label="0">小程序通知</el-checkbox>
<!-- <el-checkbox key="1"
label="1">短信通知</el-checkbox> -->
</el-checkbox-group>
</el-form-item>
<el-form-item v-show="formData.channel.length > 0"
label="通知内容"
prop="content"
label-width="150px"
style="display: block">
<el-input class="item_width_1"
type="textarea"
maxlength="500"
show-word-limit
:autosize="{ minRows: 4, maxRows: 10 }"
clearable
placeholder="请输入通知内容"
v-model="formData.content"></el-input>
</el-form-item>
</template>
</el-checkbox-group>
</el-form-item>
<el-form-item v-show="formData.channel.length > 0"
label="通知内容"
prop="content"
label-width="150px"
style="display: block">
<el-input class="item_width_1"
type="textarea"
maxlength="500"
show-word-limit
:autosize="{ minRows: 4, maxRows: 10 }"
clearable
placeholder="请输入通知内容"
v-model="formData.content"></el-input>
</el-form-item>
</el-form>
</div>
<div class="form_div_btn">
<el-button size="small"
@click="handleCancle"> </el-button>
<el-button v-if="formType != 'detail'"
size="small"
<el-button size="small"
type="primary"
:disabled="btnDisable"
@click="handleComfirm('ref_form')"> </el-button>

3
src/views/modules/base/epidemic/travelPanshi/travelPanshiForm.vue

@ -62,7 +62,6 @@
<el-input class="item_width_4"
placeholder="请输入姓名"
clearable
:disabled="isFromResi"
v-model="formData.name"
style="margin-right:10px;">
</el-input>
@ -75,7 +74,6 @@
<el-input class="item_width_4"
placeholder="请输入手机号"
clearable
:disabled="isFromResi"
v-model="formData.mobile">
</el-input>
</el-form-item>
@ -85,7 +83,6 @@
<el-input class="item_width_4"
placeholder="请输入身份证号或证件号"
clearable
:disabled="isFromResi"
v-model="formData.idCard">
</el-input>
</el-form-item>

Loading…
Cancel
Save