Commit 41a8eb9e by xiehao

fix:删除了试用范围

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