Browse Source

上线 修改 账户配置

jiayufei 4 years ago
parent
commit
eeed15c65e

+ 2 - 2
src/views/modules/account-config/account-config-server.js

@@ -3,8 +3,8 @@
  * @author jiayufei
  */
 
-export const urlAcount = 'http://118.24.244.213:8080'; // 线上
+// export const urlAcount = 'http://118.24.244.213:8080'; // 线上
 // export const urlAcount = 'http://apipre.tjyourong.com.cn'; // 预生产
 // export const urlAcount = 'http://192.168.1.43:8080'; // 子安
-// export const urlAcount = 'http://139.186.165.84:8080'; // 测试
+export const urlAcount = 'http://139.186.165.84:8080'; // 测试
 // export const urlAcount = 'http://192.168.1.8:8080'; // 学超

+ 17 - 0
src/views/modules/account-config/account-config.vue

@@ -56,6 +56,8 @@
                     {{ record.accountBudgetMode === '1' ? '不限' : text }}
                 </span>
                 <span slot="action" slot-scope="text, record">
+                    <a @click="handleCopy(record)">复制</a>
+                    <a-divider type="vertical"/>
                     <a @click="handleEdit(record)">编辑</a>
                     <a-divider type="vertical"/>
                     <a @click="handleListDelete(record)">删除</a>
@@ -522,6 +524,21 @@ export default {
                 console.log(error, 'eeee');
             });
         },
+        handleCopy(data) {
+            let that = this;
+            this.$confirm({
+                title: '复制提示',
+                content: '请确认是否复制该账户配置',
+                onOk() {
+                    let params = {
+                        accountModal: 'copy',
+                        id: data.id
+                    };
+                    localStorage.setItem('queryList', JSON.stringify(params));
+                    that.$router.push('/account-config/components/configuration-copy');
+                }
+            });
+        },
         handleListDelete(data) {
             let that = this;
             this.$confirm({

File diff suppressed because it is too large
+ 3101 - 0
src/views/modules/account-config/components/configuration-copy.vue


+ 2 - 2
src/views/modules/copy-library/copy-library-server.js

@@ -3,8 +3,8 @@
  * @author jiayufei
  */
 
-export const urlAcount = 'http://118.24.244.213:8080'; // 线上
+// export const urlAcount = 'http://118.24.244.213:8080'; // 线上
 // export const urlAcount = 'http://apipre.tjyourong.com.cn'; // 预生产
 // export const urlAcount = 'http://192.168.1.43:8080'; // 子安
-// export const urlAcount = 'http://139.186.165.84:8080'; // 测试
+export const urlAcount = 'http://139.186.165.84:8080'; // 测试
 // export const urlAcount = 'http://192.168.1.8:8080'; // 学超

+ 2 - 2
src/views/modules/headline-view/headline-view-server.js

@@ -3,8 +3,8 @@
  * @author jiayufei
  */
 
-export const urlAcount = 'http://118.24.244.213:8080'; // 线上
+// export const urlAcount = 'http://118.24.244.213:8080'; // 线上
 // export const urlAcount = 'http://apipre.tjyourong.com.cn'; // 预生产
 // export const urlAcount = 'http://192.168.1.43:8080'; // 子安
-// export const urlAcount = 'http://139.186.165.84:8080'; // 测试
+export const urlAcount = 'http://139.186.165.84:8080'; // 测试
 // export const urlAcount = 'http://192.168.1.8:8080'; // 学超

+ 2 - 2
src/views/modules/user-manage-operation/user-manage-operation-server.js

@@ -3,9 +3,9 @@
  * @author jiayufei
  */
 
- export const urlAcount = 'http://118.24.244.213:8080'; // 线上
+//  export const urlAcount = 'http://118.24.244.213:8080'; // 线上
  // export const urlAcount = 'http://apipre.tjyourong.com.cn'; // 预生产
  // export const urlAcount = 'http://192.168.1.43:8080'; // 子安
-//  export const urlAcount = 'http://139.186.165.84:8080'; // 测试
+ export const urlAcount = 'http://139.186.165.84:8080'; // 测试
 //  export const urlAcount = 'http://192.168.1.8:8080'; // 学超
  

+ 2 - 2
vue.config.js

@@ -80,7 +80,7 @@ module.exports = {
         // target: 'http://192.168.1.219:8081', //请求本地 需要jeecg-boot后台项目  赵西安
         // target: 'http://192.168.1.193:8080', //请求本地 需要jeecg-boot后台项目  李煜一
         // target: 'http://192.168.1.193:31012', //请求本地 需要jeecg-boot后台项目  李煜一
-         target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
+        //  target: 'http://api.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'https://trac.tjyourong.com.cn', //请求本地 需要jeecg-boot后台项目
         // target: 'http://39.106.184.70:8088/', //请求本地 需要jeecg-boot后台项目
         //  target: 'http://adsp.tjyourong.com.cn/', //请求本地 需要jeecg-boot后台项目
@@ -88,7 +88,7 @@ module.exports = {
         // target:'http://118.24.244.213:8804',
         // target: 'http://192.168.1.43:8806', // 子安
         // target: 'http://192.168.1.8:8806', // 学超
-    //    target:'http://139.186.165.84:8806', //测试
+       target:'http://139.186.165.84:8806', //测试
         // target:'http://apipre.tjyourong.com.cn', //预生产
 
         ws: false,