From 6a415a072a98d64d2f95d16eef73b6d7270b8d56 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期六, 30 五月 2026 15:14:25 +0800
Subject: [PATCH] 新疆马铃薯 1.首页问题:挪新系统ui,需要确认一下页面数据完整。 2.协同办公:挪新系统 3.营销管理:客户往来取消回款金额字段,改为点击左侧客户时显示与该客户的所有订单信息,以及发货情况。销售可以选好对应的采购订单方便质量追溯。 4.采购管理:供应商往来同上逻辑,显示是否收货,也加上采购退货和采购报表功能。 5.采购加上设备备件选项,设备备件入库到备件库存。设备,仓储不足时做采购提醒。 6.仓储物流:得区分成品库和原料库(不存在半成品,成品只有一个产品,很好确认),原材料需要有批号,采集原料库需要做好仓库字段,让他们可以区分哪个仓库,然后把数采设备信息做一个实时的显示。总库存显示好当前存在的批次信息。 7.质量:只有不通过才需要填写对应的数据信息。在外侧做好选择通过不通过。过程,出厂检验无法对应到生产订单,那就对应到销售订单。 8.决策分析:基础数据分析和进销存分析,质量数据分析需要重新设计
---
src/views/monitor/cache/list.vue | 97 +++++++++++++++++++++++++-----------------------
1 files changed, 51 insertions(+), 46 deletions(-)
diff --git a/src/views/monitor/cache/list.vue b/src/views/monitor/cache/list.vue
index fbdcf0d..77baec4 100644
--- a/src/views/monitor/cache/list.vue
+++ b/src/views/monitor/cache/list.vue
@@ -4,10 +4,11 @@
<el-col :span="8">
<el-card style="height: calc(100vh - 125px)">
<template #header>
- <span>缂撳瓨鍒楄〃</span>
+ <Collection style="width: 1em; height: 1em; vertical-align: middle;" /> <span style="vertical-align: middle;">缂撳瓨鍒楄〃</span>
<el-button
style="float: right; padding: 3px 0"
- type="text"
+ link
+ type="primary"
icon="Refresh"
@click="refreshCacheNames()"
></el-button>
@@ -48,7 +49,8 @@
>
<template #default="scope">
<el-button
- type="text"
+ link
+ type="primary"
icon="Delete"
@click="handleClearCacheName(scope.row)"
></el-button>
@@ -61,10 +63,11 @@
<el-col :span="8">
<el-card style="height: calc(100vh - 125px)">
<template #header>
- <span>閿悕鍒楄〃</span>
+ <Key style="width: 1em; height: 1em; vertical-align: middle;" /> <span style="vertical-align: middle;">閿悕鍒楄〃</span>
<el-button
style="float: right; padding: 3px 0"
- type="text"
+ link
+ type="primary"
icon="Refresh"
@click="refreshCacheKeys()"
></el-button>
@@ -97,7 +100,8 @@
>
<template #default="scope">
<el-button
- type="text"
+ link
+ type="primary"
icon="Delete"
@click="handleClearCacheKey(scope.row)"
></el-button>
@@ -110,16 +114,17 @@
<el-col :span="8">
<el-card :bordered="false" style="height: calc(100vh - 125px)">
<template #header>
- <span>缂撳瓨鍐呭</span>
+ <Document style="width: 1em; height: 1em; vertical-align: middle;" /> <span style="vertical-align: middle;">缂撳瓨鍐呭</span>
<el-button
style="float: right; padding: 3px 0"
- type="text"
+ link
+ type="primary"
icon="Refresh"
@click="handleClearCacheAll()"
>娓呯悊鍏ㄩ儴</el-button
>
</template>
- <el-form :model="form">
+ <el-form :model="cacheForm">
<el-row :gutter="32">
<el-col :offset="1" :span="22">
<el-form-item label="缂撳瓨鍚嶇О:" prop="cacheName">
@@ -150,92 +155,92 @@
</template>
<script setup name="CacheList">
-import { listCacheName, listCacheKey, getCacheValue, clearCacheName, clearCacheKey, clearCacheAll } from "@/api/monitor/cache";
+import { listCacheName, listCacheKey, getCacheValue, clearCacheName, clearCacheKey, clearCacheAll } from "@/api/monitor/cache"
-const { proxy } = getCurrentInstance();
+const { proxy } = getCurrentInstance()
-const cacheNames = ref([]);
-const cacheKeys = ref([]);
-const cacheForm = ref({});
-const loading = ref(true);
-const subLoading = ref(false);
-const nowCacheName = ref("");
-const tableHeight = ref(window.innerHeight - 200);
+const cacheNames = ref([])
+const cacheKeys = ref([])
+const cacheForm = ref({})
+const loading = ref(true)
+const subLoading = ref(false)
+const nowCacheName = ref("")
+const tableHeight = ref(window.innerHeight - 200)
/** 鏌ヨ缂撳瓨鍚嶇О鍒楄〃 */
function getCacheNames() {
- loading.value = true;
+ loading.value = true
listCacheName().then(response => {
- cacheNames.value = response.data;
- loading.value = false;
- });
+ cacheNames.value = response.data
+ loading.value = false
+ })
}
/** 鍒锋柊缂撳瓨鍚嶇О鍒楄〃 */
function refreshCacheNames() {
- getCacheNames();
- proxy.$modal.msgSuccess("鍒锋柊缂撳瓨鍒楄〃鎴愬姛");
+ getCacheNames()
+ proxy.$modal.msgSuccess("鍒锋柊缂撳瓨鍒楄〃鎴愬姛")
}
/** 娓呯悊鎸囧畾鍚嶇О缂撳瓨 */
function handleClearCacheName(row) {
clearCacheName(row.cacheName).then(response => {
- proxy.$modal.msgSuccess("娓呯悊缂撳瓨鍚嶇О[" + nowCacheName.value + "]鎴愬姛");
- getCacheKeys();
- });
+ proxy.$modal.msgSuccess("娓呯悊缂撳瓨鍚嶇О[" + row.cacheName + "]鎴愬姛")
+ getCacheKeys()
+ })
}
/** 鏌ヨ缂撳瓨閿悕鍒楄〃 */
function getCacheKeys(row) {
- const cacheName = row !== undefined ? row.cacheName : nowCacheName.value;
+ const cacheName = row !== undefined ? row.cacheName : nowCacheName.value
if (cacheName === "") {
- return;
+ return
}
- subLoading.value = true;
+ subLoading.value = true
listCacheKey(cacheName).then(response => {
- cacheKeys.value = response.data;
- subLoading.value = false;
- nowCacheName.value = cacheName;
- });
+ cacheKeys.value = response.data
+ subLoading.value = false
+ nowCacheName.value = cacheName
+ })
}
/** 鍒锋柊缂撳瓨閿悕鍒楄〃 */
function refreshCacheKeys() {
- getCacheKeys();
- proxy.$modal.msgSuccess("鍒锋柊閿悕鍒楄〃鎴愬姛");
+ getCacheKeys()
+ proxy.$modal.msgSuccess("鍒锋柊閿悕鍒楄〃鎴愬姛")
}
/** 娓呯悊鎸囧畾閿悕缂撳瓨 */
function handleClearCacheKey(cacheKey) {
clearCacheKey(cacheKey).then(response => {
- proxy.$modal.msgSuccess("娓呯悊缂撳瓨閿悕[" + cacheKey + "]鎴愬姛");
- getCacheKeys();
- });
+ proxy.$modal.msgSuccess("娓呯悊缂撳瓨閿悕[" + cacheKey + "]鎴愬姛")
+ getCacheKeys()
+ })
}
/** 鍒楄〃鍓嶇紑鍘婚櫎 */
function nameFormatter(row) {
- return row.cacheName.replace(":", "");
+ return row.cacheName.replace(":", "")
}
/** 閿悕鍓嶇紑鍘婚櫎 */
function keyFormatter(cacheKey) {
- return cacheKey.replace(nowCacheName.value, "");
+ return cacheKey.replace(nowCacheName.value, "")
}
/** 鏌ヨ缂撳瓨鍐呭璇︾粏 */
function handleCacheValue(cacheKey) {
getCacheValue(nowCacheName.value, cacheKey).then(response => {
- cacheForm.value = response.data;
- });
+ cacheForm.value = response.data
+ })
}
/** 娓呯悊鍏ㄩ儴缂撳瓨 */
function handleClearCacheAll() {
clearCacheAll().then(response => {
- proxy.$modal.msgSuccess("娓呯悊鍏ㄩ儴缂撳瓨鎴愬姛");
- });
+ proxy.$modal.msgSuccess("娓呯悊鍏ㄩ儴缂撳瓨鎴愬姛")
+ })
}
-getCacheNames();
+getCacheNames()
</script>
--
Gitblit v1.9.3