system-clients 3.2.1-34-3 → 3.2.1-34-1-ycapply-1
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/.gradle/7.1/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.1/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.1/fileChanges/last-build.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.1/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.1/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/checksums/checksums.lock +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +185 -0
- package/gradlew.bat +89 -0
- package/package.json +2 -3
- package/src/components/Main.vue +782 -771
- package/src/components/server/Login.vue +0 -44
- package/src/components/server/ResSelectGroup.vue +198 -209
- package/src/filiale/konggang/Login.vue +840 -840
- package/static/images/lefticon//345/220/210/345/220/214/347/256/241/347/220/206.png +0 -0
- package/src/filiale/dongguan/Main.vue +0 -715
- package/src/filiale/dongguan/system.js +0 -5
- package/src/util/Daiban.json +0 -12
@@ -116,10 +116,6 @@
|
|
116
116
|
<label class="col-sm-2">预约待办:</label>
|
117
117
|
<span style="font-weight:normal">{{OrderDaiBan}}</span>
|
118
118
|
</div>
|
119
|
-
<div class="col-sm-12 " v-for="daibanitem in safecheckDaiBan">
|
120
|
-
<label class="col-sm-2">{{daibanitem.oldData.title}}:</label>
|
121
|
-
<span style="font-weight:normal">{{daibanitem.text}}</span>
|
122
|
-
</div>
|
123
119
|
</div>
|
124
120
|
</form>
|
125
121
|
</article>
|
@@ -141,7 +137,6 @@ import $ from 'jquery'
|
|
141
137
|
import Vue from 'vue'
|
142
138
|
import {HttpResetClass} from 'vue-client'
|
143
139
|
|
144
|
-
let daibanJson = require('../../util/Daiban.json')
|
145
140
|
|
146
141
|
|
147
142
|
let saveGen = function *(self) {
|
@@ -209,11 +204,6 @@ let saveGen = function *(self) {
|
|
209
204
|
if (self.$login.showDaiBan && self.$login.r.includes('展示预约信息')){
|
210
205
|
// 获取待办
|
211
206
|
self.getDaiBan()
|
212
|
-
|
213
|
-
}
|
214
|
-
if (self.$login.showDaiBan && self.$login.r.includes('登录预约信息')){
|
215
|
-
// 获取待办 在util下有个Daiban.jsond 文件 ,在里面进行配置,在功能权限界面增加登录预约信息
|
216
|
-
self.getDaiBanA()
|
217
207
|
}
|
218
208
|
} else {
|
219
209
|
self.$goto('home-page', {functions: self.$login.f,config: self.config})
|
@@ -327,8 +317,6 @@ export default {
|
|
327
317
|
loginotherflag :true,
|
328
318
|
// 报建待办
|
329
319
|
AppDaiBan: '',
|
330
|
-
//安检待办
|
331
|
-
safecheckDaiBan:[],
|
332
320
|
// 预约待处理
|
333
321
|
OrderDaiBan: ''
|
334
322
|
}
|
@@ -382,38 +370,6 @@ export default {
|
|
382
370
|
})
|
383
371
|
|
384
372
|
},
|
385
|
-
async getDaiBanA(){
|
386
|
-
// 是否全局开启待办通知
|
387
|
-
if (daibanJson.enable) {
|
388
|
-
console.log("当前获取到待办配置为" + JSON.stringify(daibanJson))
|
389
|
-
let http = new HttpResetClass()
|
390
|
-
let daibanArray = []
|
391
|
-
for (let daibanItem of daibanJson.daiban) {
|
392
|
-
console.log("开始处理待办任务:" + daibanItem.title + "当前任务状态:" + daibanItem.enable?"开启":"关闭" )
|
393
|
-
if (daibanItem.enable) { // 控制每一项通知是否开启
|
394
|
-
let postResult = ''; //提示信息为
|
395
|
-
await http.load("POST",daibanItem.url,{data:daibanItem.data},{ resolveMsg: null, rejectMsg: null})
|
396
|
-
.then((res)=>{
|
397
|
-
let responseData = res.data
|
398
|
-
for (let item of responseData) {
|
399
|
-
postResult += eval(daibanItem.text) + "\n"
|
400
|
-
}
|
401
|
-
postResult += '\t'
|
402
|
-
daibanArray.push({text:postResult,oldData:daibanItem})
|
403
|
-
})
|
404
|
-
}
|
405
|
-
}
|
406
|
-
console.log("安检数据为:"+JSON.stringify(daibanArray))
|
407
|
-
this.safecheckDaiBan = daibanArray
|
408
|
-
}else {
|
409
|
-
console.log("待办提醒全局关闭。")
|
410
|
-
}
|
411
|
-
|
412
|
-
|
413
|
-
|
414
|
-
|
415
|
-
},
|
416
|
-
|
417
373
|
async loginother(){
|
418
374
|
if (this.config.distanceLogin) {
|
419
375
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
@@ -1,209 +1,198 @@
|
|
1
|
-
<template>
|
2
|
-
<div :class="style" v-show="companyshow">
|
3
|
-
<label class="font_normal_body">公  司</label>
|
4
|
-
<right-tree @re-res="getorg"
|
5
|
-
:mustselect="mustselect"
|
6
|
-
:initresid='initres.org'></right-tree>
|
7
|
-
</div>
|
8
|
-
<div :class="style" v-show="departmentshow">
|
9
|
-
<label class="font_normal_body">部  门</label>
|
10
|
-
<res-select restype='department' v-ref:department
|
11
|
-
@res-select="getdep"
|
12
|
-
:parentresid="depresid"
|
13
|
-
:initresid='initres.dep'
|
14
|
-
:mustselect="mustselect"
|
15
|
-
:is-mul="mul">
|
16
|
-
</res-select>
|
17
|
-
</div>
|
18
|
-
<div :class="style" v-show="operatorshow && (!cascade)">
|
19
|
-
<label class="font_normal_body">人  员</label>
|
20
|
-
<res-select restype='user'
|
21
|
-
@res-select="getuser"
|
22
|
-
:parentresid="depresid"
|
23
|
-
:initresid='initres.user'
|
24
|
-
:mustselect="mustselect"
|
25
|
-
:is-mul="mul">
|
26
|
-
</res-select>
|
27
|
-
</div>
|
28
|
-
<div :class="style" v-show="operatorshow && cascade">
|
29
|
-
<label class="font_normal_body">人  员</label>
|
30
|
-
<res-select restype='user'
|
31
|
-
@res-select="getuser"
|
32
|
-
:parentresid="userresid"
|
33
|
-
:initresid='initres.user'
|
34
|
-
:mustselect="mustselect"
|
35
|
-
:is-mul="mul">
|
36
|
-
</res-select>
|
37
|
-
</div>
|
38
|
-
<div :class="style " v-if="sliceareashow" >
|
39
|
-
<label class="font_normal_body">片  区</label>
|
40
|
-
<v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
|
41
|
-
:options='sliceArea' placeholder='片区/管理站' filer-key="name"
|
42
|
-
close-on-select v-ref:slice>
|
43
|
-
</v-select>
|
44
|
-
</div>
|
45
|
-
</template>
|
46
|
-
<script>
|
47
|
-
import plugin from '../../plugins/GetLoginInfoService'
|
48
|
-
import { HttpResetClass } from 'vue-client'
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
}
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
this.
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
176
|
-
|
177
|
-
|
178
|
-
this
|
179
|
-
},
|
180
|
-
|
181
|
-
this.
|
182
|
-
this.
|
183
|
-
this.
|
184
|
-
|
185
|
-
|
186
|
-
|
187
|
-
this.
|
188
|
-
|
189
|
-
|
190
|
-
|
191
|
-
|
192
|
-
|
193
|
-
|
194
|
-
|
195
|
-
|
196
|
-
|
197
|
-
|
198
|
-
|
199
|
-
this.returnOrg(this.operatorsid);
|
200
|
-
}else{
|
201
|
-
this.returnOrg();
|
202
|
-
}
|
203
|
-
}
|
204
|
-
},
|
205
|
-
watch: {
|
206
|
-
|
207
|
-
}
|
208
|
-
}
|
209
|
-
</script>
|
1
|
+
<template>
|
2
|
+
<div :class="style" v-show="companyshow">
|
3
|
+
<label class="font_normal_body">公  司</label>
|
4
|
+
<right-tree @re-res="getorg"
|
5
|
+
:mustselect="mustselect"
|
6
|
+
:initresid='initres.org'></right-tree>
|
7
|
+
</div>
|
8
|
+
<div :class="style" v-show="departmentshow">
|
9
|
+
<label class="font_normal_body">部  门</label>
|
10
|
+
<res-select restype='department' v-ref:department
|
11
|
+
@res-select="getdep"
|
12
|
+
:parentresid="depresid"
|
13
|
+
:initresid='initres.dep'
|
14
|
+
:mustselect="mustselect"
|
15
|
+
:is-mul="mul">
|
16
|
+
</res-select>
|
17
|
+
</div>
|
18
|
+
<div :class="style" v-show="operatorshow && (!cascade)">
|
19
|
+
<label class="font_normal_body">人  员</label>
|
20
|
+
<res-select restype='user'
|
21
|
+
@res-select="getuser"
|
22
|
+
:parentresid="depresid"
|
23
|
+
:initresid='initres.user'
|
24
|
+
:mustselect="mustselect"
|
25
|
+
:is-mul="mul">
|
26
|
+
</res-select>
|
27
|
+
</div>
|
28
|
+
<div :class="style" v-show="operatorshow && cascade">
|
29
|
+
<label class="font_normal_body">人  员</label>
|
30
|
+
<res-select restype='user'
|
31
|
+
@res-select="getuser"
|
32
|
+
:parentresid="userresid"
|
33
|
+
:initresid='initres.user'
|
34
|
+
:mustselect="mustselect"
|
35
|
+
:is-mul="mul">
|
36
|
+
</res-select>
|
37
|
+
</div>
|
38
|
+
<div :class="style " v-if="sliceareashow" >
|
39
|
+
<label class="font_normal_body">片  区</label>
|
40
|
+
<v-select :value.sync="slice_area" v-model="slice_area" @change='getarea'
|
41
|
+
:options='sliceArea' placeholder='片区/管理站' filer-key="name"
|
42
|
+
close-on-select v-ref:slice>
|
43
|
+
</v-select>
|
44
|
+
</div>
|
45
|
+
</template>
|
46
|
+
<script>
|
47
|
+
import plugin from '../../plugins/GetLoginInfoService'
|
48
|
+
import { HttpResetClass } from 'vue-client'
|
49
|
+
export default {
|
50
|
+
title: '资源选择测试',
|
51
|
+
props: {
|
52
|
+
style: {
|
53
|
+
type: String,
|
54
|
+
default: 'col-sm-2 form-group'
|
55
|
+
},
|
56
|
+
mul: {
|
57
|
+
type: Boolean,
|
58
|
+
default: true
|
59
|
+
},
|
60
|
+
//初始值
|
61
|
+
initres: {
|
62
|
+
type: Object,
|
63
|
+
default: null,
|
64
|
+
},
|
65
|
+
showComponent:{
|
66
|
+
default:['company','department','operator','slicearea']
|
67
|
+
},
|
68
|
+
//人员是否和部门关联
|
69
|
+
cascade: {
|
70
|
+
type: Boolean,
|
71
|
+
default: true
|
72
|
+
},
|
73
|
+
selectin: {
|
74
|
+
type: Boolean,
|
75
|
+
default: false
|
76
|
+
}
|
77
|
+
},
|
78
|
+
data () {
|
79
|
+
return {
|
80
|
+
orgresid:[this.$login.f.orgid],
|
81
|
+
depresid:[],
|
82
|
+
userresid:[],
|
83
|
+
operatorsid: [],
|
84
|
+
sliceArea: [],
|
85
|
+
slice_area:[],
|
86
|
+
companyshow:false,
|
87
|
+
departmentshow:false,
|
88
|
+
operatorshow:false,
|
89
|
+
sliceareashow:false,
|
90
|
+
mustselect:false,
|
91
|
+
obj:{
|
92
|
+
orgnames:[],
|
93
|
+
depnames:[],
|
94
|
+
operatornames:[]
|
95
|
+
}
|
96
|
+
}
|
97
|
+
},
|
98
|
+
ready () {
|
99
|
+
if(this.$login.r.includes('部门默认选中')&& this.selectin){
|
100
|
+
this.initres.dep = [this.$login.f.depids]
|
101
|
+
}
|
102
|
+
if(this.$login.r.includes('人员默认选中')&& this.selectin){
|
103
|
+
this.initres.user = [this.$login.f.id]
|
104
|
+
if(this.$login.r.includes('人员强制选中')){
|
105
|
+
this.mustselect = true
|
106
|
+
}
|
107
|
+
}
|
108
|
+
this.initComponent();
|
109
|
+
this.initAreas(this.$login.f.orgid)
|
110
|
+
},
|
111
|
+
methods:{
|
112
|
+
initComponent(){
|
113
|
+
let self=this;
|
114
|
+
this.showComponent.find((item)=>{
|
115
|
+
switch(item){
|
116
|
+
case 'company': self.companyshow=true; break;
|
117
|
+
case 'department': self.departmentshow=true; break;
|
118
|
+
case 'operator': self.operatorshow=true; break;
|
119
|
+
case 'slicearea': self.sliceareashow=true; break;
|
120
|
+
}
|
121
|
+
})
|
122
|
+
},
|
123
|
+
// 初始化片区
|
124
|
+
async initAreas (val) {
|
125
|
+
if (val) {
|
126
|
+
let http = new HttpResetClass()
|
127
|
+
let getAllArea = await http.load('POST', '/rs/search', {
|
128
|
+
source: 'this.getParentByType($organization$).getAllChildrens().where(row.getType() == $zone$)',
|
129
|
+
userid: this.$login.f.id
|
130
|
+
}, {resolveMsg: null, rejectMsg: '获取片区出错!!!'})
|
131
|
+
let arr = getAllArea.data.filter((res) => {
|
132
|
+
return res.parentid == val
|
133
|
+
})
|
134
|
+
this.sliceArea = []
|
135
|
+
this.slice_area = []
|
136
|
+
arr.forEach((res) => {
|
137
|
+
this.sliceArea.push({label: res.name, value: {name: res.name, code:res.number}})
|
138
|
+
})
|
139
|
+
}
|
140
|
+
},
|
141
|
+
returnOrg(ids){
|
142
|
+
let limit = this.$login.r.includes('数据授权限定')
|
143
|
+
|
144
|
+
let condition;
|
145
|
+
if(this.depresid.length > 0)
|
146
|
+
condition = " and f_orgid in " + plugin.convertToIn(this.depresid);
|
147
|
+
else
|
148
|
+
condition = " and f_orgid = " + this.$login.f.orgid;
|
149
|
+
if(this.userresid.length > 0){
|
150
|
+
condition += " and f_depid in " + plugin.convertToIn(this.userresid);
|
151
|
+
} else {
|
152
|
+
if (limit) {
|
153
|
+
let depids = []
|
154
|
+
for (let row of this.$refs.department.resoptions) {
|
155
|
+
depids.push(row.value)
|
156
|
+
}
|
157
|
+
let depid = depids.length ? plugin.convertToIn(depids) : ('')
|
158
|
+
condition += " and f_depid in " + depid;
|
159
|
+
}
|
160
|
+
}
|
161
|
+
if(ids && ids.length > 0){
|
162
|
+
condition += " and f_operatorid in " + plugin.convertToIn(ids);
|
163
|
+
}
|
164
|
+
if(this.slice_area.length>0){
|
165
|
+
condition += " and f_zones = '" + this.slice_area[0].name+"'"
|
166
|
+
}
|
167
|
+
this.$dispatch('re-res',condition,this.obj)
|
168
|
+
},
|
169
|
+
getorg (obj) {
|
170
|
+
this.depresid=obj.resids
|
171
|
+
this.obj.orgnames = obj.res
|
172
|
+
this.initAreas(obj.resids)
|
173
|
+
this.returnOrg();
|
174
|
+
},
|
175
|
+
getdep(obj,val) {
|
176
|
+
this.obj.depnames = val
|
177
|
+
this.userresid=obj
|
178
|
+
this.returnOrg();
|
179
|
+
},
|
180
|
+
getuser(obj,val) {
|
181
|
+
this.obj.operatornames = val
|
182
|
+
this.operatorsid = obj
|
183
|
+
this.returnOrg(obj);
|
184
|
+
},
|
185
|
+
getarea(val) {
|
186
|
+
this.slice_area=val
|
187
|
+
if(this.operatorsid){
|
188
|
+
this.returnOrg(this.operatorsid);
|
189
|
+
}else{
|
190
|
+
this.returnOrg();
|
191
|
+
}
|
192
|
+
}
|
193
|
+
},
|
194
|
+
watch: {
|
195
|
+
|
196
|
+
}
|
197
|
+
}
|
198
|
+
</script>
|