fix : 修复页面细节

This commit is contained in:
2024-05-23 17:52:48 +08:00
parent 7e70c9271f
commit 31a12e566a
2 changed files with 24 additions and 26 deletions

View File

@@ -48,14 +48,8 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item label="所属公司" prop="affiliatedCompanyId"> <el-form-item label="所属公司" prop="affiliatedCompanyId">
<el-select v-model="formData.affiliatedCompanyId" placeholder="请选择所属公司" clearable filterable> <el-tree-select v-model="formData.affiliatedCompanyId" :data="companyOption" style="width: 100%;"
<el-option filterable clearable :check-strictly="true" multiple/>
v-for="item in companyOption"
:key="item.value"
:label="item.label"
:value="item.value"
/>
</el-select>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
@@ -221,7 +215,8 @@
</el-form> </el-form>
<AttachmentUpload ref="attachment" label="需求申请书附件" :showTable="showTable" :otherFileList="otherFileList" <AttachmentUpload ref="attachment" label="需求申请书附件" :showTable="showTable" :otherFileList="otherFileList"
@getAttachment="getAttachment" @getAttachment="getAttachment"
@getOtherFile="getOtherFile" :showFileList="true" :formData="formData" :preview="name === 'Summary/edit'"/> @getOtherFile="getOtherFile" :showFileList="true" :formData="formData"
:preview="name === 'Summary/edit'"/>
<!-- <fvForm :schema="schame" @getInstance="getInstance"></fvForm>--> <!-- <fvForm :schema="schame" @getInstance="getInstance"></fvForm>-->
<div class="approval-record"> <div class="approval-record">
<baseTitle title="流程"></baseTitle> <baseTitle title="流程"></baseTitle>
@@ -246,6 +241,7 @@ import {useCacheStore} from '@/stores/cache.js'
import {useProcessStore} from '@/stores/processStore.js'; import {useProcessStore} from '@/stores/processStore.js';
import {getSubCompOpt} from "@/api/user/user"; import {getSubCompOpt} from "@/api/user/user";
import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.vue'; import ProcessDiagramViewer from '@/views/workflow/common/ProcessDiagramViewer.vue';
const cacheStore = useCacheStore() const cacheStore = useCacheStore()
const processStore = useProcessStore() const processStore = useProcessStore()
const router = useRouter() const router = useRouter()
@@ -369,13 +365,15 @@ const handleSubmit = async (instance) => {
"specialFundAmount": "3", "specialFundAmount": "3",
deploymentId: deploymentId.value, deploymentId: deploymentId.value,
"singleFile": singleFile, "singleFile": singleFile,
"files": otherFiles, "fileList": otherFiles,
"requirementId":route.query.id "requirementId":route.query.id
} }
// let params = {
// ...formData.value, // ...formData.value,
// deploymentId: deploymentId.value, // deploymentId: deploymentId.value,
// fileList: files, // fileList: otherFiles,
// requirementId:102 // singleFile: singleFile,
// requirementId: route.query.id
// } // }
let res = await requirementReported(params) let res = await requirementReported(params)
ElNotification({ ElNotification({

View File

@@ -13,7 +13,7 @@ export const fileUp = (url, data) => {
export const requirementReported = (data) => { export const requirementReported = (data) => {
return request({ return request({
url: '/workflow/mosr/requirement/collect/reported', url: '/workflow/mosr/requirement/reported',
method: "post", method: "post",
data: data data: data
}); });