zhaoke 3 年之前
父節點
當前提交
2fe7456969

+ 1 - 1
public/config.js

@@ -1,4 +1,4 @@
 var PLATFROM_CONFIG = {};
-PLATFROM_CONFIG.baseUrl = "http://106.14.243.117:9001" // http请求地址
+PLATFROM_CONFIG.baseUrl = "https://authgateway.fsjtkj.cn/" // http请求地址
 PLATFROM_CONFIG.appSecret = "40t7vcbi5bc1twyihd2dum82yn1mt1kj" //appSecret
 PLATFROM_CONFIG.appId = "unsk1w37910olf8j" //appid

+ 3 - 3
src/components/permissionlist/permissionlist.scss

@@ -29,14 +29,14 @@
         width: 100%;
         height: 100%;
         display: flex;
-        align-items: center;
-        justify-content: space-between;
+        flex-wrap: wrap;
         margin-top: 0;
         margin-bottom: 0;
         padding-left: 0;
         > li {
           display: flex;
-          align-items: center;
+          margin-top: 10px;
+          margin-right: 10px;
           background-size: 100% 100%;
           > .log {
             width: 22px;

+ 2 - 1
src/components/permissiontree/index.vue

@@ -40,7 +40,8 @@
       </div> -->
       <div class="paren_cont">
         <el-scrollbar style="height: 100%">
-          <el-tree :data="data" show-checkbox :check-strictly="true" @check-change="currentChange" @node-click="handleNodeClick" :defaultProps="defaultProps" :expand-on-click-node="false" node-key="AuthId" default-expand-all ref="tree" highlight-current>
+          <!-- <el-tree :data="data" show-checkbox :check-strictly="true" @check-change="currentChange" @node-click="handleNodeClick" :defaultProps="defaultProps" :expand-on-click-node="false" node-key="AuthId" default-expand-all ref="tree" highlight-current> -->
+          <el-tree :data="data" show-checkbox @check-change="currentChange" @node-click="handleNodeClick" :defaultProps="defaultProps" :expand-on-click-node="false" node-key="AuthId" ref="tree" highlight-current>
             <span class="custom-tree-node" slot-scope="{ data }">
               {{ data.AuthName }}
               <div class="logup">

+ 1 - 1
src/views/authorityManagement/components/authorityAppEdit.vue

@@ -160,7 +160,7 @@ export default {
           this.form.name = AppName;
           // this.form.id = AppShowId;
           // this.form.app = AppShowSecret;
-          this.form.id = RequestType;
+          this.form.id = Number(RequestType);
           this.form.app = BodyType;
           this.form.content = AppDesc;
           this.form.url = AppUrl;

+ 2 - 2
src/views/login/index.vue

@@ -18,7 +18,7 @@
           <span class="svg-container">
             <svg-icon style="color:#606266;" icon-class="password" />
           </span>
-          <el-input ref="password" v-model="loginForm.password" show-password placeholder="请输入密码" name="password" tabindex="2" auto-complete="on" />
+          <el-input ref="password" v-model="loginForm.password" show-password placeholder="请输入密码" name="password" tabindex="1" auto-complete="on" />
         </el-form-item>
 
         <div class="flex-wrap">
@@ -132,7 +132,7 @@ export default {
           const params = {
             LoginName: this.loginForm.username,
             LoginPwd: this.loginForm.password,
-            CheckCode: this.loginForm.CheckCode
+            CheckCode: this.loginForm.identify
           }
           this.$store
             .dispatch("user/login", params)