update: 大屏接口
This commit is contained in:
@@ -41,6 +41,10 @@
|
||||
type: Number,
|
||||
default: () => 0,
|
||||
},
|
||||
centerId: {
|
||||
type: String,
|
||||
default: () => '',
|
||||
},
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
@@ -51,7 +55,7 @@
|
||||
getList();
|
||||
});
|
||||
function getList() {
|
||||
threeLApi({})
|
||||
threeLApi({ centerId: props.centerId })
|
||||
.then((res: any) => {
|
||||
if (res.code == 200) {
|
||||
console.log(res.result);
|
||||
|
||||
@@ -54,6 +54,10 @@
|
||||
type: Number,
|
||||
default: () => 0,
|
||||
},
|
||||
centerId: {
|
||||
type: String,
|
||||
default: () => '',
|
||||
},
|
||||
});
|
||||
|
||||
watch(props, () => {
|
||||
@@ -65,7 +69,7 @@
|
||||
});
|
||||
|
||||
function getList() {
|
||||
threeRApi({})
|
||||
threeRApi({ centerId: props.centerId })
|
||||
.then((res: any) => {
|
||||
if (res.code == 200) {
|
||||
scrollList.value = res.result;
|
||||
|
||||
@@ -49,6 +49,10 @@
|
||||
type: Number,
|
||||
default: () => 0,
|
||||
},
|
||||
centerId: {
|
||||
type: String,
|
||||
default: () => '',
|
||||
},
|
||||
});
|
||||
const chooseType = ref('0');
|
||||
const selectValue = ref('');
|
||||
@@ -96,6 +100,7 @@
|
||||
twoLApi({
|
||||
sex: chooseType.value,
|
||||
depart: selectValue.value,
|
||||
centerId: props.centerId,
|
||||
})
|
||||
.then((res: any) => {
|
||||
if (res.code == 200) {
|
||||
|
||||
@@ -136,6 +136,9 @@
|
||||
type: Number,
|
||||
default: () => 0,
|
||||
},
|
||||
centerId: {
|
||||
type: String,
|
||||
},
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
@@ -147,7 +150,7 @@
|
||||
});
|
||||
|
||||
function getList() {
|
||||
twoRApi({})
|
||||
twoRApi({ centerId: props.centerId })
|
||||
.then((res: any) => {
|
||||
if (res.code == 200) {
|
||||
localStorage.removeItem('twoRList');
|
||||
|
||||
Reference in New Issue
Block a user