From a8c870fc1cefb1a9cd651f46f759a146df661f60 Mon Sep 17 00:00:00 2001
From: 叶松 <2217086471@qq.com>
Date: 星期一, 27 十一月 2023 11:23:40 +0800
Subject: [PATCH] 供应商字段修改
---
web/src/views/ProjectManage/SectionManage.vue | 103 +++++++++++++++++++++++++--------------------------
1 files changed, 51 insertions(+), 52 deletions(-)
diff --git a/web/src/views/ProjectManage/SectionManage.vue b/web/src/views/ProjectManage/SectionManage.vue
index dbae05b..4cbfa56 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">
@@ -48,7 +48,7 @@
<el-input v-model="ruleForm.unitProjectName" clearable placeholder="请输入单位工程名称"></el-input>
</el-form-item>
<el-form-item label="需求负责人:" prop="segmentAdmin">
- <el-select v-model="ruleForm.segmentAdmin" placeholder="请选择求负责人">
+ <el-select v-model="ruleForm.segmentAdmin" placeholder="请选择需求负责人">
<el-option v-for="item in optionsUser" :key="item.userId" :label="item.realName" :value="item.userId">
</el-option>
</el-select>
@@ -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