diff --git a/src/api/system/ledger.js b/src/api/system/ledger.js
new file mode 100644
index 00000000..34f55097
--- /dev/null
+++ b/src/api/system/ledger.js
@@ -0,0 +1,81 @@
+import request from '@/utils/request'
+
+/**
+ * 查询列表
+ * @param {object} params - 查询参数
+ */
+export const getProcessList = (params) => {
+ return request({
+ url: '/material-mall/equipment/field/list',
+ method: 'GET',
+ params: params
+ })
+}
+
+/**
+ * 获取详细信息(包含节点列表)
+ * @param {number} id - ID
+ */
+export const getProcessDetail = (id) => {
+ return request({
+ url: `/material-mall/equipment/field/${id}`,
+ method: 'GET'
+ })
+}
+
+/**
+ * 新增
+ * @param {object} data - 数据
+ */
+export const addProcess = (data) => {
+ return request({
+ url: '/material-mall/equipment/field/add ',
+ method: 'POST',
+ data: data
+ })
+}
+
+/**
+ * 修改
+ * @param {object} data - 数据
+ */
+export const updateProcess = (data) => {
+ return request({
+ url: '/material-mall/equipment/field/edit ',
+ method: 'POST',
+ data: data
+ })
+}
+
+/**
+ * 删除
+ * @param {string} ids - ID,多个用逗号分隔
+ */
+export const deleteProcess = (ids) => {
+ return request({
+ url: `/material-mall/equipment/field/delete/${ids}`,
+ method: 'POST',
+ })
+}
+
+/**
+ * 启用
+ * @param {number} id - ID
+ */
+export const enableProcess = (id) => {
+ return request({
+ url: `/material-mall/approval/process/enable/${id}`,
+ method: 'PUT'
+ })
+}
+
+/**
+ * 停用
+ * @param {number} id - ID
+ */
+export const disableProcess = (id) => {
+ return request({
+ url: `/material-mall/approval/process/disable/${id}`,
+ method: 'PUT'
+ })
+}
diff --git a/src/views/home/components/provincial/Bottom1-1.vue b/src/views/home/components/provincial/Bottom1-1.vue
index c0b5743a..7532738d 100644
--- a/src/views/home/components/provincial/Bottom1-1.vue
+++ b/src/views/home/components/provincial/Bottom1-1.vue
@@ -2,6 +2,9 @@
@@ -9,11 +12,13 @@
import TitleBox from '../TitleBox'
import * as echarts from 'echarts'
import { getEquipmentStatusApi } from '@/api/wsScreen/index'
+import EquipStatusMore from '@/views/home/components/provincial/Dialog/EquipStatusMore'
export default {
name: 'Bottom1-1',
components: {
TitleBox,
+ EquipStatusMore,
},
data() {
return {
@@ -25,7 +30,7 @@ export default {
},
methods: {
handleMore() {
- console.log('🚀 ~ methods.handleMore:')
+ this.$refs.equipStatusMore.openDialog()
},
async getList() {
try {
diff --git a/src/views/home/components/provincial/Bottom1-2.vue b/src/views/home/components/provincial/Bottom1-2.vue
index 65f0a86b..de99e455 100644
--- a/src/views/home/components/provincial/Bottom1-2.vue
+++ b/src/views/home/components/provincial/Bottom1-2.vue
@@ -28,17 +28,21 @@
+
+
+
+
diff --git a/src/views/home/components/provincial/Dialog/EquipItemMore.vue b/src/views/home/components/provincial/Dialog/EquipItemMore.vue
new file mode 100644
index 00000000..7d6bb89f
--- /dev/null
+++ b/src/views/home/components/provincial/Dialog/EquipItemMore.vue
@@ -0,0 +1,184 @@
+
+
+
+
+
+
+
diff --git a/src/views/home/components/provincial/Dialog/EquipStatusMore.vue b/src/views/home/components/provincial/Dialog/EquipStatusMore.vue
new file mode 100644
index 00000000..ece5e43a
--- /dev/null
+++ b/src/views/home/components/provincial/Dialog/EquipStatusMore.vue
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
装备状态
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ 在库
+ 自用
+ 共享
+ 退役
+ 维修
+
+
+
+ {{ getFeatureValue(row, column.prop) }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/provincial/Dialog/EquipUsageRateMore.vue b/src/views/home/components/provincial/Dialog/EquipUsageRateMore.vue
new file mode 100644
index 00000000..2e60cd5e
--- /dev/null
+++ b/src/views/home/components/provincial/Dialog/EquipUsageRateMore.vue
@@ -0,0 +1,115 @@
+
+
+
+
+
+
+
装备在用率统计
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/provincial/Dialog/ProEquipMore.vue b/src/views/home/components/provincial/Dialog/ProEquipMore.vue
new file mode 100644
index 00000000..4fea797c
--- /dev/null
+++ b/src/views/home/components/provincial/Dialog/ProEquipMore.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
工程在用装备情况
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/provincial/Dialog/TotalPriceMore.vue b/src/views/home/components/provincial/Dialog/TotalPriceMore.vue
new file mode 100644
index 00000000..388f062b
--- /dev/null
+++ b/src/views/home/components/provincial/Dialog/TotalPriceMore.vue
@@ -0,0 +1,143 @@
+
+
+
+
+
+
+
diff --git a/src/views/home/components/provincial/Dialog/UnitEquipConfig.vue b/src/views/home/components/provincial/Dialog/UnitEquipConfig.vue
new file mode 100644
index 00000000..066339b5
--- /dev/null
+++ b/src/views/home/components/provincial/Dialog/UnitEquipConfig.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
单位装备配置
+
+
+
+
+
+ {{ row.price || 0 }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/provincial/Dialog/UsageRateMore.vue b/src/views/home/components/provincial/Dialog/UsageRateMore.vue
new file mode 100644
index 00000000..71ec6fe2
--- /dev/null
+++ b/src/views/home/components/provincial/Dialog/UsageRateMore.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
各单位在用率情况
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/home/components/provincial/Map/assets/img/dialog.png b/src/views/home/components/provincial/Map/assets/img/dialog.png
index 8d82297e..3486634c 100644
Binary files a/src/views/home/components/provincial/Map/assets/img/dialog.png and b/src/views/home/components/provincial/Map/assets/img/dialog.png differ
diff --git a/src/views/home/components/provincial/Top1.vue b/src/views/home/components/provincial/Top1.vue
index 0c5ae87c..6ac2347d 100644
--- a/src/views/home/components/provincial/Top1.vue
+++ b/src/views/home/components/provincial/Top1.vue
@@ -16,7 +16,7 @@
-
@@ -146,6 +153,10 @@ export default {
height: 203px;
border-radius: 5px;
}
+.bt-1,
+.bt-2 {
+ cursor: pointer;
+}
.img-box {
width: 54px;
height: 54px;
diff --git a/src/views/system/ledger/components/LedgerDialog.vue b/src/views/system/ledger/components/LedgerDialog.vue
new file mode 100644
index 00000000..9737587a
--- /dev/null
+++ b/src/views/system/ledger/components/LedgerDialog.vue
@@ -0,0 +1,218 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 多个选项用逗号分隔,例如:选项1,选项2,选项3
+
+
+
+
+
+ 必填
+ 选填
+
+
+
+
+
+
+ 启用
+ 停用
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/ledger/detail.vue b/src/views/system/ledger/detail.vue
new file mode 100644
index 00000000..c7f9843a
--- /dev/null
+++ b/src/views/system/ledger/detail.vue
@@ -0,0 +1,220 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 多个选项用逗号分隔,例如:选项1,选项2,选项3
+
+
+
+
+
+ 必填
+ 选填
+
+
+
+
+
+
+ 启用
+ 停用
+
+
+
+
+
+ 是
+ 否
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/views/system/ledger/index.vue b/src/views/system/ledger/index.vue
new file mode 100644
index 00000000..739c57e3
--- /dev/null
+++ b/src/views/system/ledger/index.vue
@@ -0,0 +1,293 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 查询
+ 重置
+
+
+
+
+
+
+
+
+
+
+
+ 新增
+
+
+
+
+
+
+
+
+
+ {{ getBusinessTypeLabel(scope.row.fieldType) }}
+
+
+
+
+
+
+ {{ scope.row.isRequired == '1' ? '必填' : '不必填' }}
+
+
+
+
+
+
+
+ {{ scope.row.status == '1' ? '启用' : '停用' }}
+
+
+
+
+
+
+ 编辑
+ 查看
+ 删除
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+