From 4d2ea0374502ccc3066307ff67e4c38adb3ccecc Mon Sep 17 00:00:00 2001
From: lzhe <181968431@qq.com>
Date: 星期日, 03 十一月 2024 13:36:13 +0800
Subject: [PATCH] 1
---
src/views/mdc/configuration.vue | 19 ++++++++++---------
1 files changed, 10 insertions(+), 9 deletions(-)
diff --git a/src/views/mdc/configuration.vue b/src/views/mdc/configuration.vue
index 8a93091..4cc3f01 100644
--- a/src/views/mdc/configuration.vue
+++ b/src/views/mdc/configuration.vue
@@ -1,7 +1,7 @@
<!--
* @Date: 2024-04-09 22:11:21
- * @LastEditors: Sneed
- * @LastEditTime: 2024-04-18 00:00:27
+ * @LastEditors: lzhe lzhe@example.com
+ * @LastEditTime: 2024-10-31 17:29:35
* @FilePath: /belleson-frontend/Users/mache/Documents/demo/cps-web/src/views/mdc/configuration.vue
* 搴旂敤璁剧疆
-->
@@ -9,16 +9,16 @@
<el-main>
<el-card shadow="never">
<el-tabs :tab-position="'left'" class="demo-tabs">
- <el-tab-pane label="瀹炴椂鐪嬫澘鏌ヨ缁勮缃�">
+ <el-tab-pane label="瀹炴椂鐪嬫澘鏌ヨ缁勮缃�" v-if="$route.query.isShowSearch == 1">
<Board />
</el-tab-pane>
- <el-tab-pane label="鐘舵�佸拰缁╂晥鏃堕棿璁剧疆">
+ <el-tab-pane label="鐘舵�佸拰缁╂晥鏃堕棿璁剧疆" v-if="true">
<Status />
</el-tab-pane>
<el-tab-pane label="鏁堢巼缁熻璁剧疆">
<Efficiency />
</el-tab-pane>
- <el-tab-pane label="閲囬泦鏁版嵁鏍囩璁剧疆">
+ <!-- <el-tab-pane label="閲囬泦鏁版嵁鏍囩璁剧疆">
<scFormTable ref="table1" v-model="Tabledata" stripe hideDelete :addTemplate="addTemplate">
<el-table-column label="鏁版嵁鏍囩" prop="usageName">
<template #default="scope">
@@ -53,11 +53,12 @@
<template #default="scope">
<el-button v-show="!scope.row.id || scope.row.isEdit"
@click="add(scope.row)">淇濆瓨</el-button>
- <el-button v-show="!scope.row.isEdit" @click="edit(scope.row)">缂栬緫</el-button>
+ <el-button v-show="!scope.row.isEdit && scope.row.collectType > 7"
+ @click="edit(scope.row)">缂栬緫</el-button>
</template>
</el-table-column>
</scFormTable>
- </el-tab-pane>
+ </el-tab-pane> -->
</el-tabs>
</el-card>
</el-main>
@@ -101,7 +102,7 @@
},
methods: {
getList() {
- this.$HTTP.get('/api/blade-cps/workstation-wcs-usage/list').then(res => {
+ this.$HTTP.get('/api/smis/workstation-wcs-usage/list').then(res => {
if (res.code === 200) {
this.Tabledata = res.data.map(item => {
return {
@@ -124,7 +125,7 @@
}
},
add(row) {
- let url = '/api/blade-cps/workstation-wcs-usage'
+ let url = '/api/smis/workstation-wcs-usage'
let data = {
...row
}
--
Gitblit v1.9.3