This commit is contained in:
parent
d3a5bf2a60
commit
cd77c72bf4
|
@ -632,6 +632,7 @@ const getTrain = () => {
|
||||||
if (res.code == 200) {
|
if (res.code == 200) {
|
||||||
tableType.data = res.data;
|
tableType.data = res.data;
|
||||||
pagination.total = res.count;
|
pagination.total = res.count;
|
||||||
|
jypxList[0].value = res.count;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
@ -675,7 +676,7 @@ const chooseXX = (name) => {
|
||||||
const jypxList = reactive([
|
const jypxList = reactive([
|
||||||
{
|
{
|
||||||
name: "培训人次",
|
name: "培训人次",
|
||||||
value: "5000",
|
value: "0",
|
||||||
img: jypx1,
|
img: jypx1,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -963,12 +964,13 @@ const getData = async () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
// tools.data.set("token", "6b0e380b4a8f46baae4923f83faf670d");
|
||||||
startAutoSwitching();
|
startAutoSwitching();
|
||||||
});
|
});
|
||||||
|
|
||||||
onBeforeMount(async () => {
|
onBeforeMount(async () => {
|
||||||
getData();
|
getData();
|
||||||
|
getTrain();
|
||||||
});
|
});
|
||||||
|
|
||||||
onBeforeUnmount(() => {
|
onBeforeUnmount(() => {
|
||||||
|
|
|
@ -15,8 +15,8 @@ export default defineConfig({
|
||||||
// 第一个代理
|
// 第一个代理
|
||||||
"/api": {
|
"/api": {
|
||||||
// 匹配到啥来进行方向代理
|
// 匹配到啥来进行方向代理
|
||||||
// target: "http://10.0.0.65:8095/", //刘进
|
target: "http://10.0.0.65:8095/", //刘进
|
||||||
target: "http://220.191.238.50:996/", //线上
|
// target: "http://220.191.238.50:996/", //线上
|
||||||
changeOrigin: true, //是否支持跨域
|
changeOrigin: true, //是否支持跨域
|
||||||
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
//rewrite: (path) => path.replace(/^\/api/, '') // 如果不需要api 直接把路径上的api 替换成空,这个
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue