瀏覽代碼

修复bug6-19

liujiejie 1 年之前
父節點
當前提交
a9fe10f23f

+ 2 - 1
src/views/performance/batchMag.vue

@@ -1,7 +1,7 @@
 <!--
  * @Author: your name
  * @Date: 2024-05-27 09:23:37
- * @LastEditTime: 2024-06-17 16:40:01
+ * @LastEditTime: 2024-06-18 16:08:24
  * @LastEditors: bogon
  * @Description: In User Settings Edit
  * @FilePath: /performance-test/src/views/performance/batchMag.vue
@@ -120,6 +120,7 @@
               @click="deleted(scope.row)"
               type="text"
               size="small"
+              :disabled="scope.row.batchState == 1"
               >删除</el-button
             >
           </template>

+ 1 - 0
src/views/system/menuMag/index.vue

@@ -114,6 +114,7 @@
               @click="deleted(scope.row)"
               type="text"
               size="small"
+              :disabled="scope.row.permissionState == 1"
               >删除</el-button
             >
           </template>

+ 1 - 1
src/views/system/roleMag/index.vue

@@ -137,12 +137,12 @@
               size="small"
               >停用</el-button
             >
-
             <el-button
               style="color: #f00"
               @click="deleted(scope.row)"
               type="text"
               size="small"
+              :disabled="scope.row.roleAvailable == 1"
               >删除</el-button
             >
           </template>

+ 1 - 0
src/views/system/userMag/index.vue

@@ -121,6 +121,7 @@
               @click="deleted(scope.row)"
               type="text"
               size="small"
+              :disabled="scope.row.state == 1"
               >删除</el-button
             >
           </template>

+ 2 - 2
vue.config.js

@@ -66,8 +66,8 @@ module.exports = {
       "/api": {
         // target: "http://192.168.5.4:16200", // 石月
         // target: "http://192.168.50.235:16200", //内网
-        // target: "http://192.168.5.15:16200",
-        target: "http://106.120.102.238:16600", //外网
+        target: "http://192.168.5.15:16200",
+        // target: "http://106.120.102.238:16600", //外网
         changeOrigin: true,
         pathRewrite: {
           "^/api": "", // 需要regit write重写的,