f75319fe by zhangmeng

看板

1 parent 11c87527
......@@ -5,7 +5,7 @@
<left-page/>
</el-col>
<el-col v-if="type=='是'" :span="8">
<center-page/>
<center-page :type="type=='是'"/>
</el-col>
<el-col :span="type=='是'?8:12">
<right-page/>
......@@ -22,8 +22,9 @@ import RightPage from "@/viewsPc/vip/rightPage"
import {getYS000} from '@/api/server.js'
import {ref} from 'vue'
const type = ref('')
const type = ref('')
// url.value = window.location.host + '/pc.html#/match/list/'
handelGetYS000()
async function handelGetYS000() {
......
......@@ -98,6 +98,13 @@ import {onMounted, ref} from 'vue'
import {dayjs} from 'element-plus'
import {getYS001, getYS002, getYS003, getYS004, getYS005} from '@/api/server.js'
const props = defineProps({
type: {
type: Boolean,
default: false
},
})
const zhuRef1 = ref(null)
const zhuRef2 = ref(null)
const zhuRef3 = ref(null)
......@@ -133,8 +140,12 @@ let total = 0
let intervalA = null
onMounted(() => {
init()
window.addEventListener('resize', handleResize);
debugger
if (props.type) {
init()
window.addEventListener('resize', handleResize);
}
// handelBing1()
// handelZhu1()
// handelGetYS001()
......@@ -148,7 +159,6 @@ onMounted(() => {
// handelZhu3()
// handelZhu4()
})
const init = () => {
......
......@@ -50,7 +50,7 @@
size="small"
@change="handelSelect3">
<el-option label="全部" value="0"/>
<el-option v-for="val in list" :key="val.BASE" :label="val.BASE" :value="val.BASE"/>
<el-option v-for="val in list" :key="val.BASEJC" :label="val.BASEJC" :value="val.BASEJC"/>
</el-select>
</div>
</div>
......@@ -243,7 +243,7 @@ function handelSelect3() {
} else {
// 找到对应的数据
let obj = list.value.find(item => item.BASE === type3.value)
let obj = list.value.find(item => item.BASEJC === type3.value)
for (const val of obj.list) {
h1.value.push(val.YSDSK)//应代收款
h2.value.push(val.SFDDQ)//收费单待签
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!