Commit 0ab3a26b by xiehao

fix:删除了试用范围

1 parent e0e9fa25
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,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>
...@@ -32,9 +32,10 @@ ...@@ -32,9 +32,10 @@
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 '@/components/TableConfig.vue' import TableConfig from '@/components/TableConfig.vue'
import { updReportManage, delReportManage } from '@/api/index.js' import {queryArchitectureFollowExamine} from '@/api/interface'
import { queryArchitectureFollowExamine } from '@/api/interface' import {buildType} from '@/utils/dictionary'
import { buildType } from '@/utils/dictionary' import {getDictTypeOptions} from "@/utils";
export default { export default {
name: 'architectureFollowExamine', name: 'architectureFollowExamine',
components: { components: {
...@@ -54,6 +55,7 @@ export default { ...@@ -54,6 +55,7 @@ export default {
rowData: {}, rowData: {},
dialogTitle: '', dialogTitle: '',
approvalVisible: false, approvalVisible: false,
sysBuildOrgOptions: []
} }
}, },
computed: { computed: {
...@@ -77,7 +79,7 @@ export default { ...@@ -77,7 +79,7 @@ export default {
}, },
columns() { columns() {
return [ return [
{ label: '序号', type: 'index', width: '80px' }, {label: '序号', type: 'index', width: '80px'},
{ {
label: '系统名称', label: '系统名称',
prop: 'appName', prop: 'appName',
...@@ -91,21 +93,20 @@ export default { ...@@ -91,21 +93,20 @@ export default {
}, },
{ {
label: '项目名称', label: '项目名称',
prop: 'projectName', prop: 'prjName',
}, },
{ {
label: '承建单位', label: '承建单位',
prop: 'buildOrgName', prop: 'buildOrg',
options: this.sysBuildOrgOptions,
collectionType: true,
width: '300px',
}, },
{ {
label: '项目经理', label: '项目经理',
prop: 'projectManager', prop: 'projectManager',
}, },
{ {
label: '创建人',
prop: 'createMan',
},
{
label: '创建时间', label: '创建时间',
prop: 'createTime', prop: 'createTime',
}, },
...@@ -129,7 +130,9 @@ export default { ...@@ -129,7 +130,9 @@ export default {
] ]
}, },
}, },
created() {}, created() {
this.getDicts()
},
methods: { methods: {
querySearch(data) { querySearch(data) {
this.query.queryParam = { this.query.queryParam = {
...@@ -138,6 +141,11 @@ export default { ...@@ -138,6 +141,11 @@ export default {
} }
this.$refs.searchTable.queryData() this.$refs.searchTable.queryData()
}, },
getDicts() {
getDictTypeOptions('build_company').then((res) => {
this.sysBuildOrgOptions = res
})
},
/** /**
* @description: 操作按钮 * @description: 操作按钮
* @param {Object} row 当前操作行数据 * @param {Object} row 当前操作行数据
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
> >
<el-form :inline="true" id="addForm" ref="addForm" :model="formInfo" label-width="auto" style="text-align: left;"> <el-form :inline="true" id="addForm" ref="addForm" :model="formInfo" label-width="auto" style="text-align: left;">
<el-form-item label="政策名称" prop="policyName"> <el-form-item label="政策名称" prop="policyName">
<el-input v-model="formInfo.policyName" size="small" placeholder="请输入内容" > </el-input> <el-input v-model="formInfo.policyName" size="small" placeholder="请输入内容"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="" prop=""> <el-form-item label="" prop="">
<el-button type="primary" @click="querySearch" size="mini" >查询</el-button > <el-button type="primary" @click="querySearch" size="mini">查询</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<table-config <table-config
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
> >
</table-config> </table-config>
<span slot="footer" class="dialog-footer"> <span slot="footer" class="dialog-footer">
<el-button type="primary" @click="handleSubmit" size="mini" >保 存</el-button > <el-button type="primary" @click="handleSubmit" size="mini">保 存</el-button>
<el-button @click="handleClose()" size="mini">取 消</el-button> <el-button @click="handleClose()" size="mini">取 消</el-button>
</span> </span>
</el-dialog> </el-dialog>
...@@ -32,10 +32,11 @@ ...@@ -32,10 +32,11 @@
<script> <script>
import TableConfig from '@/views/collectDataConfiguration/TableConfig.vue' import TableConfig from '@/views/collectDataConfiguration/TableConfig.vue'
import { artPolicyExamineAdd } from '@/api/architectureInspection' import {artPolicyExamineAdd} from '@/api/architectureInspection'
import {getDictTypeOptions} from "@/utils";
export default { export default {
components: { TableConfig }, components: {TableConfig},
props: { props: {
title: { title: {
type: String, type: String,
...@@ -53,16 +54,21 @@ export default { ...@@ -53,16 +54,21 @@ export default {
computed: { computed: {
columns() { columns() {
let arr = [ let arr = [
{ type: 'selection',prop: 'selection', width: '55px' }, {type: 'selection', prop: 'selection', width: '55px'},
{ label: '序号', type: 'index', width: '80px' }, {label: '序号', type: 'index', width: '80px'},
{ label: '政策名称', prop: 'policyName', width: '100px' }, {label: '政策名称', prop: 'policyName', width: '100px'},
{ label: '政策描述', prop: 'policyContent', }, {label: '政策描述', prop: 'policyContent',},
{ label: '适用范围', prop: 'scope_', }, {
{ label: '发布部门', prop: 'deptName', }, label: '适用范围',
{ label: '级别', prop: 'level_', }, prop: 'scope',
{ label: '启用时间', prop: 'startTime', }, options: this.sysBuildOrgOptions,
{ label: '创建人', prop: 'createMan', }, collectionType: true,
{ label: '创建时间', prop: 'createTime', }, width: '300px',
},
{label: '发布部门', prop: 'deptName',},
{label: '级别', prop: 'level',},
{label: '启用时间', prop: 'startTime',},
{label: '创建时间', prop: 'createTime',},
] ]
return arr return arr
}, },
...@@ -75,7 +81,7 @@ export default { ...@@ -75,7 +81,7 @@ export default {
}, },
} }
}, },
data(){ data() {
return { return {
formInfo: { formInfo: {
policyName: '', policyName: '',
...@@ -89,9 +95,18 @@ export default { ...@@ -89,9 +95,18 @@ export default {
}, },
}, },
selectId: '', selectId: '',
sysBuildOrgOptions: [],
} }
}, },
created() {
this.getDicts();
},
methods: { methods: {
getDicts() {
getDictTypeOptions('tech_policy_scope').then((res) => {
this.sysBuildOrgOptions = res
})
},
querySearch(data) { querySearch(data) {
this.query.queryParam = { this.query.queryParam = {
...this.query.queryParam, ...this.query.queryParam,
...@@ -108,7 +123,7 @@ export default { ...@@ -108,7 +123,7 @@ export default {
}) })
this.selectId = idArr.join(',') this.selectId = idArr.join(',')
}, },
handleSubmit(){ handleSubmit() {
const loading = this.$loading({ const loading = this.$loading({
lock: true, lock: true,
text: '保存中', text: '保存中',
...@@ -137,7 +152,8 @@ export default { ...@@ -137,7 +152,8 @@ export default {
<style lang="scss" scoped> <style lang="scss" scoped>
@import '@/styles/elementui.scss'; @import '@/styles/elementui.scss';
::v-deep .el-dialog__body{
::v-deep .el-dialog__body {
height: 58vh; height: 58vh;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!