diff --git a/.env.development b/.env.development index 9ab76bb..eb8185a 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ VITE_APP_ENV = 'development' # 开发环境 # 李陈杰 209 -VITE_APP_BASE_API = 'http://192.168.110.180:8899' +VITE_APP_BASE_API = 'http://192.168.110.188:8899' # 曾涛 # VITE_APP_BASE_API = 'http://192.168.110.180:8899' # 罗成 diff --git a/public/daolu.xlsx b/public/daolu.xlsx new file mode 100644 index 0000000..b7f00ac Binary files /dev/null and b/public/daolu.xlsx differ diff --git a/public/dikuai.xlsx b/public/dikuai.xlsx new file mode 100644 index 0000000..25d39e0 Binary files /dev/null and b/public/dikuai.xlsx differ diff --git a/src/components/Process/submitVerify.vue b/src/components/Process/submitVerify.vue index f678b11..3fefa25 100644 --- a/src/components/Process/submitVerify.vue +++ b/src/components/Process/submitVerify.vue @@ -546,7 +546,7 @@ const handleTerminationTask = async () => { if (isDrawing.value) { isShowTermination.value = true; nextTick(() => { - detailFormTeRef.value.getInfo(props.businessId); + detailFormTeRef.value.getInfo(props.businessId1); }); return; } diff --git a/src/views/biddingManagemen/biddingLimit/index.vue b/src/views/biddingManagemen/biddingLimit/index.vue index eca3c03..4c508ad 100644 --- a/src/views/biddingManagemen/biddingLimit/index.vue +++ b/src/views/biddingManagemen/biddingLimit/index.vue @@ -165,7 +165,8 @@ const getTableData = async () => { loading.value = true; const params = { projectId: currentProject.value?.id, - sheet: queryForm.value.sheet + sheet: queryForm.value.sheet, + versions: queryForm.value.versions }; const res = await getTreeLimit(params); loading.value = false; diff --git a/src/views/contract/division/index.vue b/src/views/contract/division/index.vue index 0bca716..0c7675d 100644 --- a/src/views/contract/division/index.vue +++ b/src/views/contract/division/index.vue @@ -165,7 +165,7 @@ @@ -228,7 +228,7 @@ const rules = ref({ content: [{ required: true, message: '请输入内容', trigger: 'blur' }] }); const loading = ref(false); - +const loadingBtn = ref(); //字典获取数据 const getTabsList = async () => { const res = await getDicts('subcontracting_type'); @@ -457,6 +457,7 @@ const submitForm = async (formEl: FormInstance | undefined) => { }); return; } + loadingBtn.value = true; const newSelectionData = selectionData.value.filter((item) => item.quantity != '' && item.quantity != null); if (newSelectionData.some((item) => item.selectNum == '' || item.selectNum == null)) { ElMessage.error('存在未填写数量的工程或费用名称,请检查'); @@ -488,6 +489,8 @@ const submitForm = async (formEl: FormInstance | undefined) => { } } catch (error) { console.log(error); + } finally { + loadingBtn.value = false; } } else { console.log('error submit!', fields); @@ -544,7 +547,7 @@ const handleDetail = (row: any) => { getDetails(row); }; const getDetails = (row: any) => { - getDetailsList({ id: row.id, type: '1' }).then((res) => { + getDetailsList({ id: row.id, type: '1', projectId: currentProject.value?.id }).then((res) => { if (res.code == 200) { detailData.value = res.data; } diff --git a/src/views/contract/limitPrice/index.vue b/src/views/contract/limitPrice/index.vue index e10bd99..69d7e05 100644 --- a/src/views/contract/limitPrice/index.vue +++ b/src/views/contract/limitPrice/index.vue @@ -35,7 +35,13 @@ - 审核 + 审核
- + diff --git a/src/views/cory/template/components/engineeringChangeApplicationForm.vue b/src/views/cory/template/components/engineeringChangeApplicationForm.vue index 123467c..d7e9e0c 100644 --- a/src/views/cory/template/components/engineeringChangeApplicationForm.vue +++ b/src/views/cory/template/components/engineeringChangeApplicationForm.vue @@ -1,7 +1,7 @@ diff --git a/src/views/cory/template/indexEdit.vue b/src/views/cory/template/indexEdit.vue index 91e3fe6..3f75ed3 100644 --- a/src/views/cory/template/indexEdit.vue +++ b/src/views/cory/template/indexEdit.vue @@ -36,12 +36,42 @@ - + - + + + + + + + + + + + + + + + + + + @@ -50,7 +80,7 @@ - + @@ -62,27 +92,11 @@ - - - - - - - - - - - 上传附件 - - - - - - - - + + + 上传附件 + - @@ -103,7 +117,7 @@ - + 施工项目部 @@ -177,6 +191,7 @@ import { useUserStoreHook } from '@/store/modules/user'; import { listByIds } from '@/api/system/oss'; import { addContactnotice, getContactnotice, updateContactnotice } from '@/api/cory/contactnotice'; const { des_user_major } = toRefs(proxy?.useDict('des_user_major')); +import { catalogList } from '@/api/design/designChange'; // 获取用户 store const userStore = useUserStoreHook(); @@ -221,11 +236,11 @@ const initFormData = { id: undefined, projectId: currentProject.value?.id, projectType: '', - projectName: '', + projectName: currentProject.value?.name, serialNumber: '', to: '', subject: '', - costEstimation: '', + costEstimation: 0, content: '', attachments: '', contractorLeader: '', @@ -275,13 +290,27 @@ const handleClose = () => { buttonLoading.value = false; }; const { form, rules } = toRefs(data); - +const volumeCatalogList = ref([]); +let volumeMap = new Map(); /** 表单重置 */ const reset = () => { form.value = { ...initFormData }; leaveFormRef.value?.resetFields(); }; - +// 获取卷册号列表 +const getJuance = async () => { + const res = await catalogList(currentProject.value?.id); + volumeCatalogList.value = res.data; + volumeCatalogList.value.forEach((e) => { + volumeMap.set(e.volumeNumber, e); + }); +}; +const handleSelect = (val) => { + let obj = volumeMap.get(val); + console.log(obj); + form.value.volumeName = obj.documentName; + form.value.specialty = obj.specialty; +}; /** 获取详情 */ const getInfo = () => { loading.value = true; @@ -345,7 +374,8 @@ const handleStartWorkFlow = async (data: LeaveForm) => { //流程变量 taskVariables.value = { // leave4/5 使用的流程变量 - userList: ['1', '3', '4'] + userList: ['1', '3', '4'], + costEstimation: form.value.costEstimation }; submitFormData.value.variables = taskVariables.value; const resp = await startWorkFlow(submitFormData.value); @@ -402,6 +432,7 @@ onMounted(() => { routeParams.value = proxy.$route.query; thumbnailUrl.value = proxy.$route.query.thumbnailUrl; reset(); + getJuance(); loading.value = false; if (routeParams.value.type === 'update' || routeParams.value.type === 'view' || routeParams.value.type === 'approval') { getInfo(); diff --git a/src/views/cory/workMessage/components/notice.vue b/src/views/cory/workMessage/components/notice.vue index 08c25c1..8ab8df5 100644 --- a/src/views/cory/workMessage/components/notice.vue +++ b/src/views/cory/workMessage/components/notice.vue @@ -5,7 +5,7 @@ @@ -46,13 +46,16 @@ @@ -191,9 +194,10 @@ const userStore = useUserStoreHook(); // 从 store 中获取项目列表和当前选中的项目 const currentProject = computed(() => userStore.selectedProject); -const { safety_inspection_violation_type, safety_inspection_check_type, review_type, safety_inspection_type } = toRefs( - useDict('safety_inspection_violation_type', 'safety_inspection_check_type', 'review_type', 'safety_inspection_type') +const { safety_inspection_violation_type, safety_inspection_check_type, review_type, safety_inspection_type, wf_business_status } = toRefs( + useDict('safety_inspection_violation_type', 'safety_inspection_check_type', 'review_type', 'safety_inspection_type', 'wf_business_status') ); +const { proxy } = getCurrentInstance() as ComponentInternalInstance; const safetyInspectionDetail = ref(); const form = reactive({ @@ -236,6 +240,18 @@ const handleDetail = async (row) => { rectificationFileList.value = rectificationFileRes.data; } }; +const handleAddApp = (row) => { + // 添加审批 + proxy.$tab.closePage(proxy.$route); + proxy.$router.push({ + path: `/approval/workMessage/indexEdit`, + query: { + id: row.id, + + type: 'update' + } + }); +}; const getList = (row) => {}; const handleDelete = (row) => {}; diff --git a/src/views/cory/workMessage/index.vue b/src/views/cory/workMessage/index.vue index 71595ea..805cdc0 100644 --- a/src/views/cory/workMessage/index.vue +++ b/src/views/cory/workMessage/index.vue @@ -1,15 +1,12 @@