diff --git a/.env.development b/.env.development index e383271..595e335 100644 --- a/.env.development +++ b/.env.development @@ -7,10 +7,8 @@ VITE_APP_ENV = 'development' # 开发环境 VITE_APP_BASE_API = 'http://192.168.110.149:8899' # 李陈杰 209 - -# VITE_APP_BASE_API = 'http://192.168.110.209:8899' # 曾涛 - +# VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 罗成 # VITE_APP_BASE_API = 'http://192.168.110.188:8899' # 朱银 diff --git a/src/api/materials/materialsInventory/index.ts b/src/api/materials/materialsInventory/index.ts index 2d780e3..e0796b7 100644 --- a/src/api/materials/materialsInventory/index.ts +++ b/src/api/materials/materialsInventory/index.ts @@ -61,3 +61,13 @@ export const delMaterialsInventory = (id: string | number | Array { + return request({ + url: '/materials/materials/listUseDetail', + method: 'get', + params: query + }); +}; +//导出 diff --git a/src/api/out/monthPlan/index.ts b/src/api/out/monthPlan/index.ts index cf59628..a0be857 100644 --- a/src/api/out/monthPlan/index.ts +++ b/src/api/out/monthPlan/index.ts @@ -93,7 +93,7 @@ export const isSubmit = (id): AxiosPromise => { */ export const getMonthInfo = (query): AxiosPromise => { return request({ - url: '/out/monthPlan/monthInfo', + url: '/out/monthPlan/monthInfo/' + query.id, method: 'get', params: query }); diff --git a/src/layout/components/Sidebar/SidebarItem.vue b/src/layout/components/Sidebar/SidebarItem.vue index d1e745a..3fd0fd8 100644 --- a/src/layout/components/Sidebar/SidebarItem.vue +++ b/src/layout/components/Sidebar/SidebarItem.vue @@ -7,6 +7,7 @@ @@ -36,7 +37,7 @@ import { isExternal } from '@/utils/validate'; import AppLink from './Link.vue'; import { getNormalPath } from '@/utils/ruoyi'; import { RouteRecordRaw } from 'vue-router'; -import { pageByTaskWait } from '@/api/workflow/task'; +import { pageByTaskWait, pageByTaskCopy } from '@/api/workflow/task'; import useUserStore from '@/store/modules/user'; import useNoticeStore from '@/store/modules/notice'; const userStore = useUserStore(); @@ -56,21 +57,27 @@ const props = defineProps({ } }); const total = ref(0); +const totalChao = ref(0); onMounted(() => { - if (onlyOneChild.value.meta?.title == '我的待办' || props.item.meta?.title == '我的任务') { - console.log(44444444); + if (onlyOneChild.value.meta?.title == '我的待办') { getWaitingList(); } + if (onlyOneChild.value.meta?.title == '我的抄送') { + getChaoList(); + } }); // 获取我的待办 -//分页 const getWaitingList = () => { pageByTaskWait({ pageNum: 1, pageSize: 10 }).then((resp) => { - console.log(resp); - total.value = resp.total; }); }; +// 获取我的抄送 +const getChaoList = () => { + pageByTaskCopy({ pageNum: 1, pageSize: 10 }).then((resp) => { + totalChao.value = resp.total; + }); +}; const onlyOneChild = ref({}); const hasOneShowingChild = (parent: RouteRecordRaw, children?: RouteRecordRaw[]) => { diff --git a/src/views/contract/division/index.vue b/src/views/contract/division/index.vue index b8e6768..1d3149c 100644 --- a/src/views/contract/division/index.vue +++ b/src/views/contract/division/index.vue @@ -29,7 +29,13 @@ @@ -143,9 +149,11 @@ (scope.row.selectNum ? Number(scope.row.selectNum) : 0) == 0 ? '' - : (scope.row.quantity ? Number(scope.row.quantity) : 0) - - (scope.row.selectNum ? Number(scope.row.selectNum) : 0) - - (scope.row.useQuantity ? Number(scope.row.useQuantity) : 0) + : ( + (scope.row.quantity ? Number(scope.row.quantity) : 0) - + (scope.row.selectNum ? Number(scope.row.selectNum) : 0) - + (scope.row.useQuantity ? Number(scope.row.useQuantity) : 0) + ).toFixed(2) }} diff --git a/src/views/ctr/index.vue b/src/views/ctr/index.vue index 96f5c49..98b913d 100644 --- a/src/views/ctr/index.vue +++ b/src/views/ctr/index.vue @@ -24,7 +24,8 @@ - + @@ -37,17 +38,15 @@ - + - + @@ -61,35 +60,36 @@ - + - 选择招标 + 选择招标 - + + v-model="form.amount" placeholder="请输入合同金额" disabled /> - + @@ -208,7 +208,7 @@ const payRatioComputed = computed({ return total; }, // 只读 - set: () => {} + set: () => { } }); const checkContractType = (type) => { contract_type.value = type; @@ -280,7 +280,6 @@ const resetForm = () => { }; fileList.value = []; tempFileList.value = []; - contract_type.value = ''; setTimeout(() => { localStorage.removeItem('tempContractForm'); }, 0); @@ -399,6 +398,7 @@ const getInfoByProjectIdList = async () => { form.value.contractOwner = res.data.planDuration; }; onMounted(() => { + contract_type.value = ''; getInfoByProjectIdList(); const tempForm = localStorage.getItem('tempContractForm'); diff --git a/src/views/design/designChange/index.vue b/src/views/design/designChange/index.vue index 7ec17a6..ebe8fb7 100644 --- a/src/views/design/designChange/index.vue +++ b/src/views/design/designChange/index.vue @@ -93,11 +93,10 @@ >审核通知单 查看通知单 @@ -113,8 +112,7 @@ type="warning" link icon="View" - v-hasPermi="['design:drawingreviewReceipts:list']" - v-if="scope.row.status != 'draft'" + v-if="scope.row.status != 'draft' || scope.row.auditStatus != 'draft'" @click="handleViewHistory(scope.row)" >查看单据 diff --git a/src/views/design/volumeCatalog/codeDetail.vue b/src/views/design/volumeCatalog/codeDetail.vue index b4c063f..7fb50eb 100644 --- a/src/views/design/volumeCatalog/codeDetail.vue +++ b/src/views/design/volumeCatalog/codeDetail.vue @@ -121,10 +121,10 @@ -->
- 更新时间 + 上传时间
- {{ info.updateTime || '未更新' }} + {{ info.createTime || '暂无' }}
diff --git a/src/views/design/volumeCatalog/index.vue b/src/views/design/volumeCatalog/index.vue index e265e13..bf8958c 100644 --- a/src/views/design/volumeCatalog/index.vue +++ b/src/views/design/volumeCatalog/index.vue @@ -68,6 +68,7 @@ 查看文件 + @@ -153,8 +154,8 @@ - - + + @@ -171,8 +172,8 @@ - + + - - + + + + - - + + + + - + + - + diff --git a/src/views/tender/plan/index.vue b/src/views/tender/plan/index.vue index ba71c3a..1ff7736 100644 --- a/src/views/tender/plan/index.vue +++ b/src/views/tender/plan/index.vue @@ -198,9 +198,11 @@ ? activeTab == 2 ? 0 : '' - : (scope.row.quantity ? Number(scope.row.quantity) : 0) - - (scope.row.selectNum ? Number(scope.row.selectNum) : 0) - - (scope.row.useQuantity ? Number(scope.row.useQuantity) : 0) + : ( + (scope.row.quantity ? Number(scope.row.quantity) : 0) - + (scope.row.selectNum ? Number(scope.row.selectNum) : 0) - + (scope.row.useQuantity ? Number(scope.row.useQuantity) : 0) + ).toFixed(2) }} diff --git a/src/views/workflows/task/taskCopyList.vue b/src/views/workflows/task/taskCopyList.vue index 673960f..776a064 100644 --- a/src/views/workflows/task/taskCopyList.vue +++ b/src/views/workflows/task/taskCopyList.vue @@ -34,15 +34,13 @@ - - - +