Commit 41a8eb9e by xiehao

fix:删除了试用范围

1 parent 6fb5fd86
Showing with 35 additions and 23 deletions
......@@ -3,7 +3,7 @@
<list-page>
<!-- 查询表单插槽 -->
<template #formWrap>
<SearchForm @onSearch="querySearch" :form-options="formOptions" />
<SearchForm @onSearch="querySearch" :form-options="formOptions"/>
</template>
<!-- 表格插槽 -->
<template #tableWrap>
......@@ -29,13 +29,14 @@
import ListPage from '@/components/ListPage.vue'
import SearchForm from '@/components/SearchForm.vue'
import TableConfig from '@/views/collectDataConfiguration/TableConfig.vue'
import { supervisionData } from '@/api/architectureInspection'
import { materialTypeList, superStateCode } from '@/utils/architectureInspectionDis'
import {supervisionData} from '@/api/architectureInspection'
import {materialTypeList} from '@/utils/architectureInspectionDis'
import UploadDialog from './UploadDialog'
import {getDictTypeOptions} from "@/utils";
export default {
name: 'supervisionDataCollection',
components: { ListPage, SearchForm, TableConfig, UploadDialog },
components: {ListPage, SearchForm, TableConfig, UploadDialog},
computed: {
formOptions() {
return [
......@@ -49,25 +50,25 @@ export default {
},
columns() {
return [
{ type: 'selection', width: '55px' },
{ label: '序号', type: 'index', width: '80px' },
{ label: '项目名称', prop: 'prjName', },
{ label: '承建单位', prop: 'buildOrg', width: '120px' },
{ label: '督查方案', prop: 'supervName', width: '120px' },
{ label: '材料类型', prop: 'materialType',
{type: 'selection', width: '55px'},
{label: '序号', type: 'index', width: '80px'},
{label: '项目名称', prop: 'prjName',},
{
label: '承建单位',
prop: 'buildOrg',
options: this.sysBuildOrgOptions,
collectionType: true,
width: '300px',
},
{label: '督查方案', prop: 'supervName', width: '120px'},
{
label: '材料类型', prop: 'materialType',
collectionType: 'materialTypeList',
options: materialTypeList
},
{ label: '上传时间', prop: 'uploadedTime', width: '120px' },
{ label: '版本', prop: 'version', width: '120px' },
// {
// label: '状态',
// prop: 'state',
// width: '120px',
// collectionType: 'superStateCode',
// options: superStateCode,
// },
{ label: '备注', prop: 'notes', width: '100px' },
{label: '上传时间', prop: 'uploadedTime', width: '120px'},
{label: '版本', prop: 'version', width: '120px'},
{label: '备注', prop: 'notes', width: '100px'},
{
label: '操作',
type: 'operation',
......@@ -115,7 +116,7 @@ export default {
]
},
},
data(){
data() {
return {
query: {
url: supervisionData,
......@@ -126,9 +127,18 @@ export default {
},
rowData: {},
demandSubVisible: false,
sysBuildOrgOptions: []
}
},
created() {
this.getDicts();
},
methods: {
getDicts() {
getDictTypeOptions('build_company').then((res) => {
this.sysBuildOrgOptions = res
})
},
querySearch(data) {
this.query.queryParam = {
...this.query.queryParam,
......@@ -172,7 +182,8 @@ export default {
}
})
})
.catch(() => {})
.catch(() => {
})
},
fnFile(row) {
this.$confirm('是否确认归档?', '提示', {
......@@ -190,7 +201,8 @@ export default {
}
})
})
.catch(() => {})
.catch(() => {
})
},
// 上传
fnEdit(row) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!