看板
Showing
3 changed files
with
18 additions
and
7 deletions
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | <left-page/> | 5 | <left-page/> |
| 6 | </el-col> | 6 | </el-col> |
| 7 | <el-col v-if="type=='是'" :span="8"> | 7 | <el-col v-if="type=='是'" :span="8"> |
| 8 | <center-page/> | 8 | <center-page :type="type=='是'"/> |
| 9 | </el-col> | 9 | </el-col> |
| 10 | <el-col :span="type=='是'?8:12"> | 10 | <el-col :span="type=='是'?8:12"> |
| 11 | <right-page/> | 11 | <right-page/> |
| ... | @@ -22,8 +22,9 @@ import RightPage from "@/viewsPc/vip/rightPage" | ... | @@ -22,8 +22,9 @@ import RightPage from "@/viewsPc/vip/rightPage" |
| 22 | import {getYS000} from '@/api/server.js' | 22 | import {getYS000} from '@/api/server.js' |
| 23 | import {ref} from 'vue' | 23 | import {ref} from 'vue' |
| 24 | 24 | ||
| 25 | const type = ref('是') | 25 | const type = ref('否') |
| 26 | // url.value = window.location.host + '/pc.html#/match/list/' | 26 | // url.value = window.location.host + '/pc.html#/match/list/' |
| 27 | |||
| 27 | handelGetYS000() | 28 | handelGetYS000() |
| 28 | 29 | ||
| 29 | async function handelGetYS000() { | 30 | async function handelGetYS000() { | ... | ... |
| ... | @@ -98,6 +98,13 @@ import {onMounted, ref} from 'vue' | ... | @@ -98,6 +98,13 @@ import {onMounted, ref} from 'vue' |
| 98 | import {dayjs} from 'element-plus' | 98 | import {dayjs} from 'element-plus' |
| 99 | import {getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js' | 99 | import {getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js' |
| 100 | 100 | ||
| 101 | const props = defineProps({ | ||
| 102 | type: { | ||
| 103 | type: Boolean, | ||
| 104 | default: false | ||
| 105 | }, | ||
| 106 | }) | ||
| 107 | |||
| 101 | const zhuRef1 = ref(null) | 108 | const zhuRef1 = ref(null) |
| 102 | const zhuRef2 = ref(null) | 109 | const zhuRef2 = ref(null) |
| 103 | const zhuRef3 = ref(null) | 110 | const zhuRef3 = ref(null) |
| ... | @@ -133,8 +140,12 @@ let total = 0 | ... | @@ -133,8 +140,12 @@ let total = 0 |
| 133 | let intervalA = null | 140 | let intervalA = null |
| 134 | 141 | ||
| 135 | onMounted(() => { | 142 | onMounted(() => { |
| 136 | init() | 143 | debugger |
| 137 | window.addEventListener('resize', handleResize); | 144 | if (props.type) { |
| 145 | init() | ||
| 146 | window.addEventListener('resize', handleResize); | ||
| 147 | } | ||
| 148 | |||
| 138 | // handelBing1() | 149 | // handelBing1() |
| 139 | // handelZhu1() | 150 | // handelZhu1() |
| 140 | // handelGetYS001() | 151 | // handelGetYS001() |
| ... | @@ -148,7 +159,6 @@ onMounted(() => { | ... | @@ -148,7 +159,6 @@ onMounted(() => { |
| 148 | // handelZhu3() | 159 | // handelZhu3() |
| 149 | // handelZhu4() | 160 | // handelZhu4() |
| 150 | 161 | ||
| 151 | |||
| 152 | }) | 162 | }) |
| 153 | 163 | ||
| 154 | const init = () => { | 164 | const init = () => { | ... | ... |
| ... | @@ -50,7 +50,7 @@ | ... | @@ -50,7 +50,7 @@ |
| 50 | size="small" | 50 | size="small" |
| 51 | @change="handelSelect3"> | 51 | @change="handelSelect3"> |
| 52 | <el-option label="全部" value="0"/> | 52 | <el-option label="全部" value="0"/> |
| 53 | <el-option v-for="val in list" :key="val.BASE" :label="val.BASE" :value="val.BASE"/> | 53 | <el-option v-for="val in list" :key="val.BASEJC" :label="val.BASEJC" :value="val.BASEJC"/> |
| 54 | </el-select> | 54 | </el-select> |
| 55 | </div> | 55 | </div> |
| 56 | </div> | 56 | </div> |
| ... | @@ -243,7 +243,7 @@ function handelSelect3() { | ... | @@ -243,7 +243,7 @@ function handelSelect3() { |
| 243 | 243 | ||
| 244 | } else { | 244 | } else { |
| 245 | // 找到对应的数据 | 245 | // 找到对应的数据 |
| 246 | let obj = list.value.find(item => item.BASE === type3.value) | 246 | let obj = list.value.find(item => item.BASEJC === type3.value) |
| 247 | for (const val of obj.list) { | 247 | for (const val of obj.list) { |
| 248 | h1.value.push(val.YSDSK)//应代收款 | 248 | h1.value.push(val.YSDSK)//应代收款 |
| 249 | h2.value.push(val.SFDDQ)//收费单待签 | 249 | h2.value.push(val.SFDDQ)//收费单待签 | ... | ... |
-
Please register or sign in to post a comment