From 7eee5563ead96be246f0e02d8e627b5b75ce3d28 Mon Sep 17 00:00:00 2001
From: BianLzhaoMin <11485688+bianliangzhaomin123@user.noreply.gitee.com>
Date: Mon, 29 Dec 2025 14:23:09 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B7=A5=E7=A8=8B=E9=85=8D?=
=?UTF-8?q?=E7=BD=AE=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/basic-manage/project-setting/index.js | 37 ++
.../basic-manage/project-setting/config.js | 47 ++
.../basic-manage/project-setting/index.vue | 414 ++++++++++++++++++
3 files changed, 498 insertions(+)
create mode 100644 src/api/basic-manage/project-setting/index.js
create mode 100644 src/views/basic-manage/project-setting/config.js
create mode 100644 src/views/basic-manage/project-setting/index.vue
diff --git a/src/api/basic-manage/project-setting/index.js b/src/api/basic-manage/project-setting/index.js
new file mode 100644
index 0000000..d873ac2
--- /dev/null
+++ b/src/api/basic-manage/project-setting/index.js
@@ -0,0 +1,37 @@
+import request from '@/utils/request'
+
+// 新增工程配置
+export const addProjectSettingAPI = (data) => {
+ return request({
+ url: '/bmw/proConfig/insert',
+ method: 'POST',
+ data,
+ })
+}
+
+// 修改工程配置
+export const editProjectSettingAPI = (data) => {
+ return request({
+ url: '/bmw/proConfig/update',
+ method: 'POST',
+ data,
+ })
+}
+
+// 删除工程配置
+export const deleteProjectSettingAPI = (data) => {
+ return request({
+ url: '/bmw/proConfig/delete',
+ method: 'POST',
+ data,
+ })
+}
+
+// 获取工程配置列表
+export const getProjectSettingListAPI = (data) => {
+ return request({
+ url: '/bmw/proConfig/getConfigList',
+ method: 'GET',
+ params: data,
+ })
+}
diff --git a/src/views/basic-manage/project-setting/config.js b/src/views/basic-manage/project-setting/config.js
new file mode 100644
index 0000000..92c3180
--- /dev/null
+++ b/src/views/basic-manage/project-setting/config.js
@@ -0,0 +1,47 @@
+export const formLabel = [
+ {
+ isShow: false,
+ f_type: 'ipt',
+ f_label: '分公司名称',
+ f_model: 'subName',
+ },
+ {
+ isShow: false,
+ f_type: 'sel',
+ f_label: '类型',
+ f_model: 'type',
+ f_selList: [
+ {
+ label: '退场证明',
+ value: 0,
+ },
+ {
+ label: '是否可以多工程入场',
+ value: 1,
+ },
+ ],
+ },
+ {
+ isShow: false,
+ f_type: 'sel',
+ f_label: '所属区域',
+ f_model: 'proArea',
+ f_selList: [],
+ },
+]
+
+export const columnsList = [
+ { t_props: 'subName', t_label: '分公司' },
+ { t_slot: 'proType', t_label: '工程类型' },
+ { t_slot: 'proArea', t_label: '所属地区' },
+ { t_slot: 'type', t_label: '类型' },
+ { t_slot: 'isNeed', t_label: '是否需要' },
+]
+
+export const dialogConfig = {
+ outerTitle: '',
+ minHeight: '',
+ maxHeight: '',
+ outerWidth: '40%',
+ outerVisible: false,
+}
diff --git a/src/views/basic-manage/project-setting/index.vue b/src/views/basic-manage/project-setting/index.vue
new file mode 100644
index 0000000..3d306b9
--- /dev/null
+++ b/src/views/basic-manage/project-setting/index.vue
@@ -0,0 +1,414 @@
+
+
+
+
+
+ 导出
+
+
+ 新增
+
+
+
+
+
+ {{ formatProjectType(data.proType) }}
+
+ -
+
+
+
+
+ {{ formatProjectArea(data.proArea) }}
+
+ -
+
+
+
+
+ {{ data.type == 0 ? '退场证明' : '是否可以多工程入场' }}
+
+
+
+
+
+ {{ data.isNeed == 1 ? '是' : '否' }}
+
+
+
+
+
+ 修改
+
+
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 退场证明
+ 是否可以多工程入场
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+