From 2d8dafdddd85653371e463ee43f960f2366d9313 Mon Sep 17 00:00:00 2001 From: 李旭东 <woaiguo66@sina.com> Date: 星期五, 27 十月 2023 15:51:16 +0800 Subject: [PATCH] Merge branch 'master' of http://111.30.93.211:10101/r/supipe --- web/src/views/ProjectManage/SectionManage.vue | 101 +++++++++++++++++++++++++------------------------- 1 files changed, 50 insertions(+), 51 deletions(-) diff --git a/web/src/views/ProjectManage/SectionManage.vue b/web/src/views/ProjectManage/SectionManage.vue index dbae05b..713921e 100644 --- a/web/src/views/ProjectManage/SectionManage.vue +++ b/web/src/views/ProjectManage/SectionManage.vue @@ -31,8 +31,8 @@ <!-- dialog --> <el-dialog class="prop_dialog" v-if="isRender" :title="dialogTitle" :visible.sync="asyncVisible" width="660px" @close="closeForm"> - - <cpnForm :form-config="formConfig"></cpnForm> + <!-- form组件未开发完 --> + <!-- <cpnForm :form-config="formConfig"></cpnForm> --> <el-form ref="ruleForm" :model="ruleForm" :rules="rules" label-width="auto" class="rule_form"> <el-form-item label="项目名称:" prop="proId"> @@ -113,7 +113,7 @@ <script> import {throttle} from '../../plugins/public'; // 导入节流、动态切换组件尺寸方法 import cpnTable from '@/components/element/Table' -import cpnForm from '@/components/element/Form' +// import cpnForm from '@/components/element/Form' export default { data() { return { @@ -197,65 +197,64 @@ } ] }, + // formConfig: { + // formModels: { + // proId: '', // 项目名称id + // mileage: '', // 起讫里程 + // unitProjectName: '', // 单位工程名称 + // segmentAdmin: '', // 需求负责人 + // shieldEnp: '', // 盾构单位 + // startTime: null, // 开始时间 + // endTime: null, // 结束时间 + // duration: '', // 工期 + // station: '', // 站点 + // segmentList: [], // 标段需求 + // }, + // formItems: [ + // { + // type: 'input', label: '用户id' + // }, + // { + // type: 'input', label: '用户名' + // }, - formConfig: { - formModels: { - proId: '', // 项目名称id - mileage: '', // 起讫里程 - unitProjectName: '', // 单位工程名称 - segmentAdmin: '', // 需求负责人 - shieldEnp: '', // 盾构单位 - startTime: null, // 开始时间 - endTime: null, // 结束时间 - duration: '', // 工期 - station: '', // 站点 - segmentList: [], // 标段需求 - }, - formItems: [ - { - type: 'input', label: '用户id' - }, - { - type: 'input', label: '用户名' - }, - - { - type: 'input', label: '真实姓名' - }, - { - type: 'input', label: '电话号码' - }, - { - type: 'select', label: '用户状态', options: [ - {label: '禁用', value: 0}, - {label: '启用', value: 1} - ] - }, - { - type: 'datepicker', label: '创建时间', otherOptions: { - startPlaceholder: '开始时间', - endPlaceholder: '结束时间', - type: 'daterange', - 'unlink-panels': true - } - } - ], - itemColLayout: { - span: 8 - } - } + // { + // type: 'input', label: '真实姓名' + // }, + // { + // type: 'input', label: '电话号码' + // }, + // { + // type: 'select', label: '用户状态', options: [ + // {label: '禁用', value: 0}, + // {label: '启用', value: 1} + // ] + // }, + // { + // type: 'datepicker', label: '创建时间', otherOptions: { + // startPlaceholder: '开始时间', + // endPlaceholder: '结束时间', + // type: 'daterange', + // 'unlink-panels': true + // } + // } + // ], + // itemColLayout: { + // span: 8 + // } + // } } }, components: { cpnTable, - cpnForm + // cpnForm }, computed: { isUpdate() { return this.submitMode === 'update' }, dialogTitle() { - return this.isUpdate ? '修改新增单位工程' : '新增单位工程' + return this.isUpdate ? '修改单位工程' : '新增单位工程' }, }, created() { -- Gitblit v1.9.3