修改
This commit is contained in:
parent
d1ff5be640
commit
a2d1ab333d
@ -119,13 +119,13 @@
|
||||
<el-dialog :title="title" :visible.sync="open" width="1200px" append-to-body>
|
||||
<el-form ref="form" :model="form" :rules="rules" label-width="80px" :inline="true">
|
||||
<el-form-item label="医院名称" prop="hospitalName">
|
||||
<el-input v-model="form.hospitalName" style="width:200px" placeholder="请输入医院名称" />
|
||||
<el-input v-model="form.hospitalName" style="width:200px" maxlength="50" placeholder="请输入医院名称" />
|
||||
</el-form-item>
|
||||
<!-- <el-form-item label="医院编码" prop="hospitalCode">
|
||||
<el-input v-model="form.hospitalCode" placeholder="请输入医院编码" />
|
||||
</el-form-item> -->
|
||||
<el-form-item label="医院地址" prop="hospitalAddress">
|
||||
<el-input style="width:200px" v-model="form.hospitalAddress" placeholder="请输入医院地址" />
|
||||
<el-input style="width:200px" v-model="form.hospitalAddress" maxlength="300" placeholder="请输入医院地址" />
|
||||
</el-form-item>
|
||||
<el-form-item label="联系电话" prop="phone">
|
||||
<el-input v-model="form.phone" maxlength="11"
|
||||
|
||||
@ -29,6 +29,7 @@
|
||||
v-model="queryParams.departmentName"
|
||||
placeholder="请输入科室名称"
|
||||
clearable
|
||||
maxlength="50"
|
||||
@keyup.enter.native="handleQuery"
|
||||
/>
|
||||
</el-form-item>
|
||||
@ -219,6 +220,7 @@
|
||||
style="width: 250px"
|
||||
v-model="item.departmentName"
|
||||
placeholder="请输入科室名称"
|
||||
maxlength="50"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
@ -241,6 +243,7 @@
|
||||
>
|
||||
<el-input
|
||||
style="width: 250px"
|
||||
maxlength="20"
|
||||
v-model="item.departmentPerson"
|
||||
placeholder="请输入科室负责人名称"
|
||||
/>
|
||||
@ -252,6 +255,7 @@
|
||||
>
|
||||
<el-input
|
||||
style="width: 250px"
|
||||
maxlength="300"
|
||||
v-model="item.departmentAddress"
|
||||
placeholder="请输入科室地址"
|
||||
/>
|
||||
@ -427,13 +431,14 @@
|
||||
v-model="form.departmentName"
|
||||
placeholder="请输入科室名称"
|
||||
style="width: 250px"
|
||||
maxlength="15"
|
||||
maxlength="50"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="科室负责人" prop="departmentPerson">
|
||||
<el-input
|
||||
v-model="form.departmentPerson"
|
||||
placeholder="请输入科室负责人"
|
||||
maxlength="20"
|
||||
style="width: 250px"
|
||||
/>
|
||||
</el-form-item>
|
||||
@ -451,6 +456,7 @@
|
||||
v-model="form.departmentAddress"
|
||||
placeholder="请输入科室地址"
|
||||
style="width: 250px"
|
||||
maxlength="300"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="科室显示顺序" prop="departmentSort">
|
||||
|
||||
@ -295,7 +295,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="咨询费用" prop="consultingFee">
|
||||
<el-input
|
||||
maxlength="10"
|
||||
maxlength="8"
|
||||
:change="checkPrice()"
|
||||
v-model="form.consultingFee"
|
||||
placeholder="请输入咨询费用"
|
||||
@ -337,7 +337,7 @@
|
||||
:prop="`hospitalPersonCertificateList.${index}.certificateName`"
|
||||
>
|
||||
<el-input
|
||||
maxlength="90"
|
||||
maxlength="50"
|
||||
v-model="item.certificateName"
|
||||
placeholder="请输入证书名称"
|
||||
/>
|
||||
@ -605,227 +605,7 @@
|
||||
@pagination="departmentList"
|
||||
/>
|
||||
</el-dialog>
|
||||
<!-- 修改对话框 -->
|
||||
<!-- <el-dialog
|
||||
:title="title"
|
||||
:visible.sync="open"
|
||||
width="1200px"
|
||||
append-to-body
|
||||
>
|
||||
<el-form
|
||||
ref="form"
|
||||
:model="form"
|
||||
:rules="rules"
|
||||
label-width="110px"
|
||||
:inline="true"
|
||||
>
|
||||
<el-form-item label="所属医院" prop="hospitalName">
|
||||
<el-button
|
||||
type=""
|
||||
v-if="form.hospitalName == '请选择所属医院'"
|
||||
@click="clickinnerVisible(false)"
|
||||
style="
|
||||
width: 250px;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
color: #c0c4cc;
|
||||
overflow: hidden;
|
||||
"
|
||||
>{{ form.hospitalName }}</el-button
|
||||
>
|
||||
<el-button
|
||||
@click="clickinnerVisible(false)"
|
||||
type=""
|
||||
v-else
|
||||
style="
|
||||
width: 250px;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
padding-left: -10px;
|
||||
overflow: hidden;
|
||||
"
|
||||
>{{ form.hospitalName }}</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
<el-form-item label="所属科室" prop="departmentName">
|
||||
<el-button
|
||||
type=""
|
||||
v-if="form.departmentName == '请选择所属科室'"
|
||||
@click="clicklist(false)"
|
||||
style="
|
||||
width: 250px;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
color: #c0c4cc;
|
||||
overflow: hidden;
|
||||
"
|
||||
>{{ form.departmentName }}</el-button
|
||||
>
|
||||
<el-button
|
||||
@click="clicklist(false)"
|
||||
type=""
|
||||
v-else
|
||||
style="
|
||||
width: 250px;
|
||||
text-align: left;
|
||||
height: 36px;
|
||||
padding-left: -10px;
|
||||
overflow: hidden;
|
||||
"
|
||||
>{{ form.departmentName }}</el-button
|
||||
>
|
||||
</el-form-item>
|
||||
<el-form-item label="人员名称" prop="personName">
|
||||
<el-input
|
||||
v-model="form.personName"
|
||||
maxlength="7"
|
||||
placeholder="请输入人员名称"
|
||||
style="width: 250px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="联系电话" prop="personPhone">
|
||||
<el-input
|
||||
v-model="form.personPhone"
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
placeholder="请输入身份证号"
|
||||
maxlength="11"
|
||||
style="width: 250px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="科室地址" prop="personAddress">
|
||||
<el-input
|
||||
v-model="form.personAddress"
|
||||
placeholder="请输入科室地址"
|
||||
style="width: 250px"
|
||||
maxlength="300"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="身份证" prop="cardNo">
|
||||
<el-input
|
||||
v-model="form.cardNo"
|
||||
placeholder="请输入身份证号"
|
||||
maxlength="18"
|
||||
style="width: 250px"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item label="人员职称" prop="academicTitle">
|
||||
<el-select
|
||||
v-model="form.academicTitle"
|
||||
placeholder="请选择人员职称"
|
||||
style="width: 250px"
|
||||
>
|
||||
<el-option
|
||||
v-for="item in options"
|
||||
:key="item.value"
|
||||
:label="item.label"
|
||||
:value="item.value"
|
||||
>
|
||||
</el-option>
|
||||
</el-select>
|
||||
</el-form-item>
|
||||
<el-form-item label="咨询费用" prop="consultingFee">
|
||||
<el-input
|
||||
v-model="form.consultingFee"
|
||||
placeholder="请输入咨询费用"
|
||||
maxlength="10"
|
||||
:change="checkPrice()"
|
||||
style="width: 250px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="显示顺序" prop="personSort">
|
||||
<el-input
|
||||
v-model.number="form.personSort"
|
||||
maxlength="5"
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
placeholder="请输入显示顺序"
|
||||
style="width: 250px"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="人员头像" prop="personPictureUrl">
|
||||
<stationAcatar
|
||||
@imgUrl2="imgUrl"
|
||||
:img="form.personPictureUrl"
|
||||
:type="'personPictureUrl'"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="个人简介"
|
||||
prop="personIntroduce"
|
||||
style="margin-top: 10px; margin-left: 10px"
|
||||
>
|
||||
<el-input
|
||||
type="textarea"
|
||||
:rows="5"
|
||||
style="width: 540px"
|
||||
placeholder="请输入个人简介"
|
||||
v-model="form.personIntroduce"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
|
||||
<div
|
||||
v-for="(item, index) in form.hospitalPersonCertificateList"
|
||||
:key="index"
|
||||
style="margin-top: 20px; border-bottom: 1px solid #f3f3f3"
|
||||
>
|
||||
<el-form-item
|
||||
label="证书名称"
|
||||
prop="hospitalPersonCertificateList[0].certificateName"
|
||||
>
|
||||
<el-input
|
||||
maxlength="90"
|
||||
v-model="item.certificateName"
|
||||
placeholder="请输入证书名称"
|
||||
/>
|
||||
</el-form-item>
|
||||
|
||||
<el-form-item
|
||||
label="证书图片"
|
||||
prop="hospitalPersonCertificateList[0].certificateUrl"
|
||||
>
|
||||
<stationAcatar
|
||||
@imgUrl="imgUrl"
|
||||
@item="imgclassifyItem"
|
||||
:img="item.certificateUrl"
|
||||
:item="item"
|
||||
:type="'certificateUrl'"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item
|
||||
label="证书显示顺序"
|
||||
prop="hospitalPersonCertificateList[0].certificateSort"
|
||||
>
|
||||
<el-input
|
||||
oninput="value=value.replace(/[^\d]/g,'')"
|
||||
maxlength="5"
|
||||
v-model.number="item.certificateSort"
|
||||
placeholder="请输入证书显示顺序"
|
||||
/>
|
||||
</el-form-item> -->
|
||||
<!-- <el-button
|
||||
type="primary"
|
||||
circle
|
||||
plain
|
||||
icon="el-icon-circle-plus-outline"
|
||||
@click="adddisease"
|
||||
v-if="index == 0"
|
||||
></el-button>
|
||||
<el-button
|
||||
type="danger"
|
||||
icon="el-icon-delete"
|
||||
circle
|
||||
plain
|
||||
@click="deldisease(index)"
|
||||
v-if="index != 0"
|
||||
></el-button> -->
|
||||
<!-- </div>
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="submitForm">确 定</el-button>
|
||||
<el-button @click="cancel">取 消</el-button>
|
||||
</div>
|
||||
</el-dialog> -->
|
||||
|
||||
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@ -437,7 +437,7 @@ export default {
|
||||
settingsName: [
|
||||
{
|
||||
required: true,
|
||||
message: "请输入系统设置名称",
|
||||
message: "请输入规则名称",
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
@ -451,7 +451,7 @@ export default {
|
||||
settingsType: [
|
||||
{
|
||||
required: true,
|
||||
message: "请选择系统设置类型",
|
||||
message: "请选择规则类型",
|
||||
trigger: "blur",
|
||||
},
|
||||
],
|
||||
@ -487,14 +487,7 @@ export default {
|
||||
},
|
||||
};
|
||||
},
|
||||
// computed: {
|
||||
// label() {
|
||||
// let label = "积分数量";
|
||||
// if (this.form.settingsType == "INVITE_FRIENDS") label = "邀请好友次数";
|
||||
// if (this.form.settingsType == "SIGN_IN_RULE") label = "赠送积分数量";
|
||||
// return label;
|
||||
// },
|
||||
// },
|
||||
|
||||
|
||||
created() {
|
||||
this.getList();
|
||||
@ -594,6 +587,7 @@ export default {
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
console.log(row)
|
||||
const ids = row.id || this.ids;
|
||||
const settingsNames=row.settingsName||this.settingsNames
|
||||
this.$modal
|
||||
|
||||
Loading…
Reference in New Issue
Block a user