稳定输出 无地图

zsk_admin
zsk 6 months ago
parent 10115a8bd4
commit 594641bcf3

@ -43,7 +43,7 @@
<div class="g_w_40" style="cursor: default">{{ record.rank }}</div>
</template>
<template v-if="column.key === 'icon'">
<img class="g_w_40" :src="record.icon" style="height: auto" alt="" />
<img class="g_w_80" :src="record.icon" style="height: auto" alt="" />
</template>
<template v-if="column.key === 'status'">
<a-switch @change="(e) => handleRecommend(e, record)" v-model:checked="record.status" checked-children="" un-checked-children="" />
@ -420,9 +420,9 @@ const sourceMock = ref([
},
]);
const tableHeight = ref(590);
const tableHeight = ref(552);
commonJS.gResize(() => {
tableHeight.value = window.innerHeight - 313;
tableHeight.value = window.innerHeight - 381;
});
const handleChange = (e) => {
console.log("改变:", e);

@ -139,10 +139,10 @@
</template>
<script setup>
import { ref, reactive, onMounted, watch } from "vue";
import { ref, reactive, onMounted, watch, getCurrentInstance } from "vue";
import { message } from "ant-design-vue";
import { getBusinessCoopList, addAgency, getTemplateList, getChannelUserList } from "@/api/bussinessCoop";
const commonJS = getCurrentInstance().appContext.app.config.globalProperties.G;
// State
const searchKeyword = ref("");
const loading = ref(false);
@ -198,8 +198,8 @@ const formState = reactive({
channelItemType: "2",
classify: "1",
pmdUserId: null,
consultUserIds: ['315767'],
channelExpansiontId: '315986',
consultUserIds: ["315767"],
channelExpansiontId: "315986",
address: "",
lngLatStr: "",
updateContactTime: 0,
@ -308,7 +308,12 @@ const fetchBusinessCoopList = async () => {
if (response.status == 200) {
// const { recordList, recordCount } = response.data.pageBean;
businessCoopList.value = response.data.recordList;
// businessCoopList.value = response.data.recordList;
const formatList = response.data.recordList.map((item) => ({
...item,
createTime: commonJS.getPointTime(item.createTime, "YY--MM--DD HH:MM"),
}));
businessCoopList.value = formatList;
pagination.total = response.data.recordCount;
}
} catch (error) {
@ -351,8 +356,8 @@ const entryClickExamine = async () => {
};
entryShowExamineLoading.value = true;
try {
await addAgency(formState);
// await addAgency(submitData);
// await addAgency(formState);
await addAgency(submitData);
message.success("审核提交成功");
entryShowExamine.value = false;
fetchBusinessCoopList();

@ -181,7 +181,7 @@ const dataObj = reactive({
host: "",
});
const tableHeight = ref(590);
const tableHeight = ref(552);
commonJS.gResize(() => {
tableHeight.value = window.innerHeight - 381;
});

@ -69,13 +69,14 @@ const getInit = ($data) => {
document.title = title.value
pageHeight.value = window.innerHeight - 56
console.log('路由信息:', $data, ' pageName', pageName.value)
if (pageName.value == 'townsmanList' || pageName.value == 'notes' || pageName.value == 'jobList' || pageName.value == 'memberInfo' || pageName.value == 'dataStatistics' || pageName.value == 'orderList' || pageName.value == 'mineBill' || pageName.value == 'billDetail' || pageName.value == 'serviceMarket' || pageName.value == 'upstream' || pageName.value == 'downstream' || pageName.value == 'downstreamDetail' || pageName.value == 'upstreamDetail'|| pageName.value == 'downOrderList'|| pageName.value == 'upOrderList'|| pageName.value == 'jobDetail'|| pageName.value == 'merchantBackHomePage') {
// footer
isShowFooter.value = false
} else {
// footer
// if (pageName.value == 'townsmanList' || pageName.value == 'notes' || pageName.value == 'jobList' || pageName.value == 'memberInfo' || pageName.value == 'dataStatistics' || pageName.value == 'orderList' || pageName.value == 'mineBill' || pageName.value == 'billDetail' || pageName.value == 'serviceMarket' || pageName.value == 'upstream' || pageName.value == 'downstream' || pageName.value == 'downstreamDetail' || pageName.value == 'upstreamDetail'|| pageName.value == 'downOrderList'|| pageName.value == 'upOrderList'|| pageName.value == 'jobDetail'|| pageName.value == 'merchantBackHomePage') {
// // footer
// isShowFooter.value = false
// } else {
// // footer
// isShowFooter.value = true
// }
isShowFooter.value = true
}
window.onresize = () => {
pageHeight.value = window.innerHeight - 56
}

Loading…
Cancel
Save