zhangjie %!s(int64=2) %!d(string=hai) anos
pai
achega
be6ec70e55

+ 1 - 1
src/constants/app.js

@@ -8,7 +8,7 @@ if (process.env.VUE_APP_SELF_DEFINE_DOMAIN === "true") {
 if (!domain) domain = window.location.hostname.split(".")[0];
 export const ORG_CODE = domain;
 
-export const APP_TITLE = "运维管理中心";
+export const APP_TITLE = "应用配置管理";
 
 const ADMIN_CODE = "admin";
 

+ 3 - 2
src/modules/admin/components/AppConfigManage.vue

@@ -493,8 +493,9 @@ export default {
       this.curConfigItem = { ...row, ...this.filter };
       this.$refs.ModifyAppConfigItem.open();
     },
-    baselineItemModified(data) {
-      console.log(data);
+    baselineItemModified() {
+      this.setCacheBaselineList([]);
+      this.search();
     },
     baselineModified(data) {
       this.setCacheBaselineList(data);

+ 1 - 1
src/modules/admin/components/ModifyApp.vue

@@ -15,7 +15,7 @@
       :model="modalForm"
       :rules="rules"
       :key="modalForm.id"
-      label-width="110px"
+      label-width="60px"
     >
       <el-form-item prop="name" label="名称:">
         <el-input

+ 1 - 1
src/modules/admin/components/ModifyAppEnv.vue

@@ -15,7 +15,7 @@
       :model="modalForm"
       :rules="rules"
       :key="modalForm.id"
-      label-width="80px"
+      label-width="60px"
     >
       <el-form-item prop="name" label="名称:">
         <el-input

+ 1 - 1
src/modules/admin/components/ModifyAppModule.vue

@@ -15,7 +15,7 @@
       :model="modalForm"
       :rules="rules"
       :key="modalForm.id"
-      label-width="80px"
+      label-width="60px"
     >
       <el-form-item prop="name" label="名称:">
         <el-input

+ 1 - 1
src/modules/admin/components/ModifyAppVersion.vue

@@ -15,7 +15,7 @@
       :model="modalForm"
       :rules="rules"
       :key="modalForm.id"
-      label-width="80px"
+      label-width="60px"
       @submit.native.prevent
     >
       <el-form-item prop="name" label="名称:">

+ 1 - 1
src/modules/admin/components/ModifyUser.vue

@@ -14,7 +14,7 @@
       ref="modalFormComp"
       :model="modalForm"
       :rules="rules"
-      label-position="top"
+      label-width="80px"
     >
       <el-form-item prop="loginName" label="用户名:">
         <el-input

+ 1 - 1
src/modules/admin/components/ResetPwd.vue

@@ -15,7 +15,7 @@
       ref="modalFormComp"
       :model="modalForm"
       :rules="resetRules"
-      label-position="top"
+      label-width="90px"
     >
       <el-form-item prop="password" label="新密码:">
         <el-input

+ 0 - 62
src/modules/admin/components/baselineConfig.json

@@ -1,62 +0,0 @@
-[
-  {
-    "appId": 2,
-    "versionId": 2,
-    "moduleId": 1,
-    "envId": 0,
-    "key": "com.qmth.api.global-auth",
-    "value": "false",
-    "comment": null,
-    "mode": "MUTABLE",
-    "createTime": 1666941781910,
-    "updateTime": 1666941781910
-  },
-  {
-    "appId": 2,
-    "versionId": 2,
-    "moduleId": 1,
-    "envId": 0,
-    "key": "com.qmth.datasource.password",
-    "value": "scan",
-    "comment": null,
-    "mode": "MUTABLE",
-    "createTime": 1666941781910,
-    "updateTime": 1666941781910
-  },
-  {
-    "appId": 2,
-    "versionId": 2,
-    "moduleId": 1,
-    "envId": 0,
-    "key": "com.qmth.datasource.url",
-    "value": "jdbc:mysql://192.168.10.83:3306/ops_db?useUnicode=true&characterEncoding=UTF-8",
-    "comment": null,
-    "mode": "MUTABLE",
-    "createTime": 1666941781910,
-    "updateTime": 1666941781910
-  },
-  {
-    "appId": 2,
-    "versionId": 2,
-    "moduleId": 1,
-    "envId": 0,
-    "key": "com.qmth.datasource.username",
-    "value": "scan",
-    "comment": null,
-    "mode": "MUTABLE",
-    "createTime": 1666941781910,
-    "updateTime": 1666941781910
-  },
-  {
-    "appId": 2,
-    "versionId": 2,
-    "moduleId": 1,
-    "envId": 0,
-    "key": "server.port",
-    "value": "8080",
-    "comment": null,
-    "mode": "MUTABLE",
-    "createTime": 1666941781910,
-    "updateTime": 1666941781910
-  }
-]

+ 1 - 0
src/modules/login/views/Login.vue

@@ -99,6 +99,7 @@ export default {
         this.$message.error("用户数据错误!");
         return;
       }
+      data.name = this.loginModel.loginName;
       this.$ls.set("token", data.token);
       this.$ls.set("user", data);
       this.$router.push({

+ 1 - 1
vue.config.js

@@ -16,7 +16,7 @@ var config = {
   chainWebpack: config => {
     // webpack-chain配置手册:github.com/neutrinojs/webpack-chain#getting-started
     config.plugin("html").tap(args => {
-      args[0].title = "运维管理中心";
+      args[0].title = "应用配置管理";
       return args;
     });
   }