From 3e091224ab26252d8624b42b461ba773ee8bee0f Mon Sep 17 00:00:00 2001
From: gaoshp <291585735@qq.com>
Date: 星期日, 03 十一月 2024 19:16:31 +0800
Subject: [PATCH] update

---
 src/views/console/soam/oss-system.vue |   76 +++++++++++++++++++------------------
 1 files changed, 39 insertions(+), 37 deletions(-)

diff --git a/src/views/console/soam/oss-system.vue b/src/views/console/soam/oss-system.vue
index b1f3fed..4750594 100644
--- a/src/views/console/soam/oss-system.vue
+++ b/src/views/console/soam/oss-system.vue
@@ -2,7 +2,7 @@
  * @Author: lzhe lzhe@example.com
  * @Date: 2024-03-26 10:28:33
  * @LastEditors: lzhe lzhe@example.com
- * @LastEditTime: 2024-05-08 16:28:34
+ * @LastEditTime: 2024-10-24 17:53:31
  * @FilePath: /smart-web/src/views/master/person/main/index.vue
  * @Description: 杩欐槸榛樿璁剧疆,璇疯缃甡customMade`, 鎵撳紑koroFileHeader鏌ョ湅閰嶇疆 杩涜璁剧疆: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 -->
@@ -36,7 +36,7 @@
 					</el-row>
 				</el-form>
 			</el-tab-pane>
-			<el-tab-pane label="浼佷笟LOGO">
+			<!-- <el-tab-pane label="浼佷笟LOGO">
 				<div class="tabTitle">浼佷笟LOGO</div>
 				<span class="logotitle">涓婁紶logo</span>
 				<div class="logo1">
@@ -59,8 +59,8 @@
 				<ul class="show-list">
 					<li :class="{active: active.isA}" @click="changeLi('isA')">
 						<div class="edit" @click="editBtn('isA')">缂栬緫</div>
-						<div class="logo">
-							<img src="http://116.63.155.153:83/api/static/images/cps.png">
+						<div class="logo" style="background-color: seagreen;">
+							CPS
 						</div>
 						<div class="content">
 							<div class="name">CPS</div>
@@ -69,8 +69,8 @@
 					</li>
 					<li :class="{active: active.isB}" @click="changeLi('isB')">
 						<div class="edit" @click="editBtn('isB')">缂栬緫</div>
-						<div class="logo">
-							<img src="http://116.63.155.153:83/api/static/images/vision.png">
+						<div class="logo" style="background-color: dodgerblue;">
+							澶у睆
 						</div>
 						<div class="content">
 							<div class="name">澶у睆</div>
@@ -79,8 +79,8 @@
 					</li>
 					<li :class="{active: active.isC}" @click="changeLi('isC')">
 						<div class="edit" @click="editBtn('isC')">缂栬緫</div>
-						<div class="logo">
-							<img src="http://116.63.155.153:83/api/static/images/hmi.png">
+						<div class="logo" style="background-color: darkgoldenrod;">
+							HMI
 						</div>
 						<div class="content">
 							<div class="name">HMI</div>
@@ -128,7 +128,7 @@
 						</el-form-item>
 					</el-form>
 				 </el-card>
-			</el-tab-pane>
+			</el-tab-pane> -->
 			<el-tab-pane label="鎺堟潈">
 				<div class="tabTitle">鎺堟潈</div>
 				<div class="license-detail">
@@ -139,7 +139,7 @@
 					<div><span class="left">璁惧鏍囪瘑锛�</span><span class="licenseCopy" @click="licenseCopy">澶嶅埗</span></div>
 				</div>
 			</el-tab-pane>
-			<el-tab-pane label="鏈嶅姟闆嗘垚">
+			<!-- <el-tab-pane label="鏈嶅姟闆嗘垚">
 				<div class="tabTitle">鏈嶅姟闆嗘垚</div>
 				<div class="card">
 					<div class="top">
@@ -193,8 +193,8 @@
 						</div>
 					</div>
         		</div>
-			</el-tab-pane>
-			<el-tab-pane label="DMP鏃ュ織">
+			</el-tab-pane> -->
+			<!-- <el-tab-pane label="DMP鏃ュ織">
 				<div class="tabTitle">DMP鏃ュ織</div>
 				<el-form :inline="true" :model="DMPsearchData" label-width="80px">
 					<el-row>
@@ -236,7 +236,7 @@
 							<el-table-column prop="test" label="绫诲瀷"></el-table-column>
 							<el-table-column fixed="right" label="鎿嶄綔">
 								<template #default="scope">
-									<!-- <el-button text type="primary" size="small" @click="showDrawer(scope.row, scope.$index)">锛燂紵</el-button> -->
+									<el-button text type="primary" size="small" @click="showDrawer(scope.row, scope.$index)">锛燂紵</el-button>
 								</template>
 							</el-table-column>
 						</el-table>
@@ -251,7 +251,7 @@
 					layout="total, sizes, prev, pager, next, jumper"
 					:total="DMPsearchData.total">
 				</el-pagination>
-			</el-tab-pane>
+			</el-tab-pane> -->
 		</el-tabs>
 		<save-dialog v-if="dialog.save" ref="saveDialog" @success="addOssSuccess" @closed="dialog.save=false"></save-dialog>
 		<!-- 瑙g粦 -->
@@ -354,7 +354,7 @@
 		},
 		methods: {
 			getMachineCodeList() {
-				this.$HTTP.get(`/api/blade-cps/machine/list`).then(res=> {
+				this.$HTTP.get(`/api/smis/machine/list`).then(res=> {
 					if(res.code == 200) {
 						this.machineCodeList = res.data;
 						this.outer(); //鏈嶅姟闆嗘垚
@@ -370,13 +370,13 @@
 				this.getlog();
 			},
 			getlog() {
-				var obj = Object.assign({},this.DMPsearchData);
-				this.$HTTP.post(`/api/blade-dmp-log/log/page?current=${this.DMPsearchData.current}&size=${this.DMPsearchData.size}`,obj).then(res=> {
-					if(res.code == 200) {
-						this.DMPtableData = res.data.records;
-						this.DMPsearchData.total = res.data.total;
-					}
-				})
+				// var obj = Object.assign({},this.DMPsearchData);
+				// this.$HTTP.post(`/api/blade-dmp-log/log/page?current=${this.DMPsearchData.current}&size=${this.DMPsearchData.size}`,obj).then(res=> {
+				// 	if(res.code == 200) {
+				// 		this.DMPtableData = res.data.records;
+				// 		this.DMPsearchData.total = res.data.total;
+				// 	}
+				// })
 			},
 			relieveModelSave(type) {  //瑙g粦
 				this.$HTTP.get(`/api/blade-sync/outer-app-config/unbind/${this.relieveType}`).then(res=> {
@@ -436,21 +436,21 @@
 				});
 			},
 			license() {
-				this.$HTTP.get("/api/blade-cps/init/license-detail").then(res=> {
+				this.$HTTP.get("/api/smis/init/license-detail").then(res=> {
 					if(res.code == 200) {
 						res.data.moduleNames.VISION = JSON.stringify(res.data.moduleNames.VISION);
 						res.data.moduleNames.CPS = JSON.stringify(res.data.moduleNames.CPS);
 						this.licenseDetail = res.data;
 					}
 				})
-				this.$HTTP.get("/api/blade-cps/init/license-device").then(res=> {  //璁惧鏍囪瘑
+				this.$HTTP.get("/api/smis/init/license-device").then(res=> {  //璁惧鏍囪瘑
 					if(res.code == 200) {
 						this.copyStr = res.data;
 					}
 				})
 			},
 			getFile() {
-				this.$HTTP.get("/api/blade-cps/enterprise/get").then(res=> {
+				this.$HTTP.get("/api/smis/enterprise/get").then(res=> {
 					if(res.code == 200) {
 						this.uploadData = res.data;
 						this.imageUrl1 = res.data.list[0].link;
@@ -478,7 +478,7 @@
 			},
 			handleAvatarSuccess(resp) {
 				var that = this;
-				this.$HTTP.get("/api/blade-cps/enterprise/get").then(res=> {
+				this.$HTTP.get("/api/smis/enterprise/get").then(res=> {
 					if(res.code == 200) {
 						// 鍏堣祴鍊�
 						if(res.data.list.length == 0) res.data.list = [{},{}];
@@ -486,7 +486,7 @@
 						that.imageUrl1 = res.data.list[0].link;
 						that.imageUrl2 = res.data.list[1].link;
 						//娣诲姞鎺ュ彛
-						var url = "/api/blade-cps/enterprise/add";
+						var url = "/api/smis/enterprise/add";
 						if(that.logoType == "0") {
 							var upData = Object.assign({},res.data.list[0]);
 							obj.type = "0";
@@ -496,7 +496,7 @@
 							var upData = Object.assign({},res.data.list[1]);
 						}
 						if(resp.uploadMethod == "edit") {
-							url = "/api/blade-cps/enterprise/edit";
+							url = "/api/smis/enterprise/edit";
 						}
 						that.$HTTP.post(url,upData).then(resJ=> {
 							if(resJ.code == 200) {
@@ -647,16 +647,18 @@
     top: 18px;
     right: 16px;
     font-size: 14px;
-    color: #3b8e8e;
+    color: #409eff;
 }
 .show-list li .logo {
 	width: 66px;
     height: 66px;
     margin-right: 14px;
-}
-.show-list li .logo img{
-	width: 66px;
-    height: 66px;
+	color: #fff;
+	font-size: 18px;
+    text-align: center;
+    line-height: 66px;
+	border-radius: 6px;
+	font-weight: 800;
 }
 .show-list li .lcontent .name{
 	font-weight: 700;
@@ -786,8 +788,8 @@
     top: 20px;
 }
 .card .top .title .taginfo {
-    color: #3b8e8e;
-    border: 1px solid #3b8e8e;
+    color: #409eff;
+    border: 1px solid #409eff;
     border-radius: 4px;
     font-size: 14px;
     margin-left: 10px;
@@ -804,7 +806,7 @@
     padding: 20px;
 }
 .card .bottom .info .img {
-    background-color: #3b8e8e;
+    background-color: #409eff;
     border-radius: 6px;
     display: flex;
     justify-content: center;
@@ -831,7 +833,7 @@
     font-size: 14px;
 }
 .card .bottom .info .info-right .tag span{
-    color: #3b8e8e;
+    color: #409eff;
     cursor: pointer;
     padding: 0 !important;
     min-height: 14px !important;

--
Gitblit v1.9.3