commit
86aa3e4898
@ -4,8 +4,10 @@
|
|||||||
:title="title"
|
:title="title"
|
||||||
append-to-body
|
append-to-body
|
||||||
@closed="onClosed"
|
@closed="onClosed"
|
||||||
|
:width="dialogWidth"
|
||||||
>
|
>
|
||||||
<div v-if="showFlag">
|
<div style="display:flex;flex-direction:row">
|
||||||
|
<div v-if="showFlag" style="float: left;width: 900px">
|
||||||
<div
|
<div
|
||||||
style="float: right; margin-top: -10px; margin-bottom: 10px"
|
style="float: right; margin-top: -10px; margin-bottom: 10px"
|
||||||
v-show="dataList.length > 0"
|
v-show="dataList.length > 0"
|
||||||
@ -100,7 +102,7 @@
|
|||||||
</el-table>
|
</el-table>
|
||||||
</div>
|
</div>
|
||||||
<!-- 其他信息 -->
|
<!-- 其他信息 -->
|
||||||
<div style="height: 400px; overflow: auto">
|
<div style="height: 390px; overflow: auto">
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in dataList.slice(1, 10)"
|
v-for="(item, index) in dataList.slice(1, 10)"
|
||||||
style="margin-bottom: 50px"
|
style="margin-bottom: 50px"
|
||||||
@ -217,6 +219,15 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<div style="width: 200px;" v-show="guidanceShow">
|
||||||
|
<!-- 编辑减脂指导 -->
|
||||||
|
<physicalSigns-guidance
|
||||||
|
ref="physicalSignsGuidanceDialog"
|
||||||
|
@close="editGuidanceShow(false)"
|
||||||
|
@refreshHealthyData="getCustomerHealthyByCusId()"
|
||||||
|
></physicalSigns-guidance>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- 编辑 -->
|
<!-- 编辑 -->
|
||||||
<physicalSigns-edit
|
<physicalSigns-edit
|
||||||
ref="physicalSignsEditDialog"
|
ref="physicalSignsEditDialog"
|
||||||
@ -227,11 +238,7 @@
|
|||||||
ref="physicalSignsRemarkDialog"
|
ref="physicalSignsRemarkDialog"
|
||||||
@refreshHealthyData="getCustomerHealthyByCusId()"
|
@refreshHealthyData="getCustomerHealthyByCusId()"
|
||||||
></physicalSigns-remark>
|
></physicalSigns-remark>
|
||||||
<!-- 编辑减脂指导 -->
|
|
||||||
<physicalSigns-guidance
|
|
||||||
ref="physicalSignsGuidanceDialog"
|
|
||||||
@refreshHealthyData="getCustomerHealthyByCusId()"
|
|
||||||
></physicalSigns-guidance>
|
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
@ -401,6 +408,9 @@ export default {
|
|||||||
],
|
],
|
||||||
copyValue: "",
|
copyValue: "",
|
||||||
detailHealthy: null,
|
detailHealthy: null,
|
||||||
|
dialogWidth: "950px",
|
||||||
|
guidanceShow : false
|
||||||
|
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
@ -457,6 +467,7 @@ export default {
|
|||||||
this.detailHealthy = null;
|
this.detailHealthy = null;
|
||||||
//this.enc_id = "";
|
//this.enc_id = "";
|
||||||
this.copyValue = "";
|
this.copyValue = "";
|
||||||
|
this.editGuidanceShow(false);
|
||||||
},
|
},
|
||||||
//对体征信息进行处理
|
//对体征信息进行处理
|
||||||
getDataListBySignMessage(sign) {
|
getDataListBySignMessage(sign) {
|
||||||
@ -843,11 +854,16 @@ export default {
|
|||||||
);
|
);
|
||||||
},
|
},
|
||||||
handleEditGuidanceClick() {
|
handleEditGuidanceClick() {
|
||||||
|
this.editGuidanceShow(true);
|
||||||
this.$refs["physicalSignsGuidanceDialog"].showDialog(
|
this.$refs["physicalSignsGuidanceDialog"].showDialog(
|
||||||
this.data,
|
this.data,
|
||||||
this.healthyData
|
this.healthyData
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
editGuidanceShow(flag){
|
||||||
|
this.guidanceShow = flag;
|
||||||
|
this.dialogWidth = flag ? "1200px" : "950px";
|
||||||
|
}
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
@ -1,10 +1,13 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog :visible.sync="visible" :title="title" width="500px" append-to-body @closed="onClosed">
|
<!--<el-dialog :visible.sync="visible" :title="title" width="500px" append-to-body @closed="onClosed">-->
|
||||||
|
<div style="margin-left: 20px">
|
||||||
|
<h3 style="width: 200px;">{{title}}</h3>
|
||||||
<el-form ref="form" :model="form" :rules="rules" label-position="top" label-width="100px">
|
<el-form ref="form" :model="form" :rules="rules" label-position="top" label-width="100px">
|
||||||
<el-form-item label="" prop="guidance" >
|
<el-form-item label="" prop="guidance" >
|
||||||
<el-input
|
<el-input
|
||||||
|
style="width: 230px"
|
||||||
type="textarea"
|
type="textarea"
|
||||||
:rows="8"
|
:rows="25"
|
||||||
maxlength="300"
|
maxlength="300"
|
||||||
show-word-limit
|
show-word-limit
|
||||||
placeholder="请输入减脂指导"
|
placeholder="请输入减脂指导"
|
||||||
@ -12,11 +15,12 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
<div slot="footer" class="dialog-footer">
|
<div slot="footer" class="dialog-footer" style="float: right">
|
||||||
<el-button type="primary" @click="submit()">确 定</el-button>
|
<el-button type="primary" @click="submit()">确 定</el-button>
|
||||||
<el-button @click="onClosed()">取 消</el-button>
|
<el-button @click="onClosed()">取 消</el-button>
|
||||||
</div>
|
</div>
|
||||||
</el-dialog>
|
</div>
|
||||||
|
<!--</el-dialog>-->
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { getCustomerPhysicalSignsByCusId } from "@/api/custom/customer";
|
import { getCustomerPhysicalSignsByCusId } from "@/api/custom/customer";
|
||||||
@ -51,6 +55,7 @@ export default {
|
|||||||
onClosed() {
|
onClosed() {
|
||||||
this.visible = false;
|
this.visible = false;
|
||||||
this.data = null;
|
this.data = null;
|
||||||
|
this.$emit('close');
|
||||||
},
|
},
|
||||||
submit(){
|
submit(){
|
||||||
this.$refs.form.validate((valid) => {
|
this.$refs.form.validate((valid) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user