update: 大屏接口
This commit is contained in:
@@ -12,11 +12,11 @@
|
|||||||
<OneL @handle-click="handleOneLeftClick" :center-id="centerId" :bKey="`one-l-${count}`" />
|
<OneL @handle-click="handleOneLeftClick" :center-id="centerId" :bKey="`one-l-${count}`" />
|
||||||
</div>
|
</div>
|
||||||
<div class="sun-body-left-two">
|
<div class="sun-body-left-two">
|
||||||
<twoL @handle-view="handleTwoLClick" :bKey="`two-l-${count}`" />
|
<twoL @handle-view="handleTwoLClick" :center-id="centerId" :bKey="`two-l-${count}`" />
|
||||||
</div>
|
</div>
|
||||||
<div class="sun-body-left-three" style="margin-bottom: 0">
|
<div class="sun-body-left-three" style="margin-bottom: 0">
|
||||||
<!-- <threeL />-->
|
<!-- <threeL />-->
|
||||||
<threeNewL :bKey="`three-l-${count}`" />
|
<threeNewL :bKey="`three-l-${count}`" :center-id="centerId" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="sun-body-center">
|
<div class="sun-body-center">
|
||||||
@@ -46,10 +46,10 @@
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div class="sun-body-right-two">
|
<div class="sun-body-right-two">
|
||||||
<twoR @handle-click="handleTwoRClick" :bKey="`two-r-${count}`" />
|
<twoR @handle-click="handleTwoRClick" :center-id="centerId" :bKey="`two-r-${count}`" />
|
||||||
</div>
|
</div>
|
||||||
<div class="sun-body-right-three">
|
<div class="sun-body-right-three">
|
||||||
<threeR @handle-click="handleThreeRClick" :bKey="`three-r-${count}`" />
|
<threeR @handle-click="handleThreeRClick" :center-id="centerId" :bKey="`three-r-${count}`" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -41,6 +41,10 @@
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: () => 0,
|
default: () => 0,
|
||||||
},
|
},
|
||||||
|
centerId: {
|
||||||
|
type: String,
|
||||||
|
default: () => '',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
@@ -51,7 +55,7 @@
|
|||||||
getList();
|
getList();
|
||||||
});
|
});
|
||||||
function getList() {
|
function getList() {
|
||||||
threeLApi({})
|
threeLApi({ centerId: props.centerId })
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
console.log(res.result);
|
console.log(res.result);
|
||||||
|
|||||||
@@ -54,6 +54,10 @@
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: () => 0,
|
default: () => 0,
|
||||||
},
|
},
|
||||||
|
centerId: {
|
||||||
|
type: String,
|
||||||
|
default: () => '',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
watch(props, () => {
|
watch(props, () => {
|
||||||
@@ -65,7 +69,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
function getList() {
|
function getList() {
|
||||||
threeRApi({})
|
threeRApi({ centerId: props.centerId })
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
scrollList.value = res.result;
|
scrollList.value = res.result;
|
||||||
|
|||||||
@@ -49,6 +49,10 @@
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: () => 0,
|
default: () => 0,
|
||||||
},
|
},
|
||||||
|
centerId: {
|
||||||
|
type: String,
|
||||||
|
default: () => '',
|
||||||
|
},
|
||||||
});
|
});
|
||||||
const chooseType = ref('0');
|
const chooseType = ref('0');
|
||||||
const selectValue = ref('');
|
const selectValue = ref('');
|
||||||
@@ -96,6 +100,7 @@
|
|||||||
twoLApi({
|
twoLApi({
|
||||||
sex: chooseType.value,
|
sex: chooseType.value,
|
||||||
depart: selectValue.value,
|
depart: selectValue.value,
|
||||||
|
centerId: props.centerId,
|
||||||
})
|
})
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
|
|||||||
@@ -136,6 +136,9 @@
|
|||||||
type: Number,
|
type: Number,
|
||||||
default: () => 0,
|
default: () => 0,
|
||||||
},
|
},
|
||||||
|
centerId: {
|
||||||
|
type: String,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
@@ -147,7 +150,7 @@
|
|||||||
});
|
});
|
||||||
|
|
||||||
function getList() {
|
function getList() {
|
||||||
twoRApi({})
|
twoRApi({ centerId: props.centerId })
|
||||||
.then((res: any) => {
|
.then((res: any) => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
localStorage.removeItem('twoRList');
|
localStorage.removeItem('twoRList');
|
||||||
|
|||||||
Reference in New Issue
Block a user