xiuli.gao 2 years ago
parent
commit
5a5140add1

+ 1 - 1
index.html

@@ -7,4 +7,4 @@
7 7
         hm.src = "https://hm.baidu.com/hm.js?d61b9e2caf4d46ccda7471b5385e2333";
8 8
         var s = document.getElementsByTagName("script")[0];
9 9
         s.parentNode.insertBefore(hm, s);
10
-      })();</script><link href=./static/css/app.5bfeb2fc0bdf757cae0fc2fecbeace8b.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.cd223a97a36de27ae53c.js></script><script type=text/javascript src=./static/js/app.55ee4ba3afffa2f452cb.js></script></body></html>
10
+      })();</script><link href=./static/css/app.f2b5a67724ad26262d2d5b8575b0c2c8.css rel=stylesheet></head><body><div id=app></div><script type=text/javascript src=./static/js/manifest.1b6815fd7cc51857b5ea.js></script><script type=text/javascript src=./static/js/app.c2e5521d1fbb954e90f5.js></script></body></html>

+ 14 - 2
project/src/components/warningManage/customerWarning.vue

@@ -99,7 +99,9 @@ export default {
99 99
           rule_id: item.rule_id,
100 100
           set_val: item.setval,
101 101
           group_id: item.group_id,
102
-          enable: item.enable == 1 ? 0 : 1
102
+          enable: item.enable == 1 ? 0 : 1,
103
+          is_system_admin: this.$cookie.getCookie('isSuperManage') == 1 ? 1 : '',
104
+          sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : ''
103 105
         }).then((res) => {
104 106
           var res = res.data;
105 107
           this.$loading(this.$loadingConfig).close();
@@ -149,7 +151,9 @@ export default {
149 151
         rule_id: this.rule_id,
150 152
         set_val: this.warningNum,
151 153
         group_id: this.warninggroup_val,
152
-        enable: this.enable ? 1 : 0
154
+        enable: this.enable ? 1 : 0,
155
+        is_system_admin: this.$cookie.getCookie('isSuperManage') == 1 ? 1 : '',
156
+        sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : ''
153 157
       }).then((res) => {
154 158
         var res = res.data
155 159
         if (res && res.errno == 0) {
@@ -169,6 +173,10 @@ export default {
169 173
     get_warninggroupList () {
170 174
       this.loading = true
171 175
       this.$axios.get(this.URL.BASEURL + this.URL.warn_groupList, {
176
+        params: {
177
+          is_system_admin: this.$cookie.getCookie('isSuperManage') == 1 ? 1 : '',
178
+          sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : ''
179
+        }
172 180
       }).then((res) => {
173 181
         var res = res.data
174 182
         if (res && res.errno == 0) {
@@ -188,6 +196,10 @@ export default {
188 196
       this.page = page ? page : this.page;
189 197
       this.loading = true
190 198
       this.$axios.get(this.URL.BASEURL + this.URL.warn_ruleConfList, {
199
+        params: {
200
+          is_system_admin: this.$cookie.getCookie('isSuperManage') == 1 ? 1 : '',
201
+          sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : ''
202
+        }
191 203
       }).then((res) => {
192 204
         var res = res.data
193 205
         this.loading = false

+ 8 - 2
project/src/components/warningManage/warningListInstall.vue

@@ -128,7 +128,9 @@ export default {
128 128
       this.loading = true
129 129
       this.$axios.get(this.URL.BASEURL + this.URL.warn_groupList, {
130 130
         params: {
131
-          keyword: this.input_keyword
131
+          keyword: this.input_keyword,
132
+          is_system_admin: this.$cookie.getCookie('isSuperManage') == 1 ? 1 : '',
133
+          sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : ''
132 134
         }
133 135
       }).then((res) => {
134 136
         var res = res.data
@@ -149,7 +151,9 @@ export default {
149 151
       this.loading = true
150 152
       this.$axios.get(this.URL.BASEURL + this.URL.warn_groupDetail, {
151 153
         params: {
152
-          group_id: id
154
+          group_id: id,
155
+          is_system_admin: this.$cookie.getCookie('isSuperManage') == 1 ? 1 : '',
156
+          sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : ''
153 157
         }
154 158
       }).then((res) => {
155 159
         var res = res.data
@@ -205,6 +209,8 @@ export default {
205 209
 
206 210
       let axios_api = this.URL.warn_groupEdit;
207 211
       let params = {
212
+        is_system_admin: this.$cookie.getCookie('isSuperManage') == 1 ? 1 : '',
213
+        sys_group_id: this.$cookie.getCookie('isSuperManage') == 1 ? sessionStorage.getItem('company_session_defaultCorp_level_1').toString() : '',
208 214
         group_name: this.groupName,
209 215
         user_list: JSON.stringify(this.warningArrs)
210 216
       };

File diff suppressed because it is too large
+ 1 - 1
static/css/app.5bfeb2fc0bdf757cae0fc2fecbeace8b.css


File diff suppressed because it is too large
+ 1 - 0
static/js/29.4a7ba97751866a5b307e.js


File diff suppressed because it is too large
+ 1 - 1
static/js/29.33842dcf4fca81c00f75.js


File diff suppressed because it is too large
+ 1 - 1
static/js/30.22dc6238743d13819392.js


File diff suppressed because it is too large
+ 1 - 1
static/js/31.b4589a363fb662e2a86a.js


File diff suppressed because it is too large
+ 0 - 1
static/js/32.e734bc18dfc8f7c501c0.js


File diff suppressed because it is too large
+ 1 - 1
static/js/35.fbd0ee4d9b7e4ff87138.js


File diff suppressed because it is too large
+ 0 - 1
static/js/34.904b431f74ce7e32d347.js


File diff suppressed because it is too large
+ 1 - 0
static/js/35.2ad8880aafe385c8f52d.js


File diff suppressed because it is too large
+ 1 - 1
static/js/app.55ee4ba3afffa2f452cb.js


File diff suppressed because it is too large
+ 1 - 0
static/js/manifest.1b6815fd7cc51857b5ea.js


File diff suppressed because it is too large
+ 0 - 1
static/js/manifest.cd223a97a36de27ae53c.js