refactor(project): 优化项目相关页面显示内容
- 修改项目需求、总结、立项、实施、归档页面中的编号标签 - 更新项目申请组件,根据项目类型动态显示实际专项资金输入框 -调整 API 代理配置
This commit is contained in:
@@ -10,20 +10,13 @@
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<el-col :span="6" v-if="title==='apply'">
|
||||
<el-col :span="6" v-if="title==='apply'&&detail">
|
||||
<!-- label-width="106"-->
|
||||
<el-form-item label="实际专项资金" prop="specialFundAmount" label-width="121" >
|
||||
<el-input v-model="localFormData.specialFundAmount" placeholder="请输入实际专项资金">
|
||||
</el-input>
|
||||
</el-form-item>
|
||||
</el-col>
|
||||
<!-- <el-col :span="6" v-if="title==='apply'">-->
|
||||
<!-- <!– label-width="106"–>-->
|
||||
<!-- <el-form-item label="实际专项资金" prop="budget" label-width="120">-->
|
||||
<!-- <el-input v-model="localFormData.budget" placeholder="请输入实际专项资金">-->
|
||||
<!-- </el-input>-->
|
||||
<!-- </el-form-item>-->
|
||||
<!-- </el-col>-->
|
||||
</el-row>
|
||||
<el-row>
|
||||
<el-col :span="6" v-if="title==='apply'">
|
||||
@@ -180,6 +173,7 @@ import {useProcessStore} from '@/stores/processStore.js';
|
||||
import {useTagsView} from '@/stores/tagsview.js'
|
||||
import Paging from "@/components/pagination/index.vue";
|
||||
import UserPicker from "@/views/workflow/process/common/UserPicker.vue";
|
||||
import {getBaseInfoApi} from "@/components/steps/api";
|
||||
|
||||
const router = useRouter()
|
||||
const route = useRoute()
|
||||
@@ -267,6 +261,7 @@ const selectRows = ref([])
|
||||
const projectId = ref(route.query.projectId)
|
||||
const sessionParams = ref({})
|
||||
const optionalChargeLeadershipPickerRef = ref()
|
||||
const detail = ref(false)
|
||||
const optionalChargeLeadershipList = ref([])
|
||||
const filePreviewParam = ref({
|
||||
fileUrl: '',
|
||||
@@ -274,7 +269,13 @@ const filePreviewParam = ref({
|
||||
fileType: 'pdf'
|
||||
})
|
||||
const filePreviewShow = ref(false)
|
||||
const getInfo=async ()=>{
|
||||
|
||||
const {code, data} = await getBaseInfoApi(route.query.projectId)
|
||||
console.log('data',code,data)
|
||||
detail.value=data.isSpecialFund
|
||||
}
|
||||
getInfo()
|
||||
const getTemplateName=(type)=>{
|
||||
switch (type) {
|
||||
case 'apply':
|
||||
|
||||
@@ -48,7 +48,7 @@ const tableConfig = reactive({
|
||||
},
|
||||
{
|
||||
prop: 'processNumber',
|
||||
label: '编号',
|
||||
label: '征集编号',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -220,7 +220,7 @@ const tableConfig = reactive({
|
||||
},
|
||||
{
|
||||
prop: 'processNumber',
|
||||
label: '编号',
|
||||
label: '项目编号',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -219,7 +219,7 @@ const tableConfig = reactive({
|
||||
|
||||
{
|
||||
prop: 'processNumber',
|
||||
label: '编号',
|
||||
label: '项目编号',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -222,7 +222,7 @@ const tableConfig = reactive({
|
||||
|
||||
{
|
||||
prop: 'processNumber',
|
||||
label: '编号',
|
||||
label: '项目编号',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -216,7 +216,7 @@ const tableConfig = reactive({
|
||||
},
|
||||
{
|
||||
prop: 'processNumber',
|
||||
label: '编号',
|
||||
label: '项目编号',
|
||||
align: 'center',
|
||||
},
|
||||
{
|
||||
|
||||
@@ -76,8 +76,8 @@ export default defineConfig({
|
||||
// rewrite: (path) => path.replace(/^\/api/, '')
|
||||
// },
|
||||
// '/api/admin': {
|
||||
// // target: 'http://frp.feashow.cn:31800/',
|
||||
// target: 'http://clay.frp.feashow.cn/',
|
||||
// target: 'http://frp.feashow.cn:31800/',
|
||||
// // target: 'http://clay.frp.feashow.cn/',
|
||||
// // target: 'http://192.168.31.175:8000',
|
||||
// changeOrigin: true,
|
||||
// rewrite: (path) => path.replace(/^\/api/, '')
|
||||
|
||||
Reference in New Issue
Block a user