食谱制作页面,添加左侧显示用户信息功能
This commit is contained in:
parent
088f895860
commit
ecde8c470a
@ -19,31 +19,53 @@
|
|||||||
@onClick="handleOnClick"
|
@onClick="handleOnClick"
|
||||||
/>
|
/>
|
||||||
</el-tab-pane>
|
</el-tab-pane>
|
||||||
|
<el-tab-pane label="客户信息" name="2" v-if="!temId">
|
||||||
|
<div class="content">
|
||||||
|
<HealthyView
|
||||||
|
dev
|
||||||
|
showRemark
|
||||||
|
:data="healthyDataType === 0 ? healthyData : {}"
|
||||||
|
v-show="healthyDataType === 0"
|
||||||
|
/>
|
||||||
|
<BodySignView
|
||||||
|
dev
|
||||||
|
showRemark
|
||||||
|
:data="healthyDataType === 1 ? healthyData : {}"
|
||||||
|
v-show="healthyDataType === 1"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</el-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import VueScrollTo from "vue-scrollto";
|
import VueScrollTo from "vue-scrollto";
|
||||||
import { createNamespacedHelpers } from "vuex";
|
import { createNamespacedHelpers } from "vuex";
|
||||||
const {
|
import HealthyView from "@/components/HealthyView";
|
||||||
mapActions,
|
import BodySignView from "@/components/BodySignView";
|
||||||
mapState,
|
const { mapActions, mapState, mapGetters, mapMutations } =
|
||||||
mapGetters,
|
createNamespacedHelpers("recipes");
|
||||||
mapMutations,
|
|
||||||
} = createNamespacedHelpers("recipes");
|
|
||||||
import IngredientSearchCom from "./IngredientSearchCom";
|
import IngredientSearchCom from "./IngredientSearchCom";
|
||||||
import PhysicalSignCom from "./PhysicalSignCom";
|
import PhysicalSignCom from "./PhysicalSignCom";
|
||||||
export default {
|
export default {
|
||||||
name: "VerifyView",
|
name: "VerifyView",
|
||||||
data() {
|
data() {
|
||||||
|
const { temId } = this.$route.query;
|
||||||
return {
|
return {
|
||||||
|
temId,
|
||||||
activeName: "0",
|
activeName: "0",
|
||||||
selectedIgd: 0,
|
selectedIgd: 0,
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
components: { IngredientSearchCom, PhysicalSignCom },
|
components: {
|
||||||
|
HealthyView,
|
||||||
|
BodySignView,
|
||||||
|
IngredientSearchCom,
|
||||||
|
PhysicalSignCom,
|
||||||
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapGetters(["verifyNotRecData"]),
|
...mapGetters(["verifyNotRecData"]),
|
||||||
|
...mapState(["healthyDataType", "healthyData"]),
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
handleOnTabClick(tab) {
|
handleOnTabClick(tab) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user