|
@@ -229,85 +229,8 @@
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
|
|
|
|
|
- <el-tab-pane label="问诊配置" name="his.inquiryConfig">
|
|
|
|
|
- <el-form label-width="180px">
|
|
|
|
|
- <el-form-item :label="item.type==1?'图文问诊价格':'视频问诊价格'" prop="price" v-for="item in form2.prices">
|
|
|
|
|
- <el-input-number v-model="item.price" :precision="2" :step="0.1"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="问诊费扣款" prop="companyPrice">
|
|
|
|
|
- <el-input-number v-model="form2.companyPrice" :precision="2" :step="0.1"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="开药问诊费扣款" prop="companyPrescribePrice">
|
|
|
|
|
- <el-input-number v-model="form2.companyPrescribePrice" :precision="2" :step="0.1"></el-input-number>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="待支付订单取消时间(分钟)" prop="unPayCancelTime">
|
|
|
|
|
- <el-tooltip class="item" effect="dark" content="待支付订单取消时间(分钟)" placement="top-end">
|
|
|
|
|
- <el-input-number v-model="form2.unPayCancelTime" :min="0"></el-input-number>
|
|
|
|
|
- </el-tooltip>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="问诊未接单取消时间(分钟)" prop="unReceiveCancelTime">
|
|
|
|
|
- <el-tooltip class="item" effect="dark" content="问诊未接单取消时间(分钟)" placement="top-end">
|
|
|
|
|
- <el-input-number v-model="form2.unReceiveCancelTime" :min="0"></el-input-number>
|
|
|
|
|
- </el-tooltip>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="是否自动审方" prop="doctorRegister">
|
|
|
|
|
- <el-switch
|
|
|
|
|
- v-model="form2.isAutoPrescribeAudit"
|
|
|
|
|
- active-color="#13ce66"
|
|
|
|
|
- inactive-color="#ff4949"
|
|
|
|
|
- >
|
|
|
|
|
- </el-switch>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- <el-form-item label="会诊类型" prop="inquirySubType">
|
|
|
|
|
- <div>
|
|
|
|
|
- <el-button plain type="primary" icon="el-icon-plus" @click="addInquirySubType"
|
|
|
|
|
- style="margin-bottom: 5px;"
|
|
|
|
|
- >添加会诊类型
|
|
|
|
|
- </el-button>
|
|
|
|
|
- <el-table border :data="form2.inquirySubType" style="width: 701px;">
|
|
|
|
|
-
|
|
|
|
|
- <el-table-column prop="lable" label="名称" width="300px">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.lable"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="value" label="类型" width="300px">
|
|
|
|
|
-
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-select v-model="scope.row.value" placeholder="类型" clearable size="small">
|
|
|
|
|
- <el-option
|
|
|
|
|
- v-for="dict in inquirySubTypeOptions"
|
|
|
|
|
- :key="dict.dictValue"
|
|
|
|
|
- :label="dict.dictLabel"
|
|
|
|
|
- :value="dict.dictValue"
|
|
|
|
|
- />
|
|
|
|
|
- </el-select>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="100px"
|
|
|
|
|
- fixed="right"
|
|
|
|
|
- >
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-button
|
|
|
|
|
- size="mini"
|
|
|
|
|
- type="text"
|
|
|
|
|
- icon="el-icon-delete"
|
|
|
|
|
- @click="deleteInquirySubType(scope.$index, scope.row)"
|
|
|
|
|
- >删除
|
|
|
|
|
- </el-button>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- <div class="footer">
|
|
|
|
|
- <el-button type="primary" @click="submitform2">提 交</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-form>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
-
|
|
|
|
|
<el-tab-pane label="协议配置" name="his.agreementConfig">
|
|
<el-tab-pane label="协议配置" name="his.agreementConfig">
|
|
|
<el-form ref="form3" :model="form3" label-width="150px" :rules="rules4">
|
|
<el-form ref="form3" :model="form3" label-width="150px" :rules="rules4">
|
|
|
<el-form-item label="医生注册协议" prop="doctorRegister">
|
|
<el-form-item label="医生注册协议" prop="doctorRegister">
|
|
@@ -363,32 +286,6 @@
|
|
|
</div>
|
|
</div>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
- <el-tab-pane label="佣金配置" name="his.brokerage" style="width: 100%;">
|
|
|
|
|
-
|
|
|
|
|
- <div>
|
|
|
|
|
- <el-table border :data="form5" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="type" label="类型" width="300px"/>
|
|
|
|
|
- <el-table-column prop="doctorMedicineBrokerage" label="医生中药佣金%" width="300px">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input-number v-model="scope.row.doctorMedicineBrokerage" :min="0" :max="100"></el-input-number>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="doctorInquiryBrokerage" label="医生服务佣金%" width="300px">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input-number v-model="scope.row.doctorInquiryBrokerage" :min="0" :max="100"></el-input-number>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="tuiMedicineBrokerage" label="推广人员中药佣金%" width="300px">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input-number v-model="scope.row.tuiMedicineBrokerage" :min="0" :max="100"></el-input-number>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- <div style="float: right;" class="footer">
|
|
|
|
|
- <el-button type="primary" @click="submitForm5">提 交</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="优惠券" name="his.coupon">
|
|
<el-tab-pane label="优惠券" name="his.coupon">
|
|
|
<el-form ref="form6" :model="form6" label-width="150px">
|
|
<el-form ref="form6" :model="form6" label-width="150px">
|
|
@@ -2359,342 +2256,6 @@
|
|
|
</el-form>
|
|
</el-form>
|
|
|
</el-tab-pane>
|
|
</el-tab-pane>
|
|
|
|
|
|
|
|
- <el-tab-pane label="健康指标配置" name="his.healthIndexConfig">
|
|
|
|
|
-
|
|
|
|
|
- <el-form ref="form26" :model="form26" label-width="200px">
|
|
|
|
|
- <!-- 红色提示 严格按照对应格式参数填写,指标参数只能是数字和特殊符号,数值保留一位小数,特殊符号只能有 < > ≥ ≤ ~ 不能有空格 -->
|
|
|
|
|
- <el-card class="box-card">
|
|
|
|
|
- <div slot="header" class="clearfix">
|
|
|
|
|
- <span style="color: red;">请严格按照对应格式参数填写,指标参数只能是数字和特殊符号,数值保留一位小数,特殊符号只能有 < > ≥ ≤ ~ 不能有空格</span>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-card>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <!-- 血糖指标 -->
|
|
|
|
|
- <el-card class="box-card" style="margin-bottom: 20px;">
|
|
|
|
|
- <div slot="header" class="clearfix">
|
|
|
|
|
- <span>血糖指标 (mmol/L)</span>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="空腹血糖正常值">
|
|
|
|
|
- <el-input v-model="form26.bloodGlucose.fasting.normal" placeholder="例如: 3.9-6.1">
|
|
|
|
|
- <template slot="append">mmol/L</template>
|
|
|
|
|
- </el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="餐后1小时血糖正常值">
|
|
|
|
|
- <el-input v-model="form26.bloodGlucose.post1Hour.normal" placeholder="例如: 6.7-9.0">
|
|
|
|
|
- <template slot="append">mmol/L</template>
|
|
|
|
|
- </el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="餐后2小时血糖正常值">
|
|
|
|
|
- <el-input v-model="form26.bloodGlucose.post2Hour.normal" placeholder="例如: ≤7.8">
|
|
|
|
|
- <template slot="append">mmol/L</template>
|
|
|
|
|
- </el-input>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="血糖异常程度配置">
|
|
|
|
|
- <el-table :data="form26.bloodGlucose.severity" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="严重程度" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '轻微' : '严重'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: <3.9 or 6.1-7.8"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 低血糖风险"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-card>
|
|
|
|
|
-
|
|
|
|
|
- <!-- 血压指标 -->
|
|
|
|
|
- <el-card class="box-card" style="margin-bottom: 20px;">
|
|
|
|
|
- <div slot="header" class="clearfix">
|
|
|
|
|
- <span>血压指标 (mmHg)</span>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="血压异常程度配置">
|
|
|
|
|
- <el-table :data="form26.bloodPressure.severity" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="严重程度" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '轻微' : '严重'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="type" label="血压类型" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <span>{{ scope.row.type === 'systolic' ? '收缩压' : '舒张压' }}</span>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: <90 or 120-139"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常高值"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-card>
|
|
|
|
|
-
|
|
|
|
|
- <el-card class="box-card">
|
|
|
|
|
- <div slot="header" class="clearfix">
|
|
|
|
|
- <span>尿酸指标 (μmol/L)</span>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="性别分类配置">
|
|
|
|
|
- <el-tabs v-model="form26.uricAcid.activeGender">
|
|
|
|
|
- <el-tab-pane label="男性" name="male">
|
|
|
|
|
- <el-table :data="form26.uricAcid.male" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="风险等级" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '不良' : '高风险'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: <420"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常范围"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
-
|
|
|
|
|
- <el-tab-pane label="女性" name="female">
|
|
|
|
|
- <el-table :data="form26.uricAcid.female" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="风险等级" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '不良' : '高风险'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: <360"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常范围"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- </el-tabs>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-card>
|
|
|
|
|
-
|
|
|
|
|
- <!-- Add BMI指标 card after the uric acid card -->
|
|
|
|
|
- <el-card class="box-card" style="margin-bottom: 20px;">
|
|
|
|
|
- <div slot="header" class="clearfix">
|
|
|
|
|
- <span>BMI指标 (kg/m²)</span>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="BMI异常程度配置">
|
|
|
|
|
- <el-table :data="form26.bmi.severity" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="严重程度" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '偏瘦' : '偏胖'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: 18.5-23.9"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常范围"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-card>
|
|
|
|
|
-
|
|
|
|
|
-
|
|
|
|
|
- <!-- 腰围指标 -->
|
|
|
|
|
- <el-card class="box-card" style="margin-bottom: 20px;">
|
|
|
|
|
- <div slot="header" class="clearfix">
|
|
|
|
|
- <span>腰围指标 (cm)</span>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="性别分类配置">
|
|
|
|
|
- <el-tabs v-model="form26.waist.activeGender">
|
|
|
|
|
- <el-tab-pane label="男性" name="male">
|
|
|
|
|
- <el-table :data="form26.waist.male" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="风险等级" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '偏小' : '偏大'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: <90"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常范围"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
-
|
|
|
|
|
- <el-tab-pane label="女性" name="female">
|
|
|
|
|
- <el-table :data="form26.waist.female" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="风险等级" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '偏小' : '偏大'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: <80"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常范围"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- </el-tabs>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-card>
|
|
|
|
|
-
|
|
|
|
|
- <el-card class="box-card" style="margin-bottom: 20px;">
|
|
|
|
|
- <div slot="header" class="clearfix">
|
|
|
|
|
- <span>臀围指标 (cm)</span>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <el-form-item label="性别分类配置">
|
|
|
|
|
- <el-tabs v-model="form26.hip.activeGender">
|
|
|
|
|
- <el-tab-pane label="男性" name="male">
|
|
|
|
|
- <el-table :data="form26.hip.male" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="风险等级" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '偏小' : '偏大'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: 90-100"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常范围"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
-
|
|
|
|
|
- <el-tab-pane label="女性" name="female">
|
|
|
|
|
- <el-table :data="form26.hip.female" style="width: 100%;">
|
|
|
|
|
- <el-table-column prop="level" label="风险等级" width="120">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-tag :type="scope.row.level === 'normal' ? 'success' :
|
|
|
|
|
- scope.row.level === 'mild' ? 'warning' : 'danger'"
|
|
|
|
|
- >
|
|
|
|
|
- {{
|
|
|
|
|
- scope.row.level === 'normal' ? '正常' :
|
|
|
|
|
- scope.row.level === 'mild' ? '偏小' : '偏大'
|
|
|
|
|
- }}
|
|
|
|
|
- </el-tag>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="range" label="数值范围">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.range" placeholder="例如: 85-95"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- <el-table-column prop="description" label="描述">
|
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
|
- <el-input v-model="scope.row.description" placeholder="例如: 正常范围"></el-input>
|
|
|
|
|
- </template>
|
|
|
|
|
- </el-table-column>
|
|
|
|
|
- </el-table>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
- </el-tabs>
|
|
|
|
|
- </el-form-item>
|
|
|
|
|
- </el-card>
|
|
|
|
|
-
|
|
|
|
|
- <div class="footer">
|
|
|
|
|
- <el-button type="primary" @click="submitForm26">提交</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-form>
|
|
|
|
|
- </el-tab-pane>
|
|
|
|
|
|
|
|
|
|
<el-tab-pane label="三方入驻相关配置" name="medicalMall.func.switch">
|
|
<el-tab-pane label="三方入驻相关配置" name="medicalMall.func.switch">
|
|
|
<el-form ref="form27" :model="form27" label-width="150px">
|
|
<el-form ref="form27" :model="form27" label-width="150px">
|
|
@@ -3165,10 +2726,8 @@ export default {
|
|
|
storeOPtions: [],
|
|
storeOPtions: [],
|
|
|
// 表单参数
|
|
// 表单参数
|
|
|
form1: {},
|
|
form1: {},
|
|
|
- form2: {},
|
|
|
|
|
form3: {},
|
|
form3: {},
|
|
|
form4: {},
|
|
form4: {},
|
|
|
- form5: [],
|
|
|
|
|
form6: {},
|
|
form6: {},
|
|
|
form7: {},
|
|
form7: {},
|
|
|
form8: {},
|
|
form8: {},
|
|
@@ -3204,75 +2763,6 @@ export default {
|
|
|
form24: {},
|
|
form24: {},
|
|
|
form25: {},
|
|
form25: {},
|
|
|
gameListLoading: false,
|
|
gameListLoading: false,
|
|
|
- form26: {
|
|
|
|
|
- bloodGlucose: {
|
|
|
|
|
- fasting: { normal: '' },
|
|
|
|
|
- post1Hour: { normal: '' },
|
|
|
|
|
- post2Hour: { normal: '' },
|
|
|
|
|
- severity: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- bloodPressure: {
|
|
|
|
|
- protection: { systolic: '', diastolic: '' },
|
|
|
|
|
- severity: [
|
|
|
|
|
- { level: 'normal', type: 'systolic', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', type: 'systolic', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', type: 'systolic', range: '', description: '' },
|
|
|
|
|
- { level: 'normal', type: 'diastolic', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', type: 'diastolic', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', type: 'diastolic', range: '', description: '' }
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- uricAcid: {
|
|
|
|
|
- activeGender: 'male',
|
|
|
|
|
- male: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ],
|
|
|
|
|
- female: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- bmi: {
|
|
|
|
|
- severity: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- waist: {
|
|
|
|
|
- activeGender: 'male',
|
|
|
|
|
- male: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ],
|
|
|
|
|
- female: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ]
|
|
|
|
|
- },
|
|
|
|
|
- hip: {
|
|
|
|
|
- activeGender: 'male',
|
|
|
|
|
- male: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ],
|
|
|
|
|
- female: [
|
|
|
|
|
- { level: 'normal', range: '', description: '' },
|
|
|
|
|
- { level: 'mild', range: '', description: '' },
|
|
|
|
|
- { level: 'severe', range: '', description: '' }
|
|
|
|
|
- ]
|
|
|
|
|
- }
|
|
|
|
|
- },
|
|
|
|
|
form27: {},
|
|
form27: {},
|
|
|
form28: {},
|
|
form28: {},
|
|
|
form30: {},
|
|
form30: {},
|
|
@@ -3307,7 +2797,6 @@ export default {
|
|
|
storeScrmColumns: [],
|
|
storeScrmColumns: [],
|
|
|
photoArr: [],
|
|
photoArr: [],
|
|
|
couponList: [],
|
|
couponList: [],
|
|
|
- inquirySubTypeOptions: [],
|
|
|
|
|
// 表单校验
|
|
// 表单校验
|
|
|
rules1: {},
|
|
rules1: {},
|
|
|
rules3: {},
|
|
rules3: {},
|
|
@@ -3370,9 +2859,6 @@ export default {
|
|
|
listStore().then(response => {
|
|
listStore().then(response => {
|
|
|
this.storeOPtions = response.rows
|
|
this.storeOPtions = response.rows
|
|
|
})
|
|
})
|
|
|
- this.getDicts('sys_inquiry_sub_type').then(response => {
|
|
|
|
|
- this.inquirySubTypeOptions = response.data
|
|
|
|
|
- })
|
|
|
|
|
this.getDicts('sys_integral_log_type').then(response => {
|
|
this.getDicts('sys_integral_log_type').then(response => {
|
|
|
this.integralLogTypeOptions = response.data
|
|
this.integralLogTypeOptions = response.data
|
|
|
})
|
|
})
|
|
@@ -3616,9 +3102,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- deleteInquirySubType(index, row) {
|
|
|
|
|
- this.form2.inquirySubType.splice(index, 1)
|
|
|
|
|
- },
|
|
|
|
|
handleClick(tab, event) {
|
|
handleClick(tab, event) {
|
|
|
this.getConfigByKey(tab.name)
|
|
this.getConfigByKey(tab.name)
|
|
|
|
|
|
|
@@ -3630,10 +3113,6 @@ export default {
|
|
|
this.product.open = true
|
|
this.product.open = true
|
|
|
|
|
|
|
|
},
|
|
},
|
|
|
- addInquirySubType() {
|
|
|
|
|
-
|
|
|
|
|
- this.form2.inquirySubType.push({ lable: '名称', value: null })
|
|
|
|
|
- },
|
|
|
|
|
handleDeliveryGift() {
|
|
handleDeliveryGift() {
|
|
|
setTimeout(() => {
|
|
setTimeout(() => {
|
|
|
this.$refs.DeliveryGiftDetails.getDetails()
|
|
this.$refs.DeliveryGiftDetails.getDetails()
|
|
@@ -3696,9 +3175,6 @@ export default {
|
|
|
if (key == 'sys.oss.cloudStorage') {
|
|
if (key == 'sys.oss.cloudStorage') {
|
|
|
this.form1 = this.safeParseConfig(configValue, { ...this.form1 })
|
|
this.form1 = this.safeParseConfig(configValue, { ...this.form1 })
|
|
|
}
|
|
}
|
|
|
- if (key == 'his.inquiryConfig') {
|
|
|
|
|
- this.form2 = this.safeParseConfig(configValue, { ...this.form2 })
|
|
|
|
|
- }
|
|
|
|
|
if (key == 'his.agreementConfig') {
|
|
if (key == 'his.agreementConfig') {
|
|
|
this.form3 = this.safeParseConfig(configValue, { ...this.form3 })
|
|
this.form3 = this.safeParseConfig(configValue, { ...this.form3 })
|
|
|
}
|
|
}
|
|
@@ -3708,9 +3184,6 @@ export default {
|
|
|
this.photoArr = this.form4.certs.split(',')
|
|
this.photoArr = this.form4.certs.split(',')
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- if (key == 'his.brokerage') {
|
|
|
|
|
- this.form5 = this.safeParseConfig(configValue, { ...this.form5 })
|
|
|
|
|
- }
|
|
|
|
|
if (key == 'his.coupon') {
|
|
if (key == 'his.coupon') {
|
|
|
allList().then(response => {
|
|
allList().then(response => {
|
|
|
this.couponList = response.data
|
|
this.couponList = response.data
|
|
@@ -3795,9 +3268,7 @@ export default {
|
|
|
if (key == 'his.login') {
|
|
if (key == 'his.login') {
|
|
|
this.form22 = this.safeParseConfig(configValue, { ...this.form22 })
|
|
this.form22 = this.safeParseConfig(configValue, { ...this.form22 })
|
|
|
}
|
|
}
|
|
|
- if (key === 'his.healthIndexConfig') {
|
|
|
|
|
- this.form26 = this.safeParseConfig(configValue, { ...this.form26 })
|
|
|
|
|
- } else if (key == 'store.concept') {
|
|
|
|
|
|
|
+ if (key == 'store.concept') {
|
|
|
this.configId = response.data.configId
|
|
this.configId = response.data.configId
|
|
|
this.configKey = response.data.configKey
|
|
this.configKey = response.data.configKey
|
|
|
this.form21 = this.safeParseConfig(configValue, { ...this.form21 })
|
|
this.form21 = this.safeParseConfig(configValue, { ...this.form21 })
|
|
@@ -3934,14 +3405,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- submitForm5() {
|
|
|
|
|
- var param = { configId: this.configId, configValue: JSON.stringify(this.form5) }
|
|
|
|
|
- updateConfigByKey(param).then(response => {
|
|
|
|
|
- if (response.code === 200) {
|
|
|
|
|
- this.msgSuccess('修改成功')
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
submitForm6() {
|
|
submitForm6() {
|
|
|
var param = { configId: this.configId, configValue: JSON.stringify(this.form6) }
|
|
var param = { configId: this.configId, configValue: JSON.stringify(this.form6) }
|
|
|
updateConfigByKey(param).then(response => {
|
|
updateConfigByKey(param).then(response => {
|
|
@@ -4144,21 +3607,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- submitForm26() {
|
|
|
|
|
- const param = {
|
|
|
|
|
- configId: this.configId,
|
|
|
|
|
- configKey: this.configKey,
|
|
|
|
|
- configValue: JSON.stringify(this.form26)
|
|
|
|
|
- }
|
|
|
|
|
-
|
|
|
|
|
- updateConfigByKey(param).then(response => {
|
|
|
|
|
- if (response.code === 200) {
|
|
|
|
|
- this.msgSuccess('健康指标配置保存成功')
|
|
|
|
|
- } else {
|
|
|
|
|
- this.msgError('保存失败')
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
submitForm27() {
|
|
submitForm27() {
|
|
|
const param = { configId: this.configId, configKey: this.configKey, configValue: JSON.stringify(this.form27) }
|
|
const param = { configId: this.configId, configKey: this.configKey, configValue: JSON.stringify(this.form27) }
|
|
|
updateConfigByKey(param).then(response => {
|
|
updateConfigByKey(param).then(response => {
|
|
@@ -4250,22 +3698,6 @@ export default {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
},
|
|
},
|
|
|
- submitform2() {
|
|
|
|
|
- // 将对象转换为JSON字符串并保留两位小数
|
|
|
|
|
- var json_data = JSON.stringify(this.form2, function(key, value) {
|
|
|
|
|
- if (key == 'price') {
|
|
|
|
|
- return value.toFixed(2)
|
|
|
|
|
- }
|
|
|
|
|
- return value
|
|
|
|
|
- })
|
|
|
|
|
-// 将对象转换为 JSON 字符串
|
|
|
|
|
- var param = { configId: this.configId, configValue: json_data }
|
|
|
|
|
- updateConfigByKey(param).then(response => {
|
|
|
|
|
- if (response.code === 200) {
|
|
|
|
|
- this.msgSuccess('修改成功')
|
|
|
|
|
- }
|
|
|
|
|
- })
|
|
|
|
|
- },
|
|
|
|
|
/** 清理缓存按钮操作 */
|
|
/** 清理缓存按钮操作 */
|
|
|
handleClearCache() {
|
|
handleClearCache() {
|
|
|
clearCache().then(response => {
|
|
clearCache().then(response => {
|