feat : 需求汇总年度计划审批前置流程选择
This commit is contained in:
@@ -33,11 +33,11 @@
|
|||||||
<span>{{ filterDict(cacheStore.getDict('invest_type'), localFormData.investmentType) }}</span>
|
<span>{{ filterDict(cacheStore.getDict('invest_type'), localFormData.investmentType) }}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<!-- <el-col :span="8">-->
|
<!-- <el-col :span="8">-->
|
||||||
<!-- <el-form-item label="项目影响" prop="projectImpact">-->
|
<!-- <el-form-item label="项目影响" prop="projectImpact">-->
|
||||||
<!-- <span>{{ filterDict(cacheStore.getDict('project_impact'), localFormData.projectImpact) }}</span>-->
|
<!-- <span>{{ filterDict(cacheStore.getDict('project_impact'), localFormData.projectImpact) }}</span>-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
<!-- </el-col>-->
|
<!-- </el-col>-->
|
||||||
<el-col :span="8">
|
<el-col :span="8">
|
||||||
<el-form-item label="所属业务板块" prop="businessSegment">
|
<el-form-item label="所属业务板块" prop="businessSegment">
|
||||||
<span>{{ filterDict(cacheStore.getDict('business_segment'), localFormData.businessSegment) }}</span>
|
<span>{{ filterDict(cacheStore.getDict('business_segment'), localFormData.businessSegment) }}</span>
|
||||||
@@ -62,7 +62,7 @@
|
|||||||
}}</span>
|
}}</span>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="8" v-if="localFormData.isSpecialFund">
|
<el-col :span="8" v-if="localFormData.isSpecialFund">
|
||||||
<el-form-item label="专项资金名称" prop="specialFund">
|
<el-form-item label="专项资金名称" prop="specialFund">
|
||||||
<span>{{
|
<span>{{
|
||||||
localFormData.specialFundId === 0 ? localFormData.specialFund : changeName(fundOption, localFormData.specialFundId)
|
localFormData.specialFundId === 0 ? localFormData.specialFund : changeName(fundOption, localFormData.specialFundId)
|
||||||
@@ -135,14 +135,14 @@
|
|||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24">
|
<el-col :span="24">
|
||||||
<single-file-component tag="需求上报"
|
<single-file-component tag="需求上报"
|
||||||
v-model:value="localFormData.singleFile" :processViewer="processViewer"
|
v-model:value="localFormData.singleFile" :processViewer="processViewer"
|
||||||
:file-list-show="fileListShow"/>
|
:file-list-show="fileListShow"/>
|
||||||
<!-- <el-form-item>-->
|
<!-- <el-form-item>-->
|
||||||
<!-- {{localFormData.singleFile}}-->
|
<!-- {{localFormData.singleFile}}-->
|
||||||
<!-- <el-button type="primary" link @click="handleDownload(localFormData.singleFile)" style="font-size: 16px">-->
|
<!-- <el-button type="primary" link @click="handleDownload(localFormData.singleFile)" style="font-size: 16px">-->
|
||||||
<!-- {{ localFormData.singleFile?.originalFileName }}-->
|
<!-- {{ localFormData.singleFile?.originalFileName }}-->
|
||||||
<!-- </el-button>-->
|
<!-- </el-button>-->
|
||||||
<!-- </el-form-item>-->
|
<!-- </el-form-item>-->
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" style="margin-top: -15px">
|
<el-col :span="24" style="margin-top: -15px">
|
||||||
<baseTitle title="附件列表"></baseTitle>
|
<baseTitle title="附件列表"></baseTitle>
|
||||||
@@ -153,7 +153,31 @@
|
|||||||
:file-list-show="fileListShow"/>
|
:file-list-show="fileListShow"/>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="24" style="margin-top: -15px">
|
<el-col :span="24" style="margin-top: -15px">
|
||||||
<div v-if="data.taskId||data.state==='4'">
|
<div v-if="data.taskId">
|
||||||
|
<baseTitle title="审核意见1"></baseTitle>
|
||||||
|
<el-form-item prop="_value">
|
||||||
|
<el-input
|
||||||
|
v-model="_value"
|
||||||
|
:rows="3"
|
||||||
|
type="textarea"
|
||||||
|
placeholder="请输入审核意见"
|
||||||
|
/>
|
||||||
|
</el-form-item>
|
||||||
|
</div>
|
||||||
|
<div v-perm="['annual:plan:approve']" v-if="data.state==='4'">
|
||||||
|
<baseTitle title="前置流程"></baseTitle>
|
||||||
|
<div>
|
||||||
|
<el-button color="#DED0B2" style="margin-right: 10px">
|
||||||
|
选择
|
||||||
|
</el-button>
|
||||||
|
<!-- <div v-for="item in getRequestName(localFormData.preProcess)" :key="item.requestId">-->
|
||||||
|
<!-- <a :href="item.baseUrl" target="_blank"-->
|
||||||
|
<!-- style="color: #2a99ff;margin-right: 10px;cursor: pointer">{{ item.requestName }}-->
|
||||||
|
<!-- </a>-->
|
||||||
|
<!-- </div>-->
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
<baseTitle title="审核意见"></baseTitle>
|
<baseTitle title="审核意见"></baseTitle>
|
||||||
<el-form-item prop="_value">
|
<el-form-item prop="_value">
|
||||||
<el-input
|
<el-input
|
||||||
@@ -267,9 +291,9 @@ const handleRejectPlan = async () => {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
const params = {
|
const params = {
|
||||||
auditOpinion:_value.value,
|
auditOpinion: _value.value,
|
||||||
projectId:parseInt(route.query.projectId),
|
projectId: parseInt(route.query.projectId),
|
||||||
state:false
|
state: false
|
||||||
}
|
}
|
||||||
// console.log('params', params)
|
// console.log('params', params)
|
||||||
const res = await approvePlan(params)
|
const res = await approvePlan(params)
|
||||||
@@ -285,9 +309,9 @@ const handleRejectPlan = async () => {
|
|||||||
}
|
}
|
||||||
const handleAgreePlan = async () => {
|
const handleAgreePlan = async () => {
|
||||||
const params = {
|
const params = {
|
||||||
auditOpinion:_value.value,
|
auditOpinion: _value.value,
|
||||||
projectId:parseInt(route.query.projectId),
|
projectId: parseInt(route.query.projectId),
|
||||||
state:true
|
state: true
|
||||||
}
|
}
|
||||||
// console.log('params', params)
|
// console.log('params', params)
|
||||||
const res = await approvePlan(params)
|
const res = await approvePlan(params)
|
||||||
@@ -359,7 +383,7 @@ watch(() => props.loading, (newVal) => {
|
|||||||
}, {deep: true})
|
}, {deep: true})
|
||||||
|
|
||||||
watchEffect(() => {
|
watchEffect(() => {
|
||||||
props.formData.singleFile=[props.formData.singleFile]
|
props.formData.singleFile = [props.formData.singleFile]
|
||||||
return Object.keys(props.formData).length && (localFormData.value = props.formData)
|
return Object.keys(props.formData).length && (localFormData.value = props.formData)
|
||||||
})
|
})
|
||||||
|
|
||||||
@@ -370,6 +394,6 @@ getFundOptions()
|
|||||||
.detail-block {
|
.detail-block {
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding-bottom: 0!important;
|
padding-bottom: 0 !important;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
Reference in New Issue
Block a user