system-clients 3.2.16 → 3.2.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/SystemClient.iml CHANGED
@@ -1,9 +1,9 @@
1
- <?xml version="1.0" encoding="UTF-8"?>
2
- <module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3
- <component name="NewModuleRootManager" inherit-compiler-output="true">
4
- <exclude-output />
5
- <content url="file://$MODULE_DIR$" />
6
- <orderEntry type="inheritedJdk" />
7
- <orderEntry type="sourceFolder" forTests="false" />
8
- </component>
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <module external.linked.project.id="SystemClient" external.linked.project.path="$MODULE_DIR$" external.root.project.path="$MODULE_DIR$" external.system.id="GRADLE" type="JAVA_MODULE" version="4">
3
+ <component name="NewModuleRootManager" inherit-compiler-output="true">
4
+ <exclude-output />
5
+ <content url="file://$MODULE_DIR$" />
6
+ <orderEntry type="inheritedJdk" />
7
+ <orderEntry type="sourceFolder" forTests="false" />
8
+ </component>
9
9
  </module>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "system-clients",
3
- "version": "3.2.16",
3
+ "version": "3.2.19",
4
4
  "description": "系统基础框架",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -89,7 +89,6 @@
89
89
  <!-- <li>{{name}}</li> -->
90
90
  <li>{{ date }}</li>
91
91
  <li @click="openUrl()">售后服务</li>
92
- <li @click="clearCache()">清除缓存</li>
93
92
  <li @click="qrCode=true">APP二维码</li>
94
93
  <li @click="show=true">修改密码</li>
95
94
  <li @click="AddChangeMsgShow=true">系统版本:V3.0</li>
@@ -467,9 +466,6 @@ export default {
467
466
  window.location.reload()
468
467
  }
469
468
  })
470
- },
471
- clearCache() {
472
- this.$resetpost('rs/search/clearCache', { userid: this.$login.f.id }, { resolveMsg: '清除缓存成功', rejectMsg: '清除缓存失败,请重试' })
473
469
  }
474
470
  },
475
471
  computed: {
@@ -1,55 +1,55 @@
1
- <template>
2
- <div class="loadingdata" :class="{'loaderror': show, 'loadsuccess': !show}">
3
- <!-- <h2 style="margin: 0" v-if="show">{{msg}}</h2> -->
4
- <h2 style="margin: 0" v-if="show">参数加载失败,请检查网络状态和服务状态...</h2>
5
- </div>
6
- </template>
7
-
8
- <script>
9
- export default {
10
- title: '加载参数',
11
- data () {
12
- return {
13
- msg: '',
14
- show: false
15
- }
16
- },
17
- props: {
18
- componentName: {}
19
- },
20
- async ready () {
21
- this.$nextTick(() => {
22
- window.addEventListener('message', messageEvent => {
23
- try {
24
- const data = messageEvent.data
25
- console.log('接收到数据', data)
26
- this.$login = Object.assign(this.$login, data.login)
27
- this.$appdata = Object.assign(this.$appdata, data.appdata)
28
- if (!data.page) {
29
- this.$showMessage('没有功能连接, 请配置!')
30
- return
31
- }
32
- this.$goto(data.page)
33
- } catch (e) {
34
- console.log('登陆异常', e)
35
- }
36
- })
37
- })
38
- }
39
- }
40
- </script>
41
- <style media="screen">
42
- .loadingdata {
43
- position: fixed;
44
- background: #fff;
45
- opacity: 0.6;
46
- top: 0;
47
- width: 100%;
48
- }
49
- .loaderror {
50
- opacity: 1;
51
- }
52
- .loadsuccess {
53
- display: none;
54
- }
55
- </style>
1
+ <template>
2
+ <div class="loadingdata" :class="{'loaderror': show, 'loadsuccess': !show}">
3
+ <!-- <h2 style="margin: 0" v-if="show">{{msg}}</h2> -->
4
+ <h2 style="margin: 0" v-if="show">参数加载失败,请检查网络状态和服务状态...</h2>
5
+ </div>
6
+ </template>
7
+
8
+ <script>
9
+ export default {
10
+ title: '加载参数',
11
+ data () {
12
+ return {
13
+ msg: '',
14
+ show: false
15
+ }
16
+ },
17
+ props: {
18
+ componentName: {}
19
+ },
20
+ async ready () {
21
+ this.$nextTick(() => {
22
+ window.addEventListener('message', messageEvent => {
23
+ try {
24
+ const data = messageEvent.data
25
+ console.log('接收到数据', data)
26
+ this.$login = Object.assign(this.$login, data.login)
27
+ this.$appdata = Object.assign(this.$appdata, data.appdata)
28
+ if (!data.page) {
29
+ this.$showMessage('没有功能连接, 请配置!')
30
+ return
31
+ }
32
+ this.$goto(data.page)
33
+ } catch (e) {
34
+ console.log('登陆异常', e)
35
+ }
36
+ })
37
+ })
38
+ }
39
+ }
40
+ </script>
41
+ <style media="screen">
42
+ .loadingdata {
43
+ position: fixed;
44
+ background: #fff;
45
+ opacity: 0.6;
46
+ top: 0;
47
+ width: 100%;
48
+ }
49
+ .loaderror {
50
+ opacity: 1;
51
+ }
52
+ .loadsuccess {
53
+ display: none;
54
+ }
55
+ </style>