Merge pull request 'master' (#968) from master into prod
Reviewed-on: http://git.feashow.cn/clay/mosr-web/pulls/968
This commit is contained in:
@@ -10,20 +10,13 @@
|
|||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</el-col>
|
||||||
<el-col :span="6" v-if="title==='apply'">
|
<el-col :span="6" v-if="title==='apply'&&detail">
|
||||||
<!-- label-width="106"-->
|
<!-- label-width="106"-->
|
||||||
<el-form-item label="实际专项资金" prop="specialFundAmount" label-width="121" >
|
<el-form-item label="实际专项资金" prop="specialFundAmount" label-width="121" >
|
||||||
<el-input v-model="localFormData.specialFundAmount" placeholder="请输入实际专项资金">
|
<el-input v-model="localFormData.specialFundAmount" placeholder="请输入实际专项资金">
|
||||||
</el-input>
|
</el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-col>
|
</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-row>
|
<el-row>
|
||||||
<el-col :span="6" v-if="title==='apply'">
|
<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 {useTagsView} from '@/stores/tagsview.js'
|
||||||
import Paging from "@/components/pagination/index.vue";
|
import Paging from "@/components/pagination/index.vue";
|
||||||
import UserPicker from "@/views/workflow/process/common/UserPicker.vue";
|
import UserPicker from "@/views/workflow/process/common/UserPicker.vue";
|
||||||
|
import {getBaseInfoApi} from "@/components/steps/api";
|
||||||
|
|
||||||
const router = useRouter()
|
const router = useRouter()
|
||||||
const route = useRoute()
|
const route = useRoute()
|
||||||
@@ -267,6 +261,7 @@ const selectRows = ref([])
|
|||||||
const projectId = ref(route.query.projectId)
|
const projectId = ref(route.query.projectId)
|
||||||
const sessionParams = ref({})
|
const sessionParams = ref({})
|
||||||
const optionalChargeLeadershipPickerRef = ref()
|
const optionalChargeLeadershipPickerRef = ref()
|
||||||
|
const detail = ref(false)
|
||||||
const optionalChargeLeadershipList = ref([])
|
const optionalChargeLeadershipList = ref([])
|
||||||
const filePreviewParam = ref({
|
const filePreviewParam = ref({
|
||||||
fileUrl: '',
|
fileUrl: '',
|
||||||
@@ -274,7 +269,13 @@ const filePreviewParam = ref({
|
|||||||
fileType: 'pdf'
|
fileType: 'pdf'
|
||||||
})
|
})
|
||||||
const filePreviewShow = ref(false)
|
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)=>{
|
const getTemplateName=(type)=>{
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case 'apply':
|
case 'apply':
|
||||||
|
|||||||
@@ -241,7 +241,11 @@ const handleTabClick = (item) => {
|
|||||||
isEdit.value = false
|
isEdit.value = false
|
||||||
}
|
}
|
||||||
if (item.props.name != 'plus') {
|
if (item.props.name != 'plus') {
|
||||||
changeFileList(getTagName(item.props.name))
|
if(item.props.name == 'all'){
|
||||||
|
changeFileList('all')
|
||||||
|
}else{
|
||||||
|
changeFileList(getTagName(item.props.name))
|
||||||
|
}
|
||||||
// if (item.props.name == 'all') {
|
// if (item.props.name == 'all') {
|
||||||
// otherAttachmentList.value = allFiles.value
|
// otherAttachmentList.value = allFiles.value
|
||||||
// } else {
|
// } else {
|
||||||
@@ -300,12 +304,21 @@ const clickToPreview = (row) => {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
const changeFileList=(tag)=>{
|
const changeFileList=(tag)=>{
|
||||||
showAttachmentTable.value = false
|
let params = {}
|
||||||
let params = {
|
if(tag=='all'){
|
||||||
targetId: route.query.projectId,
|
params = {
|
||||||
targetState: "30",
|
targetId: route.query.projectId,
|
||||||
tag:tag
|
targetState: "30",
|
||||||
|
}
|
||||||
|
}else{
|
||||||
|
params = {
|
||||||
|
targetId: route.query.projectId,
|
||||||
|
targetState: "30",
|
||||||
|
tag:tag
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
showAttachmentTable.value = false
|
||||||
|
|
||||||
searchImplementationFileList(params).then(res => {
|
searchImplementationFileList(params).then(res => {
|
||||||
if (res.code === 1000) {
|
if (res.code === 1000) {
|
||||||
otherAttachmentList.value = res.data.fileList
|
otherAttachmentList.value = res.data.fileList
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
<el-form-item label="名称" prop="fileName">
|
<el-form-item label="名称" prop="fileName">
|
||||||
<el-input v-model="attachment.fileName" placeholder="请输入文件名查询" clearable filterable style="width: 300px"/>
|
<el-input v-model="attachment.fileName" placeholder="请输入文件名查询" clearable filterable style="width: 300px"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="类型" prop="targetState" v-if="allFile">
|
<el-form-item label="项目阶段" prop="targetState" v-if="allFile">
|
||||||
<el-select v-model="attachment.targetState" placeholder="请选择类型" clearable filterable style="width: 300px">
|
<el-select v-model="attachment.targetState" placeholder="请选择项目阶段" clearable filterable style="width: 300px">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in cacheStore.getDict('archive_file_type')"
|
v-for="item in cacheStore.getDict('archive_file_type')"
|
||||||
:key="item.value"
|
:key="item.value"
|
||||||
@@ -96,7 +96,7 @@ const tableConfig = reactive({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'tag',
|
prop: 'tag',
|
||||||
label: '标签',
|
label:props.allFile?'项目阶段': '标签',
|
||||||
align: 'center'
|
align: 'center'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -137,7 +137,8 @@
|
|||||||
<el-empty image-size="135" description="暂无通知公告~"/>
|
<el-empty image-size="135" description="暂无通知公告~"/>
|
||||||
</div>
|
</div>
|
||||||
<div v-for="(item,index) in noticeList" class="notice" @click="handleGoToArticleDetail(item)">
|
<div v-for="(item,index) in noticeList" class="notice" @click="handleGoToArticleDetail(item)">
|
||||||
<span>{{ index > 8 ? '' : 0 }}{{ index + 1 }}</span>{{ item.articleTitle }}
|
<span>{{ index > 8 ? '' : 0 }}{{ index + 1 }}</span>
|
||||||
|
{{ item.articleTitle }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -48,7 +48,7 @@ const tableConfig = reactive({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'processNumber',
|
prop: 'processNumber',
|
||||||
label: '编号',
|
label: '征集编号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ const tableConfig = reactive({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'processNumber',
|
prop: 'processNumber',
|
||||||
label: '编号',
|
label: '项目编号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ const tableConfig = reactive({
|
|||||||
|
|
||||||
{
|
{
|
||||||
prop: 'processNumber',
|
prop: 'processNumber',
|
||||||
label: '编号',
|
label: '项目编号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -222,7 +222,7 @@ const tableConfig = reactive({
|
|||||||
|
|
||||||
{
|
{
|
||||||
prop: 'processNumber',
|
prop: 'processNumber',
|
||||||
label: '编号',
|
label: '项目编号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -216,7 +216,7 @@ const tableConfig = reactive({
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
prop: 'processNumber',
|
prop: 'processNumber',
|
||||||
label: '编号',
|
label: '项目编号',
|
||||||
align: 'center',
|
align: 'center',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -76,8 +76,8 @@ export default defineConfig({
|
|||||||
// rewrite: (path) => path.replace(/^\/api/, '')
|
// rewrite: (path) => path.replace(/^\/api/, '')
|
||||||
// },
|
// },
|
||||||
// '/api/admin': {
|
// '/api/admin': {
|
||||||
// // target: 'http://frp.feashow.cn:31800/',
|
// target: 'http://frp.feashow.cn:31800/',
|
||||||
// target: 'http://clay.frp.feashow.cn/',
|
// // target: 'http://clay.frp.feashow.cn/',
|
||||||
// // target: 'http://192.168.31.175:8000',
|
// // target: 'http://192.168.31.175:8000',
|
||||||
// changeOrigin: true,
|
// changeOrigin: true,
|
||||||
// rewrite: (path) => path.replace(/^\/api/, '')
|
// rewrite: (path) => path.replace(/^\/api/, '')
|
||||||
|
|||||||
Reference in New Issue
Block a user