cyl/dev
jscyl13849007907 1 year ago
parent d08d86281a
commit 7610603a3d

@ -1,5 +1,7 @@
<template>
<div class="recordBill-container f40 w baoming-obj" style="width: 800px;min-width: 800px;">
<div class="recordBill-container f40 w baoming-obj"
style="width: 800px;min-width: 800px;"
>
<div class="g_h_56"></div>
<!-- 面包屑 -->
<a-breadcrumb class="w">
@ -487,6 +489,7 @@ export default {
openModal() {
this.isModalVisible = true;
//
this.$store.state.isScroll = 2;
},
getSelectedJobId(val) {

@ -142,21 +142,25 @@ export default {
this.$emit('getSelectedJobId', { "jobId": record.id,"jobClassify":record.jobClassify});
this.$emit('update:isModalVisible', false);
// this.isModalVisible = false;
this.$store.state.isScroll = 1;
},
openModal() {
this.isModalVisible = true;
//
// this.$emit('update:isModalVisible', true);
this.$store.state.isScroll = 2;
},
confirmModal() {
this.isModalVisible = false;
//
// this.$emit('update:isModalVisible', false);
this.$store.state.isScroll = 1;
},
cancelModal() {
this.isModalVisible = false;
//
this.$emit('update:isModalVisible', false);
this.$store.state.isScroll = 1;
},
//

@ -7,7 +7,8 @@ export default new Vuex.Store({
state: {
joblist: {},
isLogin: false,
managerInfo:{}
managerInfo:{},
isScroll:1,// 1 滚动 2 不滚动
},
mutations: {
setManagerInfo(state,val){

@ -1,5 +1,10 @@
<template>
<div class="index-container" @click="isspecialboxshow = false">
<div class="index-container" @click="isspecialboxshow = false"
:style="{
'overflow-y': isSC ? 'auto' : 'hidden',
'overflow-x':'hidden'
}"
>
<!-- title部分 -->
<div class="pagetitle" v-if="isLogin && routertitleindex != 0"
:class="pagrTitle == 'list' || pagrTitle == 'detail' || pagrTitle == 'mybill' || pagrTitle == 'recordbill' ? 'page-title-list-active' : ''"
@ -488,6 +493,7 @@ export default {
loginPage: false,
routertitleindex: 0,
teamList: [],
isSC:1
};
},
//
@ -589,6 +595,9 @@ export default {
deep: true,
immediate: true,
},
'$state.state.isScroll'(val){
this.isSC = val;
}
},
//
/**

Loading…
Cancel
Save