diff --git a/src/api/expense-manage/index.js b/src/api/expense-manage/index.js index 8126b9c..926bfc2 100644 --- a/src/api/expense-manage/index.js +++ b/src/api/expense-manage/index.js @@ -13,3 +13,9 @@ export const getAllocationDetail = (allocationId) => { method: "get" }); }; +export const getAllocationProcess = () => { + return request({ + url: '/workflow/mosr/cost/allocation/process', + method: "get" + }); +}; diff --git a/src/api/project-manage/index.js b/src/api/project-manage/index.js index eb54d16..42a57b9 100644 --- a/src/api/project-manage/index.js +++ b/src/api/project-manage/index.js @@ -79,7 +79,7 @@ export const addLedger = (data) => { export const getTags = (projectId) => { return request({ - url: '/workflow/mosr/project/implementation/tags', + url: '/workflow/mosr/project/implementation/option', method: "get", params:{ projectId:projectId diff --git a/src/api/special-fund/index.js b/src/api/special-fund/index.js index 2b82339..f76b2c4 100644 --- a/src/api/special-fund/index.js +++ b/src/api/special-fund/index.js @@ -1,11 +1,29 @@ import request from '@/utils/request.js' export const getFundDetail = (specialFundId) => { + return request({ + url: `/workflow/mosr/special/fund/from/${specialFundId}`, + method: "get" + }); +}; +export const getFundDetailProcess = (specialFundId) => { return request({ url: `/workflow/mosr/special/fund/info/${specialFundId}`, method: "get" }); }; +export const getFundOption = () => { + return request({ + url: '/workflow/mosr/special/fund/option', + method: "get" + }); +}; +export const getFundProcess = (specialFundId) => { + return request({ + url: '/workflow/mosr/special/fund/process', + method: "get" + }); +}; export const addFund= (data) => { return request({ url: '/workflow/mosr/special/fund', diff --git a/src/components/AttachmentUpload.vue b/src/components/AttachmentUpload.vue index 0b74133..765e88f 100644 --- a/src/components/AttachmentUpload.vue +++ b/src/components/AttachmentUpload.vue @@ -110,19 +110,20 @@ watch(() => props.showTable, (newVal) => { props.showTable = newVal }, {deep: true}) watch(() => props.otherFileList, (newVal) => { - newVal.forEach(item => { - allFileList.value.push(item) - }) + console.log('new',newVal) + // newVal?.forEach(item => { + allFileList.value=newVal + // }) }, {deep: true}) watch(() => props.formData.fileList, (newVal) => { if (props.preview) { - newVal.forEach(item => { + newVal?.forEach(item => { allFileList.value.push(item) }) } }, {deep: true}) watch(() => props.formData.singleFile, (newVal) => { - // singleFile.value = {} + console.log('singleFile',newVal) singleFile.value = newVal }, {deep: true}) const getAttachment = (val) => { diff --git a/src/components/DetailComponent/ExpenseDetail.vue b/src/components/DetailComponent/ExpenseDetail.vue index 5afbe05..47d95a6 100644 --- a/src/components/DetailComponent/ExpenseDetail.vue +++ b/src/components/DetailComponent/ExpenseDetail.vue @@ -2,16 +2,16 @@
- - - {{ formData.shareName }} - - - - - {{ formData.apportionmentMonth }} - - + + + + + + + + + + diff --git a/src/components/DetailComponent/Opinion.vue b/src/components/DetailComponent/Opinion.vue index 76e964a..d5f00b5 100644 --- a/src/components/DetailComponent/Opinion.vue +++ b/src/components/DetailComponent/Opinion.vue @@ -37,7 +37,8 @@ const schema = computed(() => { props: { placeholder: '请输入审核意见', type: 'textarea', - maxlength: 140 + // maxlength: 140, + rows:3 } } ] @@ -59,6 +60,12 @@ const back = () => { case 'Requirement/detail': router.push({name: 'Requirement'}) break; + case 'Fund/detail': + router.push({name: 'Fund'}) + break; + case 'Share/detail': + router.push({name: 'Expense/share'}) + break; } } // 驳回 diff --git a/src/components/TagAndFileUpload.vue b/src/components/TagAndFileUpload.vue new file mode 100644 index 0000000..5b2289a --- /dev/null +++ b/src/components/TagAndFileUpload.vue @@ -0,0 +1,118 @@ + + + + + diff --git a/src/components/Tinymce.vue b/src/components/Tinymce.vue index 0295cdb..d619231 100644 --- a/src/components/Tinymce.vue +++ b/src/components/Tinymce.vue @@ -74,7 +74,7 @@ const props = defineProps({ }, height:{ type: Number, - default: 450 + default: 650 } }) const content = ref(props.value); diff --git a/src/views/expense-management/share/add.vue b/src/views/expense-management/share/add.vue index a1c26d1..0a30660 100644 --- a/src/views/expense-management/share/add.vue +++ b/src/views/expense-management/share/add.vue @@ -113,6 +113,10 @@
添加一行
+
+ + +
提交 返回 @@ -123,12 +127,17 @@ - diff --git a/src/views/project-demand/requirement/add.vue b/src/views/project-demand/requirement/add.vue index ffc189c..5d9880e 100644 --- a/src/views/project-demand/requirement/add.vue +++ b/src/views/project-demand/requirement/add.vue @@ -29,13 +29,35 @@ /> + + + + + + + + + + + + + + + + + + + v-model:value="formData.collectExplain" /> - diff --git a/src/views/project-management/implementation/check.vue b/src/views/project-management/implementation/check.vue index 7a820a2..0266215 100644 --- a/src/views/project-management/implementation/check.vue +++ b/src/views/project-management/implementation/check.vue @@ -85,6 +85,7 @@ const handleSubmit = (instance) => { if (!valid) return if(JSON.stringify(file.value) === "{}"){ attachment.value.validate() + return; }else { attachment.value.clearValidate() } @@ -139,6 +140,7 @@ const handleResubmit = (instance) => { let fileArray if (JSON.stringify(file.value) === "{}"||attachment.value.singleFile===null) { attachment.value.validate() + return; } else { attachment.value.clearValidate() } diff --git a/src/views/project-management/implementation/index.vue b/src/views/project-management/implementation/index.vue index 55e114e..0443dea 100644 --- a/src/views/project-management/implementation/index.vue +++ b/src/views/project-management/implementation/index.vue @@ -172,7 +172,7 @@ const tableConfig = reactive({ }, { prop: 'economicEstimate', - label: '经济概况', + label: '经济概算', align: 'center' }, { diff --git a/src/views/project-management/implementation/upload.vue b/src/views/project-management/implementation/upload.vue index c266eba..2740749 100644 --- a/src/views/project-management/implementation/upload.vue +++ b/src/views/project-management/implementation/upload.vue @@ -29,7 +29,7 @@ diff --git a/src/views/special-fund/add.vue b/src/views/special-fund/add.vue index d0d431d..259c35b 100644 --- a/src/views/special-fund/add.vue +++ b/src/views/special-fund/add.vue @@ -5,16 +5,16 @@ - + + v-model:value="formData.introduce"/> -