Merge branch 'master' of http://192.168.0.105:10010/r/zhba_enterprises_ys
| | |
| | | * @Author: liu |
| | | * @Date: 2021-08-26 17:00:55 |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-09-23 16:43:42 |
| | | * @Last Modified time: 2021-09-25 18:01:55 |
| | | */ |
| | | |
| | | |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["ptype"] = 2; |
| | | var gonganj = ""; |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | let test = /派出所$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "派出所管理员"; |
| | | } |
| | | test = /分局|公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "县局管理员"; |
| | | } |
| | | test = /市公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "市局管理员"; |
| | | } |
| | | } |
| | | params = { |
| | | ...params, |
| | | ...this.getFenji(this.userInfo.role_name), |
| | | ...this.getFenji(gonganj), |
| | | }; |
| | | getList( |
| | | page.currentPage, |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["ptype"] = 5; |
| | | var gonganj = ""; |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | let test = /派出所$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "派出所管理员"; |
| | | } |
| | | test = /分局|公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "县局管理员"; |
| | | } |
| | | test = /市公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "市局管理员"; |
| | | } |
| | | } |
| | | params = { |
| | | ...params, |
| | | ...this.getFenji(this.userInfo.role_name), |
| | | ...this.getFenji(gonganj), |
| | | }; |
| | | getList( |
| | | page.currentPage, |
| | |
| | | * @Author: liu |
| | | * @Date: 2021-08-26 16:57:58 |
| | | * @Last Modified by: liu |
| | | * @Last Modified time: 2021-09-23 16:14:20 |
| | | * @Last Modified time: 2021-09-26 11:57:10 |
| | | */ |
| | | |
| | | |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["ptype"] = 3; |
| | | var gonganj = ""; |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | let test = /派出所$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "派出所管理员"; |
| | | } |
| | | test = /分局|公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "县局管理员"; |
| | | } |
| | | test = /市公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "市局管理员"; |
| | | } |
| | | } |
| | | params = { |
| | | ...params, |
| | | ...this.getFenji(this.userInfo.role_name), |
| | | ...this.getFenji(gonganj), |
| | | }; |
| | | console.log(params, "params"); |
| | | // return; |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["ptype"] = 0; |
| | | var gonganj = ""; |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | let test = /派出所$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "派出所管理员"; |
| | | } |
| | | test = /分局|公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "县局管理员"; |
| | | } |
| | | test = /市公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "市局管理员"; |
| | | } |
| | | } |
| | | params = { |
| | | ...params, |
| | | ...this.getFenji(this.userInfo.role_name), |
| | | ...this.getFenji(gonganj), |
| | | }; |
| | | getList( |
| | | page.currentPage, |
| | |
| | | onLoad(page, params = {}) { |
| | | this.loading = true; |
| | | params["ptype"] = 1; |
| | | var gonganj = ""; |
| | | if (this.userInfo.role_name == "公安管理员") { |
| | | let test = /派出所$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "派出所管理员"; |
| | | } |
| | | test = /分局|公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "县局管理员"; |
| | | } |
| | | test = /市公安局$/g; |
| | | if (test.test(this.userInfo.list.name)) { |
| | | gonganj = "市局管理员"; |
| | | } |
| | | } |
| | | params = { |
| | | ...params, |
| | | ...this.getFenji(this.userInfo.role_name), |
| | | ...this.getFenji(gonganj), |
| | | }; |
| | | getList( |
| | | page.currentPage, |
| | |
| | | // target: 'http://192.168.0.114:83',//钟日健W |
| | | // target: 'http://192.168.0.106:83',//曾杭W |
| | | // target: 'http://localhost:81', |
| | | // target: 'http://192.168.0.115:83',//钟日健W |
| | | // target: 'http://192.168.0.115:83',//原W |
| | | // target: 'http://localhost:81', //原W |
| | | // target: 'http://192.168.0.115:83',//原W |
| | | // target: 'http://192.168.0.107:83',//唐N |