diff --git a/.env.development b/.env.development index fe20df3..21892b7 100644 --- a/.env.development +++ b/.env.development @@ -5,7 +5,7 @@ VITE_APP_TITLE = 新能源项目管理平台 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.110.159:8898' +VITE_APP_BASE_API = 'http://192.168.110.180:8898' # 无人机接口地址 diff --git a/src/permission.ts b/src/permission.ts index 34ca0f5..c919be5 100644 --- a/src/permission.ts +++ b/src/permission.ts @@ -18,8 +18,6 @@ const isWhiteList = (path: string) => { router.beforeEach(async (to, from, next) => { NProgress.start(); - console.log(to); - console.log(getToken()); if (to.path == '/indexEquipment') { next(); } else if (getToken()) { diff --git a/src/views/materials/orderEquipment/index.vue b/src/views/materials/orderEquipment/index.vue index 2443a82..9233d24 100644 --- a/src/views/materials/orderEquipment/index.vue +++ b/src/views/materials/orderEquipment/index.vue @@ -339,7 +339,6 @@ const onShare = () => { const TokenKey = 'Admin-Token'; const tokenStorage = useStorage(TokenKey, null); const getToken = () => tokenStorage.value; - console.log(getToken()); // 跳转新的地址 传token let url = `http://192.168.110.151:7788/indexEquipment?projectId=${encodeURIComponent(currentProject.value.id)}&token=${encodeURIComponent(getToken())}&batchNumber=${encodeURIComponent(form.value.batchNumber)}`; diff --git a/src/views/out/constructionValue/index.vue b/src/views/out/constructionValue/index.vue index fae29de..ca29361 100644 --- a/src/views/out/constructionValue/index.vue +++ b/src/views/out/constructionValue/index.vue @@ -22,19 +22,11 @@ 新增 - - 修改 - 删除 - - 导出 - @@ -75,7 +67,7 @@ - + - - + diff --git a/src/views/out/monthPlan/index.vue b/src/views/out/monthPlan/index.vue index 88a00d5..d27a848 100644 --- a/src/views/out/monthPlan/index.vue +++ b/src/views/out/monthPlan/index.vue @@ -4,9 +4,6 @@
- - - @@ -30,19 +27,11 @@ 新增 - - 修改 - 删除 - - 导出 - @@ -75,7 +64,7 @@ - + @@ -256,18 +245,6 @@ const handleAudit = async (row?: MonthPlanVO) => { type: 'update' }); }; - -/** 导出按钮操作 */ -const handleExport = () => { - proxy?.download( - 'out/monthPlan/export', - { - ...queryParams.value - }, - `monthPlan_${new Date().getTime()}.xlsx` - ); -}; - onMounted(() => { getList(); }); @@ -285,4 +262,7 @@ const listeningProject = watch( onUnmounted(() => { listeningProject(); }); +defineExpose({ + getList +}); diff --git a/src/views/out/monthPlan/indexAll.vue b/src/views/out/monthPlan/indexAll.vue new file mode 100644 index 0000000..7000072 --- /dev/null +++ b/src/views/out/monthPlan/indexAll.vue @@ -0,0 +1,30 @@ + + + diff --git a/src/views/out/monthPlanAudit/index.vue b/src/views/out/monthPlanAudit/index.vue index 2f32d29..ccf43cf 100644 --- a/src/views/out/monthPlanAudit/index.vue +++ b/src/views/out/monthPlanAudit/index.vue @@ -26,9 +26,6 @@ @@ -218,16 +215,6 @@ const handleDelete = async (row?: MonthPlanAuditVO) => { await getList(); }; -/** 导出按钮操作 */ -const handleExport = () => { - proxy?.download( - 'out/monthPlanAudit/export', - { - ...queryParams.value - }, - `monthPlanAudit_${new Date().getTime()}.xlsx` - ); -}; onMounted(() => { getList(); @@ -246,4 +233,7 @@ const listeningProject = watch( onUnmounted(() => { listeningProject(); }); +defineExpose({ + getList +}); diff --git a/src/views/out/outDesignTable/index.vue b/src/views/out/outDesignTable/index.vue index 2599207..9499392 100644 --- a/src/views/out/outDesignTable/index.vue +++ b/src/views/out/outDesignTable/index.vue @@ -9,7 +9,8 @@ - + + @@ -23,9 +24,6 @@ @@ -57,14 +55,13 @@ const valueAllocationList = ref([]); const loading = ref(true); const showSearch = ref(true); const total = ref(0); -const { out_value_type } = toRefs(proxy?.useDict('out_value_type')); - +var { out_value_type } = toRefs(proxy?.useDict('out_value_type')); const queryFormRef = ref(); const data = reactive({ queryParams: { pageNum: 1, pageSize: 10, - valueType: undefined, + valueType: '1', projectId: currentProject.value.id, month: undefined } diff --git a/src/views/out/outDesignTableVS/index.vue b/src/views/out/outDesignTableVS/index.vue index 2c14553..feae3c1 100644 --- a/src/views/out/outDesignTableVS/index.vue +++ b/src/views/out/outDesignTableVS/index.vue @@ -23,9 +23,6 @@ diff --git a/src/views/out/outTable/index.vue b/src/views/out/outTable/index.vue index 83f13b9..d34e7ed 100644 --- a/src/views/out/outTable/index.vue +++ b/src/views/out/outTable/index.vue @@ -18,9 +18,6 @@ diff --git a/src/views/out/ownerSettlement/index.vue b/src/views/out/ownerSettlement/index.vue index 84fd8c2..f42f3fb 100644 --- a/src/views/out/ownerSettlement/index.vue +++ b/src/views/out/ownerSettlement/index.vue @@ -19,9 +19,6 @@ diff --git a/src/views/out/settlementValueOwner/index.vue b/src/views/out/settlementValueOwner/index.vue index c672713..9a3c6ab 100644 --- a/src/views/out/settlementValueOwner/index.vue +++ b/src/views/out/settlementValueOwner/index.vue @@ -27,19 +27,11 @@ 新增 - - 修改 - 删除 - - 导出 - @@ -88,7 +80,7 @@ - + @@ -261,16 +253,6 @@ const handleDelete = async (row?: SettlementValueOwnerVO) => { await getList(); }; -/** 导出按钮操作 */ -const handleExport = () => { - proxy?.download( - 'out/settlementValueOwner/export', - { - ...queryParams.value - }, - `settlementValueOwner_${new Date().getTime()}.xlsx` - ); -}; onMounted(() => { getList(); @@ -289,4 +271,7 @@ const listeningProject = watch( onUnmounted(() => { listeningProject(); }); +defineExpose({ + getList +}); diff --git a/src/views/out/settlementValueSubcontract/index.vue b/src/views/out/settlementValueSubcontract/index.vue index 8a32ce4..5a437e6 100644 --- a/src/views/out/settlementValueSubcontract/index.vue +++ b/src/views/out/settlementValueSubcontract/index.vue @@ -28,17 +28,6 @@ 新增 - - 修改 - 删除 - - 导出 - @@ -102,11 +86,10 @@ - - + @@ -132,7 +115,7 @@ - + @@ -143,9 +126,6 @@ - - - @@ -48,7 +40,7 @@ - + diff --git a/src/views/project/landTransfer/BasicData/enterRoad/index.vue b/src/views/project/landTransfer/BasicData/enterRoad/index.vue index 16a4fa7..8305cc5 100644 --- a/src/views/project/landTransfer/BasicData/enterRoad/index.vue +++ b/src/views/project/landTransfer/BasicData/enterRoad/index.vue @@ -4,9 +4,6 @@
- - - @@ -38,15 +35,14 @@ - - - - - + + + + - - - - - + - - + + - - + + - - + + - - + + diff --git a/src/views/project/landTransfer/BasicData/landBlock/index.vue b/src/views/project/landTransfer/BasicData/landBlock/index.vue index de65ece..89fc8bc 100644 --- a/src/views/project/landTransfer/BasicData/landBlock/index.vue +++ b/src/views/project/landTransfer/BasicData/landBlock/index.vue @@ -13,14 +13,14 @@ - - + + - - + + - - + + 搜索 @@ -50,9 +50,9 @@ - - - + + + - - + - + - - - - - - - - - + + + + + + + - - + + + - + - + - - - - - - + + + + + + - - + +