From 99307a0e70d96992d211f8864574ffb38fda5b6a Mon Sep 17 00:00:00 2001
From: CD配唱片 <CD配唱片>
Date: 星期日, 27 四月 2025 09:57:51 +0800
Subject: [PATCH] 提交拆分负载统计页面
---
.env.development | 2
src/views/mainPlan/pipeProduceStatics/index.vue | 411 ++++++++++++++++++++++++++++++++++
vite.config.js | 2
src/views/mainPlan/gasProduceStatics/index.vue | 263 ++-------------------
4 files changed, 438 insertions(+), 240 deletions(-)
diff --git a/.env.development b/.env.development
index 605a602..a4a0a7d 100644
--- a/.env.development
+++ b/.env.development
@@ -10,4 +10,4 @@
# 閰嶅悎鍚庣鏈嶅姟
# VITE_APP_LOCAL = 'int'
# VITE_APP_LOCAL = 'zhl'
-VITE_APP_LOCAL = 'hjy'
\ No newline at end of file
+VITE_APP_LOCAL = 'cxl'
\ No newline at end of file
diff --git a/src/views/mainPlan/gasProduceStatics/index.vue b/src/views/mainPlan/gasProduceStatics/index.vue
index e538368..bf51924 100644
--- a/src/views/mainPlan/gasProduceStatics/index.vue
+++ b/src/views/mainPlan/gasProduceStatics/index.vue
@@ -72,51 +72,9 @@
>鏇存柊</el-button
>
</el-col>
- <right-toolbar @queryTable="getList" :search="false"></right-toolbar>
+ <right-toolbar @queryTable="handleQuery" :search="false"></right-toolbar>
</el-row>
- <div class="box_container">
- <div class="title_text">绠¤矾瑙勫垝浜ц兘璐熻浇缁熻</div>
- <div class="tabel_container">
- <vxe-grid
- ref="gridRef"
- v-bind="gridOptions"
- :loading="loading"
- ></vxe-grid>
- </div>
- </div>
- <el-row :gutter="10" class="mb8">
- <el-col :span="1.5">
- <el-button
- type="warning"
- plain
- icon="Download"
- @click="handleExport2"
- v-hasPermi="['apsPartRouteStat:export']"
- >瀵煎嚭</el-button
- >
- </el-col>
- <el-col :span="1.5">
- <el-button
- type="info"
- plain
- icon="Refresh"
- @click="handleRefresh2"
- v-hasPermi="['apsPartRouteStat:edit']"
- >鏇存柊</el-button
- >
- </el-col>
- <right-toolbar @queryTable="getList" :search="false"></right-toolbar>
- </el-row>
- <div class="box_container">
- <div class="title_text">姘旀煖瑙勫垝浜ц兘璐熻浇缁熻</div>
- <div class="tabel_container">
- <vxe-grid
- ref="gridRef2"
- v-bind="gridOptions"
- :loading="loading"
- ></vxe-grid>
- </div>
- </div>
+ <vxe-grid ref="gridRef" v-bind="gridOptions" :loading="loading"></vxe-grid>
</div>
</template>
@@ -132,8 +90,7 @@
const loading = ref(false);
const gridRef = ref();
-const gridRef2 = ref();
-const height = ref(document.documentElement.clientHeight - 400 + "px;");
+const height = ref(document.documentElement.clientHeight - 180 + "px;");
const headers = ref([]);
const exportData = ref([]);
const showSearch = ref(true);
@@ -184,7 +141,6 @@
let merges = [];
function handleChangeSelectType(e) {
searchTypeValue.value = e;
- console.log(e, searchTypeValue.value, "sjcsuhcushc");
if (e === "day") {
dayCom.value = true;
} else {
@@ -214,8 +170,7 @@
eYearMonth: `${eYear}-${eMonth.toString().padStart(2, "0")}`,
};
}
-/** 鏌ヨ闆朵欢缁熻琛ㄥ垪琛� */
-function getPipeList() {
+function getGasList() {
let rowKey = 0;
let colKey = 0;
headers.value = [];
@@ -231,9 +186,8 @@
? dateRangeStr(queryParams.value.monthRange).eYearMonth
: dateStr(queryParams.value.monthDays),
searchType: searchTypeValue.value,
- major: "piping",
+ major: "gas",
}).then((response) => {
- console.log(response.data.planTable, "responseresponseresponse");
const colList = [];
let headersOne = [];
let headersTwo = [];
@@ -342,154 +296,6 @@
}
});
}
-function getGasList() {
- let rowKey = 0;
- let colKey = 0;
- headers.value = [];
- exportData.value = [];
- tableColumn = [];
- tableData = [];
- loading.value = true;
- listGasProduceStatics({
- searchStartDate: !dayCom.value
- ? dateRangeStr(queryParams.value.monthRange).sYearMonth
- : dateStr(queryParams.value.monthDays),
- searchEndDate: !dayCom.value
- ? dateRangeStr(queryParams.value.monthRange).eYearMonth
- : dateStr(queryParams.value.monthDays),
- searchType: searchTypeValue.value,
- major: "gas",
- }).then((response) => {
- console.log(response.data.planTable, "responseresponseresponse");
- const colList = [];
- let headersOne = [];
- let headersTwo = [];
- if (response.code == "200") {
- if (!response.data.planTitle) {
- loading.value = false;
- return;
- }
- headersOne.push("鏃ユ湡");
- headersTwo.push("宸ュ簭鍚嶇О");
- colList.push({
- field: "dateCol",
- title: "鏃ユ湡",
- fixed: "left",
- children: [
- {
- field: `resourceName`,
- title: "宸ュ簭鍚嶇О",
- width: 250,
- type: "html",
- },
- ],
- width: 160,
- });
- response.data.planTitle.forEach((item) => {
- headersOne.push(item);
- headersOne.push("");
- headersOne.push("");
- headersTwo.push("璁捐浜ц兘");
- headersTwo.push("闇�姹備骇鑳�");
- headersTwo.push("浜ц兘璐熻浇");
- colKey++;
- colList.push({
- field: `dateColTime${colKey}`,
- title: item,
- children: [
- { field: `designTimes${colKey}`, title: "璁捐浜ц兘", width: 80 },
- { field: `requireTimes${colKey}`, title: "闇�姹備骇鑳�", width: 80 },
- {
- field: `capacityLoad${colKey}`,
- title: "浜ц兘璐熻浇",
- width: 80,
- type: "html",
- },
- ],
- width: 160,
- });
- });
-
- headers.value.push(headersOne);
- headers.value.push(headersTwo);
-
- const columnList = [...tableColumn, ...colList];
- const dataList = [];
- let startCol = 1;
-
- //鑾峰彇map
- response.data.planTable.map((mapItem) => {
- rowKey++;
- let lastCol = startCol + 2;
- merges.push({ s: { r: 0, c: startCol }, e: { r: 0, c: lastCol } });
- startCol = lastCol + 1;
- let data = [];
- const item = {
- id: `${rowKey}`,
- };
- for (const [key, listValue] of Object.entries(mapItem)) {
- data.push(key);
-
- let tableKey = 0;
- let flag = false;
- listValue.forEach((listItem) => {
- tableKey++;
- item[`designTimes${tableKey}`] = listItem.designTimes;
- item[`requireTimes${tableKey}`] = listItem.requireTimes;
- item[`capacityLoad${tableKey}`] =
- listItem.capacityLoad > 100
- ? `<font color="red">${listItem.capacityLoad}%</font>`
- : listItem.capacityLoad + "%";
- data.push(listItem.designTimes);
- data.push(listItem.requireTimes);
- data.push(listItem.capacityLoad + "%");
- if (listItem.capacityLoad > 100) {
- flag = true;
- }
- });
-
- item[`resourceName`] = flag
- ? `<div class='el-badge'><sup class="el-badge__content is-fixed is-dot"></sup>${key}</div>`
- : key;
- }
- exportData.value.push(data);
- dataList.push(item);
- });
-
- const $grid = gridRef2.value;
- if ($grid) {
- tableColumn = columnList;
- tableData = [...tableData, ...dataList];
- $grid.loadColumn(tableColumn);
- $grid.loadData(tableData);
- gridOptions.loading = false;
- }
-
- loading.value = false;
- }
- });
-}
-function formatDate() {
- let sYearMonth = "";
- let eYearMonth = "";
- // let type = "";
- // options.map((item) => {
- // if (queryParams.value.searchType === item.label) {
- // type = item.value;
- // }
- // });
- // 鍒涘缓涓�涓狣ate瀵硅薄
- let sDate = new Date(queryParams.value.monthRange[0]);
- let eDate = new Date(queryParams.value.monthRange[1]);
- // 鑾峰彇骞翠唤鍜屾湀浠�
- let sYear = sDate.getFullYear();
- let sMonth = sDate.getMonth() + 1; // 鏈堜唤鏄粠0寮�濮嬬殑锛屾墍浠ヨ鍔�1
- let eYear = eDate.getFullYear();
- let eMonth = eDate.getMonth() + 1; // 鏈堜唤鏄粠0寮�濮嬬殑锛屾墍浠ヨ鍔�1
- // 鏍煎紡鍖栦负"YYYY-MM"鐨勫舰寮�
- sYearMonth = `${sYear}-${sMonth.toString().padStart(2, "0")}`;
- eYearMonth = `${eYear}-${eMonth.toString().padStart(2, "0")}`;
-}
/** 瀵煎嚭鎸夐挳鎿嶄綔 */
function handleExport() {
if (
@@ -512,33 +318,6 @@
? dateRangeStr(queryParams.value.monthRange).eYearMonth
: dateStr(queryParams.value.monthDays),
searchType: searchTypeValue.value,
- major: "piping",
- },
- `aps_gas_produce_statics_${new Date().getTime()}.xlsx`
- );
-}
-/** 瀵煎嚭鎸夐挳鎿嶄綔 */
-function handleExport2() {
- if (
- (!queryParams.value.monthRange && dayCom.value == false) ||
- (!queryParams.value.monthDays && dayCom.value == true)
- ) {
- ElMessage({
- message: "璇烽�夋嫨骞存湀",
- type: "error",
- });
- return;
- }
- proxy.download(
- "/aps/apsGasPipingRouteStat/exportExcel",
- {
- searchStartDate: !dayCom.value
- ? dateRangeStr(queryParams.value.monthRange).sYearMonth
- : dateStr(queryParams.value.monthDays),
- searchEndDate: !dayCom.value
- ? dateRangeStr(queryParams.value.monthRange).eYearMonth
- : dateStr(queryParams.value.monthDays),
- searchType: searchTypeValue.value,
major: "gas",
},
`aps_gas_produce_statics_${new Date().getTime()}.xlsx`
@@ -557,7 +336,6 @@
return;
}
// queryParams.value.pageNum = 1;
- getPipeList();
getGasList();
}
@@ -570,25 +348,34 @@
(searchTypeValue.value = "month");
tableData = [];
const $grid = gridRef.value;
- const $grid2 = gridRef2.value;
if ($grid) {
$grid.loadColumn([]);
$grid.loadData([]);
gridOptions.loading = false;
}
- if ($grid2) {
- $grid2.loadColumn([]);
- $grid2.loadData([]);
- gridOptions.loading = false;
- }
}
/** 鍒锋柊鎸夐挳鎿嶄綔 */
function handleRefresh() {
- updateStat().then((response) => {
- if (response.code == "200") {
- getPipeList();
- getGasList();
- }
+ if (
+ (!queryParams.value.monthRange && dayCom.value == false) ||
+ (!queryParams.value.monthDays && dayCom.value == true)
+ ) {
+ ElMessage({
+ message: "璇烽�夋嫨骞存湀",
+ type: "error",
+ });
+ return;
+ }
+ loading.value = true;
+ listUpdateGasProduceStatics({
+ major: "gas",
+ }).then((response) => {
+ ElMessage({
+ message: "鏁版嵁鏇存柊鎴愬姛",
+ type: "success",
+ });
+ loading.value = false;
+ getGasList();
});
}
diff --git a/src/views/mainPlan/pipeProduceStatics/index.vue b/src/views/mainPlan/pipeProduceStatics/index.vue
new file mode 100644
index 0000000..5cb7a5b
--- /dev/null
+++ b/src/views/mainPlan/pipeProduceStatics/index.vue
@@ -0,0 +1,411 @@
+<template>
+ <div class="app-container">
+ <el-form
+ class="responsive-form"
+ :model="queryParams"
+ ref="queryRef"
+ :inline="true"
+ v-show="showSearch"
+ label-width="68px"
+ >
+ <el-row type="flex" justify="left">
+ <el-form-item label="缁熻鏂瑰紡">
+ <el-select
+ v-model="queryParams.searchType"
+ style="width: 200px"
+ placeholder="Select"
+ @change="handleChangeSelectType"
+ >
+ <el-option
+ v-for="item in options"
+ :key="item.value"
+ :label="item.label"
+ :value="item.value"
+ />
+ </el-select>
+ </el-form-item>
+ <el-form-item label="閫夋嫨鍖洪棿">
+ <div v-if="!dayCom">
+ <el-date-picker
+ v-model="queryParams.monthRange"
+ type="monthrange"
+ range-separator="鑷�"
+ start-placeholder="閫夋嫨寮�濮嬫湀浠�"
+ end-placeholder="閫夋嫨缁撴潫鏈堜唤"
+ />
+ </div>
+ <div v-else>
+ <el-date-picker
+ v-model="queryParams.monthDays"
+ type="month"
+ placeholder="閫夋嫨鏈堜唤"
+ />
+ </div>
+ </el-form-item>
+
+ <el-form-item class="column-with-margin">
+ <el-button type="primary" icon="Search" @click="handleQuery"
+ >鏌ヨ</el-button
+ >
+ <el-button icon="Refresh" @click="resetQuery">閲嶇疆</el-button>
+ </el-form-item>
+ </el-row>
+ </el-form>
+ <el-row :gutter="10" class="mb8">
+ <el-col :span="1.5">
+ <el-button
+ type="warning"
+ plain
+ icon="Download"
+ @click="handleExport"
+ v-hasPermi="['apsPartRouteStat:export']"
+ >瀵煎嚭</el-button
+ >
+ </el-col>
+ <el-col :span="1.5">
+ <el-button
+ type="info"
+ plain
+ icon="Refresh"
+ @click="handleRefresh"
+ v-hasPermi="['apsPartRouteStat:edit']"
+ >鏇存柊</el-button
+ >
+ </el-col>
+ <right-toolbar @queryTable="handleQuery" :search="false"></right-toolbar>
+ </el-row>
+ <!-- <div class="box_container"> -->
+ <!-- <div class="title_text">绠¤矾瑙勫垝浜ц兘璐熻浇缁熻</div> -->
+ <!-- <div class="tabel_container"> -->
+ <vxe-grid
+ ref="gridRef"
+ v-bind="gridOptions"
+ :loading="loading"
+ ></vxe-grid>
+ <!-- </div> -->
+ <!-- </div> -->
+ </div>
+</template>
+
+<script setup name="gasProduceStatics">
+import {
+ listUpdateGasProduceStatics,
+ listGasProduceStatics,
+} from "@/api/mainPlan/gasProduceStatics.js";
+import { ref } from "vue";
+import * as XLSX from "xlsx";
+import { ElMessage } from "element-plus";
+const { proxy } = getCurrentInstance();
+
+const loading = ref(false);
+const gridRef = ref();
+const height = ref(document.documentElement.clientHeight - 180 + "px;");
+const headers = ref([]);
+const exportData = ref([]);
+const showSearch = ref(true);
+const data = reactive({
+ queryParams: {
+ monthRange: "",
+ monthDays: "",
+ searchType: "鎸夋湀缁熻",
+ },
+});
+let searchTypeValue = ref("month");
+const options = [
+ {
+ value: "month",
+ label: "鎸夋湀缁熻",
+ },
+ {
+ value: "day",
+ label: "鎸夋棩缁熻",
+ },
+];
+const { queryParams } = toRefs(data);
+const gridOptions = reactive({
+ border: true,
+ stripe: true,
+ loading: false,
+ showOverflow: true,
+ eaderOverflow: true,
+ showFooterOverflow: true,
+ height: height,
+ columnConfig: {
+ resizable: true,
+ },
+ scrollX: {
+ enabled: true,
+ gt: 0,
+ threshold: 50,
+ },
+ scrollY: {
+ enabled: true,
+ gt: 0,
+ threshold: 50,
+ },
+});
+const dayCom = ref(false);
+let tableColumn = [];
+let tableData = [];
+let merges = [];
+function handleChangeSelectType(e) {
+ searchTypeValue.value = e;
+ if (e === "day") {
+ dayCom.value = true;
+ } else {
+ dayCom.value = false;
+ }
+}
+function dateStr(dateTimeString) {
+ const dateTime = new Date(dateTimeString);
+ // 鎻愬彇骞翠唤鍜屾湀浠�
+ const year = dateTime.getFullYear();
+ const month = String(dateTime.getMonth() + 1).padStart(2, "0"); // 鏈堜唤浠�0寮�濮嬶紝鎵�浠ラ渶瑕佸姞1锛屽苟鐢╬adStart琛ラ浂
+ // 鏍煎紡鍖栧勾浠藉拰鏈堜唤涓� "yyyy-mm" 鏍煎紡鐨勫瓧绗︿覆
+ return `${year}-${month}`;
+}
+function dateRangeStr(monthRange) {
+ // 鍒涘缓涓�涓狣ate瀵硅薄
+ let sDate = new Date(monthRange[0]);
+ let eDate = new Date(monthRange[1]);
+ // 鑾峰彇骞翠唤鍜屾湀浠�
+ let sYear = sDate.getFullYear();
+ let sMonth = sDate.getMonth() + 1; // 鏈堜唤鏄粠0寮�濮嬬殑锛屾墍浠ヨ鍔�1
+ let eYear = eDate.getFullYear();
+ let eMonth = eDate.getMonth() + 1; // 鏈堜唤鏄粠0寮�濮嬬殑锛屾墍浠ヨ鍔�1
+ // 鏍煎紡鍖栦负"YYYY-MM"鐨勫舰寮�
+ return {
+ sYearMonth: `${sYear}-${sMonth.toString().padStart(2, "0")}`,
+ eYearMonth: `${eYear}-${eMonth.toString().padStart(2, "0")}`,
+ };
+}
+/** 鏌ヨ闆朵欢缁熻琛ㄥ垪琛� */
+function getPipeList() {
+ let rowKey = 0;
+ let colKey = 0;
+ headers.value = [];
+ exportData.value = [];
+ tableColumn = [];
+ tableData = [];
+ loading.value = true;
+ listGasProduceStatics({
+ searchStartDate: !dayCom.value
+ ? dateRangeStr(queryParams.value.monthRange).sYearMonth
+ : dateStr(queryParams.value.monthDays),
+ searchEndDate: !dayCom.value
+ ? dateRangeStr(queryParams.value.monthRange).eYearMonth
+ : dateStr(queryParams.value.monthDays),
+ searchType: searchTypeValue.value,
+ major: "piping",
+ }).then((response) => {
+ console.log(response.data.planTable, "responseresponseresponse");
+ const colList = [];
+ let headersOne = [];
+ let headersTwo = [];
+ if (response.code == "200") {
+ if (!response.data.planTitle) {
+ loading.value = false;
+ return;
+ }
+ headersOne.push("鏃ユ湡");
+ headersTwo.push("宸ュ簭鍚嶇О");
+ colList.push({
+ field: "dateCol",
+ title: "鏃ユ湡",
+ fixed: "left",
+ children: [
+ {
+ field: `resourceName`,
+ title: "宸ュ簭鍚嶇О",
+ width: 250,
+ type: "html",
+ },
+ ],
+ width: 160,
+ });
+ response.data.planTitle.forEach((item) => {
+ headersOne.push(item);
+ headersOne.push("");
+ headersOne.push("");
+ headersTwo.push("璁捐浜ц兘");
+ headersTwo.push("闇�姹備骇鑳�");
+ headersTwo.push("浜ц兘璐熻浇");
+ colKey++;
+ colList.push({
+ field: `dateColTime${colKey}`,
+ title: item,
+ children: [
+ { field: `designTimes${colKey}`, title: "璁捐浜ц兘", width: 80 },
+ { field: `requireTimes${colKey}`, title: "闇�姹備骇鑳�", width: 80 },
+ {
+ field: `capacityLoad${colKey}`,
+ title: "浜ц兘璐熻浇",
+ width: 80,
+ type: "html",
+ },
+ ],
+ width: 160,
+ });
+ });
+
+ headers.value.push(headersOne);
+ headers.value.push(headersTwo);
+
+ const columnList = [...tableColumn, ...colList];
+ const dataList = [];
+ let startCol = 1;
+
+ //鑾峰彇map
+ response.data.planTable.map((mapItem) => {
+ rowKey++;
+ let lastCol = startCol + 2;
+ merges.push({ s: { r: 0, c: startCol }, e: { r: 0, c: lastCol } });
+ startCol = lastCol + 1;
+ let data = [];
+ const item = {
+ id: `${rowKey}`,
+ };
+ for (const [key, listValue] of Object.entries(mapItem)) {
+ data.push(key);
+
+ let tableKey = 0;
+ let flag = false;
+ listValue.forEach((listItem) => {
+ tableKey++;
+ item[`designTimes${tableKey}`] = listItem.designTimes;
+ item[`requireTimes${tableKey}`] = listItem.requireTimes;
+ item[`capacityLoad${tableKey}`] =
+ listItem.capacityLoad > 100
+ ? `<font color="red">${listItem.capacityLoad}%</font>`
+ : listItem.capacityLoad + "%";
+ data.push(listItem.designTimes);
+ data.push(listItem.requireTimes);
+ data.push(listItem.capacityLoad + "%");
+ if (listItem.capacityLoad > 100) {
+ flag = true;
+ }
+ });
+
+ item[`resourceName`] = flag
+ ? `<div class='el-badge'><sup class="el-badge__content is-fixed is-dot"></sup>${key}</div>`
+ : key;
+ }
+ exportData.value.push(data);
+ dataList.push(item);
+ });
+
+ const $grid = gridRef.value;
+ if ($grid) {
+ tableColumn = columnList;
+ tableData = [...tableData, ...dataList];
+ $grid.loadColumn(tableColumn);
+ $grid.loadData(tableData);
+ gridOptions.loading = false;
+ }
+
+ loading.value = false;
+ }
+ });
+}
+/** 瀵煎嚭鎸夐挳鎿嶄綔 */
+function handleExport() {
+ if (
+ (!queryParams.value.monthRange && dayCom.value == false) ||
+ (!queryParams.value.monthDays && dayCom.value == true)
+ ) {
+ ElMessage({
+ message: "璇烽�夋嫨骞存湀",
+ type: "error",
+ });
+ return;
+ }
+ proxy.download(
+ "/aps/apsGasPipingRouteStat/exportExcel",
+ {
+ searchStartDate: !dayCom.value
+ ? dateRangeStr(queryParams.value.monthRange).sYearMonth
+ : dateStr(queryParams.value.monthDays),
+ searchEndDate: !dayCom.value
+ ? dateRangeStr(queryParams.value.monthRange).eYearMonth
+ : dateStr(queryParams.value.monthDays),
+ searchType: searchTypeValue.value,
+ major: "piping",
+ },
+ `aps_gas_produce_statics_${new Date().getTime()}.xlsx`
+ );
+}
+/** 鎼滅储鎸夐挳鎿嶄綔 */
+function handleQuery() {
+ if (
+ (!queryParams.value.monthRange && dayCom.value == false) ||
+ (!queryParams.value.monthDays && dayCom.value == true)
+ ) {
+ ElMessage({
+ message: "璇烽�夋嫨骞存湀",
+ type: "error",
+ });
+ return;
+ }
+ // queryParams.value.pageNum = 1;
+ getPipeList();
+}
+
+/** 閲嶇疆鎸夐挳鎿嶄綔 */
+function resetQuery() {
+ queryParams.value.monthRange = "";
+ queryParams.value.monthDays = "";
+ dayCom.value = false;
+ (queryParams.value.searchType = "鎸夋湀缁熻"),
+ (searchTypeValue.value = "month");
+ tableData = [];
+ const $grid = gridRef.value;
+ if ($grid) {
+ $grid.loadColumn([]);
+ $grid.loadData([]);
+ gridOptions.loading = false;
+ }
+}
+/** 鍒锋柊鎸夐挳鎿嶄綔 */
+function handleRefresh() {
+ if (
+ (!queryParams.value.monthRange && dayCom.value == false) ||
+ (!queryParams.value.monthDays && dayCom.value == true)
+ ) {
+ ElMessage({
+ message: "璇烽�夋嫨骞存湀",
+ type: "error",
+ });
+ return;
+ }
+ loading.value = true;
+ listUpdateGasProduceStatics({
+ major: "piping",
+ }).then((response) => {
+ ElMessage({
+ message: "鏁版嵁鏇存柊鎴愬姛",
+ type: "success",
+ });
+ loading.value = false;
+ getPipeList();
+ });
+}
+
+// getList();
+</script>
+<style lang="scss" scoped>
+.box_container {
+ width: 100%;
+ margin: 20px auto;
+ background: #fff;
+ border-radius: 5px;
+ box-shadow: 1px 1px 1px 4px#f1f1f1;
+ .title_text {
+ padding-top: 20px;
+ margin-left: 20px;
+ }
+ .tabel_container {
+ width: 98%;
+ margin: 20px auto;
+ }
+}
+</style>
diff --git a/vite.config.js b/vite.config.js
index f0fe6e1..eb7c298 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -17,7 +17,7 @@
const proxyConfig = () => {
const personProxy = {
"/prod-api": {
- target: "http://192.168.50.160:8080",//"http://192.168.50.13:8080", // 寮�鍙戠幆澧冪殑鍚庣鍦板潃
+ target: "http://192.168.50.106:8080",//"http://192.168.50.13:8080", // 寮�鍙戠幆澧冪殑鍚庣鍦板潃
changeOrigin: true,
rewrite: (path) => path.replace(/^\/prod-api/, ""),
},
--
Gitblit v1.9.3