system-clients 3.3.1 → 3.3.3-old
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.4/checksums/checksums.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/dependencies-accessors.lock +0 -0
- package/.gradle/7.4/dependencies-accessors/gc.properties +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.bin +0 -0
- package/.gradle/7.4/executionHistory/executionHistory.lock +0 -0
- package/.gradle/7.4/fileChanges/last-build.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.bin +0 -0
- package/.gradle/7.4/fileHashes/fileHashes.lock +0 -0
- package/.gradle/7.4/gc.properties +0 -0
- package/.gradle/buildOutputCleanup/buildOutputCleanup.lock +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/outputFiles.bin +0 -0
- package/.gradle/file-system.probe +0 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/package.json +105 -105
- package/src/LodopFuncs.js +71 -103
- package/src/components/Main.vue +927 -931
- package/src/components/equipment/PcAdd.vue +1 -1
- package/src/components/equipment/PcList.vue +3 -3
- package/src/components/equipment/PhoneAdd.vue +1 -1
- package/src/components/equipment/PhoneList.vue +2 -2
- package/src/components/equipment/PosAdd.vue +11 -7
- package/src/components/equipment/PosList.vue +5 -3
- package/src/components/equipment/PosManage.vue +1 -1
- package/src/components/equipment/PosParamAdd.vue +2 -2
- package/src/components/equipment/PosParamList.vue +2 -2
- package/src/components/materialManage/materialList.vue +1 -1
- package/src/components/parammanage/ParamPage.vue +12 -12
- package/src/components/parammanage/ParamPages.vue +2 -2
- package/src/components/parammanage/SinglePage.vue +8 -8
- package/src/components/parammanage/SinglePages.vue +2 -2
- package/src/components/server/AddChangeMsg.vue +1 -1
- package/src/components/server/ChangeDeclare.vue +1 -1
- package/src/components/server/Login.vue +589 -548
- package/src/components/server/ModifyPw.vue +0 -1
- package/src/components/server/PcdBuildingSelect.vue +6 -8
- package/src/components/server/ResSelect.vue +0 -3
- package/src/components/server/ResSelectGroup.vue +1 -1
- package/src/components/server/RoleSelector.vue +2 -3
- package/src/components/server/TestResSelectGroup.vue +1 -1
- package/src/filiale/baole/Login.vue +2 -4
- package/src/filiale/chengtou/Login.vue +2 -4
- package/src/filiale/dongguan/Login.vue +2 -4
- package/src/filiale/dongguan/Main.vue +2 -4
- package/src/filiale/furuike/Login.vue +3 -7
- package/src/filiale/furuike/Main.vue +25 -38
- package/src/filiale/gehua/Main.vue +2 -4
- package/src/filiale/konggang/Login.vue +2 -4
- package/src/filiale/qianneng/Login.vue +2 -4
- package/src/filiale/qianneng/Main.vue +2 -4
- package/src/filiale/qianneng/ModifyPw.vue +0 -1
- package/src/filiale/rizhao/Login.vue +1 -3
- package/src/filiale/rizhao/Main.vue +2 -2
- package/src/filiale/shiquan/Login.vue +2 -4
- package/src/filiale/tianyi/Login.vue +2 -4
- package/src/filiale/tongchuan/Login.vue +2 -4
- package/src/filiale/tongchuan/Main.vue +5 -7
- package/src/filiale/weinan/Main.vue +5 -6
- package/src/filiale/wenxi/Login.vue +2 -4
- package/src/filiale/wenxi/Main.vue +2 -4
- package/src/filiale/wuhai/Main.vue +2 -5
- package/src/filiale/yuchuan/Login.vue +3 -5
- package/src/filiale/yuchuan/Main.vue +2 -4
- package/src/filiale/zhoukou/Main.vue +2 -4
- package/src/plugins/GetLoginInfoService.js +75 -17
- package/src/stores/AppData.js +1 -1
- package/src/filiale/ruihua/Login.vue +0 -549
- package/src/filiale/ruihua/system.js +0 -5
@@ -62,7 +62,6 @@
|
|
62
62
|
// let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
|
63
63
|
// let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
|
64
64
|
// Util.f.password = self.deliver.newpassword
|
65
|
-
// todo v4
|
66
65
|
let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver }, {resolveMsg: null,rejectMsg: null})
|
67
66
|
self.$login.f.password = self.deliver.newpassword
|
68
67
|
if (res.data) {
|
@@ -66,7 +66,7 @@
|
|
66
66
|
self.arrays.pcd=[{label:'全部',value:''}]
|
67
67
|
if(self.show.pcdShow){
|
68
68
|
let HttpReset = new HttpResetClass()
|
69
|
-
var pcd = await HttpReset.load('POST', '
|
69
|
+
var pcd = await HttpReset.load('POST', 'rs/sql/singleTable_OrderBy', {
|
70
70
|
data: {
|
71
71
|
items: 'f_pcd',
|
72
72
|
tablename: 't_pcd',
|
@@ -80,7 +80,7 @@
|
|
80
80
|
}else if(self.show.streetShow){
|
81
81
|
console.log("------------查街道")
|
82
82
|
let HttpReset = new HttpResetClass()
|
83
|
-
var street = await HttpReset.load('POST', '
|
83
|
+
var street = await HttpReset.load('POST', 'rs/sql/singleTable_OrderBy', {
|
84
84
|
data: {
|
85
85
|
items: 'f_street',
|
86
86
|
tablename: 't_street',
|
@@ -93,7 +93,7 @@
|
|
93
93
|
}
|
94
94
|
}else if(self.show.areaShow){
|
95
95
|
let HttpReset = new HttpResetClass()
|
96
|
-
var area = await HttpReset.load('POST', '
|
96
|
+
var area = await HttpReset.load('POST', 'rs/sql/singleTable_OrderBy', {
|
97
97
|
data: {
|
98
98
|
items: 'f_residential_area',
|
99
99
|
tablename: 't_area',
|
@@ -155,8 +155,7 @@
|
|
155
155
|
async pcdChange(){
|
156
156
|
this.arrays.street=[{label:'全部',value:''}]
|
157
157
|
var condition = `f_filialeid = '${this.$login.f.orgid}' and f_street is not null group by f_street`
|
158
|
-
|
159
|
-
let street = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {
|
158
|
+
let street = await this.$resetpost('rs/sql/singleTable_OrderBy', {
|
160
159
|
data: {
|
161
160
|
items: 'f_street',
|
162
161
|
tablename: 't_street',
|
@@ -172,7 +171,7 @@
|
|
172
171
|
async streetChange(){
|
173
172
|
this.arrays.area=[{label:'全部',value:''}]
|
174
173
|
var condition = `f_street = '${this.model.f_street?this.model.f_street:null}' and f_residential_area is not null group by f_residential_area`
|
175
|
-
let area = await this.$resetpost('
|
174
|
+
let area = await this.$resetpost('rs/sql/singleTable_OrderBy', {
|
176
175
|
data: {
|
177
176
|
items: 'f_residential_area',
|
178
177
|
tablename: 't_area',
|
@@ -193,8 +192,7 @@
|
|
193
192
|
}else{
|
194
193
|
condition = `f_filialeid = '${this.$login.f.orgid}' and f_building is not null group by f_building`
|
195
194
|
}
|
196
|
-
|
197
|
-
let build = await this.$resetpost('api/af-revenue/sql/singleTable_OrderBy', {
|
195
|
+
let build = await this.$resetpost('rs/sql/singleTable_OrderBy', {
|
198
196
|
data: {
|
199
197
|
items: 'f_building',
|
200
198
|
tablename: 't_user_address',
|
@@ -80,9 +80,6 @@
|
|
80
80
|
//找到跟节点
|
81
81
|
ergodicList (val,parentname) {
|
82
82
|
if(val.children.length > 0 ){
|
83
|
-
if (val.name !== '组织机构' && parentname !== '资源管理'){
|
84
|
-
this.resoptions.push({label: parentname === '组织机构' ? val.name : val.name+' - '+parentname, value: val.id})
|
85
|
-
}
|
86
83
|
parentname=parentname+val.name
|
87
84
|
this.treetoList(val,parentname)
|
88
85
|
}else {
|
@@ -167,7 +167,7 @@ export default {
|
|
167
167
|
for (let row of this.$refs.department.resoptions) {
|
168
168
|
depids.push(row.value)
|
169
169
|
}
|
170
|
-
let depid = depids.length ? plugin.convertToIn(depids) :
|
170
|
+
let depid = depids.length ? plugin.convertToIn(depids) : ('')
|
171
171
|
condition += " and f_depid in " + depid;
|
172
172
|
}
|
173
173
|
}
|
@@ -51,7 +51,6 @@
|
|
51
51
|
}
|
52
52
|
},
|
53
53
|
ready() {
|
54
|
-
// todo v4
|
55
54
|
this.$resetpost('/rs/search', {data: {source: this.source, userid: this.$login.f.id}}, {resolveMsg: null, rejectMsg: null})
|
56
55
|
.then(res => {
|
57
56
|
console.log('res-->' + JSON.stringify(res))
|
@@ -66,7 +65,7 @@
|
|
66
65
|
this.$dispatch('re-res',obj)
|
67
66
|
},
|
68
67
|
filterUser(resids) {
|
69
|
-
// 处理第一次进入页面值异常问题
|
68
|
+
// 处理第一次进入页面值异常问题
|
70
69
|
if(resids.length > 0 && typeof resids[0] == "object"){
|
71
70
|
resids = resids[0]
|
72
71
|
}
|
@@ -87,4 +86,4 @@
|
|
87
86
|
|
88
87
|
<style scoped>
|
89
88
|
|
90
|
-
</style>
|
89
|
+
</style>
|
@@ -42,7 +42,7 @@
|
|
42
42
|
|
43
43
|
<export-excel :data="$parent.$parent.getCondition"
|
44
44
|
:field="$parent.$parent.getfield"
|
45
|
-
sqlurl="
|
45
|
+
sqlurl="rs/logic/exportfile" sql-name="chargeQuery" template-name='收费查询导出'
|
46
46
|
:choose-col="true"></export-excel>
|
47
47
|
|
48
48
|
<print-data :model="$parent.model" :field="$parent.$parent.getfield"
|
@@ -175,7 +175,6 @@ let saveGen = function *(self) {
|
|
175
175
|
console.log('登录配置', self.config)
|
176
176
|
if (self.config.isMac) {
|
177
177
|
// 获取该登录人分公司下的mac配置
|
178
|
-
// todo v4
|
179
178
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
180
179
|
resolveMsg: null,
|
181
180
|
rejectMsg: null
|
@@ -264,7 +263,7 @@ export default {
|
|
264
263
|
this.vTime = this.format(new Date(window.versionTime));
|
265
264
|
try{
|
266
265
|
let http = new HttpResetClass()
|
267
|
-
let res = await http.load('POST', '
|
266
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
268
267
|
{data:{
|
269
268
|
tablename: 't_changedeclare',
|
270
269
|
condition: ` f_type ='变更通知' `
|
@@ -364,7 +363,7 @@ export default {
|
|
364
363
|
} else {
|
365
364
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
366
365
|
}
|
367
|
-
await http.load('POST', '/
|
366
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
368
367
|
tablename:'t_order_center',
|
369
368
|
condition:condition
|
370
369
|
}}, {
|
@@ -440,7 +439,6 @@ export default {
|
|
440
439
|
if (this.config.distanceLogin) {
|
441
440
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
442
441
|
let ename = this.$login.getUrlParames('name');
|
443
|
-
// todo v4
|
444
442
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
445
443
|
if(logininfo.data){
|
446
444
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -173,7 +173,6 @@ let saveGen = function *(self) {
|
|
173
173
|
console.log('登录配置', self.config)
|
174
174
|
if (self.config.isMac) {
|
175
175
|
// 获取该登录人分公司下的mac配置
|
176
|
-
// todo v4
|
177
176
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
178
177
|
resolveMsg: null,
|
179
178
|
rejectMsg: null
|
@@ -262,7 +261,7 @@ export default {
|
|
262
261
|
this.vTime = this.format(new Date(window.versionTime));
|
263
262
|
try{
|
264
263
|
let http = new HttpResetClass()
|
265
|
-
let res = await http.load('POST', '
|
264
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
266
265
|
{data:{
|
267
266
|
tablename: 't_changedeclare',
|
268
267
|
condition: ` f_type ='变更通知' `
|
@@ -362,7 +361,7 @@ export default {
|
|
362
361
|
} else {
|
363
362
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
364
363
|
}
|
365
|
-
await http.load('POST', '/
|
364
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
366
365
|
tablename:'t_order_center',
|
367
366
|
condition:condition
|
368
367
|
}}, {
|
@@ -438,7 +437,6 @@ export default {
|
|
438
437
|
if (this.config.distanceLogin) {
|
439
438
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
440
439
|
let ename = this.$login.getUrlParames('name');
|
441
|
-
// todo v4
|
442
440
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
443
441
|
if(logininfo.data){
|
444
442
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -179,7 +179,6 @@ let saveGen = function *(self) {
|
|
179
179
|
console.log('登录配置', self.config)
|
180
180
|
if (self.config.isMac) {
|
181
181
|
// 获取该登录人分公司下的mac配置
|
182
|
-
// todo v4
|
183
182
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
184
183
|
resolveMsg: null,
|
185
184
|
rejectMsg: null
|
@@ -266,7 +265,7 @@ export default {
|
|
266
265
|
this.titleShow = true
|
267
266
|
try{
|
268
267
|
let http = new HttpResetClass()
|
269
|
-
let res = await http.load('POST', '
|
268
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
270
269
|
{data:{
|
271
270
|
tablename: 't_changedeclare',
|
272
271
|
condition: ` f_type ='变更通知' `
|
@@ -353,7 +352,7 @@ export default {
|
|
353
352
|
} else {
|
354
353
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
355
354
|
}
|
356
|
-
await http.load('POST', '/
|
355
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
357
356
|
tablename:'t_order_center',
|
358
357
|
condition:condition
|
359
358
|
}}, {
|
@@ -429,7 +428,6 @@ export default {
|
|
429
428
|
if (this.config.distanceLogin) {
|
430
429
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
431
430
|
let ename = this.$login.getUrlParames('name');
|
432
|
-
// todo v4
|
433
431
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
434
432
|
if(logininfo.data){
|
435
433
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -97,8 +97,7 @@ let getwartermakr = async function (self) {
|
|
97
97
|
tablename: 't_singlevalue',
|
98
98
|
condition: " 1=1 and name=\'水印内容\'"
|
99
99
|
};
|
100
|
-
|
101
|
-
let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
100
|
+
let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
102
101
|
if (result && result.data.length > 0) {
|
103
102
|
self.showwatermakeflag = true;
|
104
103
|
createWaterMark(result.data[0].value);
|
@@ -242,7 +241,7 @@ export default {
|
|
242
241
|
this.OrderDaiBan = ''
|
243
242
|
this.AppDaiBan = ''
|
244
243
|
let http = new HttpResetClass()
|
245
|
-
await http.load('POST', '/
|
244
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
246
245
|
tablename:'t_order_center',
|
247
246
|
condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
|
248
247
|
}}, {
|
@@ -393,7 +392,6 @@ export default {
|
|
393
392
|
username: this.$login.f.name,
|
394
393
|
usertelephone: this.$login.f.f_user_telephone
|
395
394
|
}
|
396
|
-
// todo v4
|
397
395
|
await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
|
398
396
|
window.location.reload()
|
399
397
|
}
|
@@ -166,7 +166,6 @@ let saveGen = function *(self) {
|
|
166
166
|
console.log('登录配置', self.config)
|
167
167
|
if (self.config.isMac) {
|
168
168
|
// 获取该登录人分公司下的mac配置
|
169
|
-
// todo v4
|
170
169
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
171
170
|
resolveMsg: null,
|
172
171
|
rejectMsg: null
|
@@ -264,14 +263,12 @@ export default {
|
|
264
263
|
st: obj.ticket,
|
265
264
|
serviceKey: this.config.serviceKey
|
266
265
|
}
|
267
|
-
// todo v4
|
268
266
|
this.$resetpost('/sso/logic/serviceValidate', params,{resolveMsg: null, rejectMsg: null}).then((re) => {
|
269
267
|
// this.$showMessage("re----" + JSON.stringify(re))
|
270
268
|
if (re.data.code === 200) {
|
271
269
|
this.showlogin = false
|
272
270
|
let condition = `ename = '${re.data.data.userName}'`
|
273
|
-
|
274
|
-
this.$resetpost('api/af-system/sql/singleTable', {data: { items: '*', tablename: 't_user', condition: condition}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
271
|
+
this.$resetpost('rs/sql/singleTable', {data: { items: '*', tablename: 't_user', condition: condition}}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
275
272
|
if (res.data && res.data.length > 0) {
|
276
273
|
this.model.ename = res.data[0].ename
|
277
274
|
this.model.password = res.data[0].password
|
@@ -297,7 +294,7 @@ export default {
|
|
297
294
|
this.vTime = this.format(new Date(window.versionTime));
|
298
295
|
try{
|
299
296
|
let http = new HttpResetClass()
|
300
|
-
let res = await http.load('POST', '
|
297
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
301
298
|
{data:{
|
302
299
|
tablename: 't_changedeclare',
|
303
300
|
condition: ` f_type ='变更通知' `
|
@@ -401,7 +398,7 @@ export default {
|
|
401
398
|
} else {
|
402
399
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
403
400
|
}
|
404
|
-
await http.load('POST', '/
|
401
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
405
402
|
tablename:'t_order_center',
|
406
403
|
condition:condition
|
407
404
|
}}, {
|
@@ -477,7 +474,6 @@ export default {
|
|
477
474
|
if (this.config.distanceLogin) {
|
478
475
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
479
476
|
let ename = this.$login.getUrlParames('name');
|
480
|
-
// todo v4
|
481
477
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
482
478
|
if(logininfo.data){
|
483
479
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -178,8 +178,7 @@ let getwartermakr = async function (self) {
|
|
178
178
|
tablename: 't_singlevalue',
|
179
179
|
condition: " 1=1 and name=\'水印内容\'"
|
180
180
|
};
|
181
|
-
|
182
|
-
let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
181
|
+
let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
183
182
|
if (result && result.data.length > 0) {
|
184
183
|
self.showwatermakeflag = true;
|
185
184
|
createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
|
@@ -328,7 +327,7 @@ export default {
|
|
328
327
|
this.OrderDaiBan = ''
|
329
328
|
this.AppDaiBan = ''
|
330
329
|
let http = new HttpResetClass()
|
331
|
-
await http.load('POST', '/
|
330
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
332
331
|
tablename:'t_order_center',
|
333
332
|
condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
|
334
333
|
}}, {
|
@@ -400,41 +399,30 @@ export default {
|
|
400
399
|
}
|
401
400
|
},
|
402
401
|
async workorderOverRemind(){
|
403
|
-
|
404
|
-
|
405
|
-
|
406
|
-
|
407
|
-
|
408
|
-
|
409
|
-
|
410
|
-
|
411
|
-
|
402
|
+
if(this.functions && this.functions.f_role_name && this.functions.f_role_name.indexOf('管理员') !== -1 && this.functions.f_role_name.indexOf('管理人员') == -1){
|
403
|
+
let res = await new HttpResetClass().load('POST', '/rs/sql/tel_singleTable', {
|
404
|
+
"data": {
|
405
|
+
"items": "*",
|
406
|
+
"tablename": "t_organization",
|
407
|
+
"condition": `parentid = '${this.functions.orgid}'`
|
408
|
+
}
|
409
|
+
}, {resolveMsg: null, rejectMsg: null})
|
410
|
+
const f_filialeids = [this.functions.orgid]
|
411
|
+
for (const f of res.data) {
|
412
|
+
f_filialeids.push(f.id)
|
412
413
|
}
|
413
|
-
|
414
|
-
|
415
|
-
|
416
|
-
|
417
|
-
|
418
|
-
|
419
|
-
|
420
|
-
|
421
|
-
|
422
|
-
|
423
|
-
|
424
|
-
|
425
|
-
// }
|
426
|
-
//
|
427
|
-
// const data = {
|
428
|
-
// condition: `f_filiale_id in (${f_filialeids.join(',')}) and overday >= 0`
|
429
|
-
// }
|
430
|
-
// new HttpResetClass().load('POST','rs/sql/serviceDetails/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
431
|
-
// if(res.data && res.data.n !== 0){
|
432
|
-
// /*this.$showMessage('你有'+res.data.n+'个工单已逾期,请尽快处理')*/
|
433
|
-
// this.yuqitishi = true
|
434
|
-
// this.num = res.data.n
|
435
|
-
// }
|
436
|
-
// })
|
437
|
-
// }
|
414
|
+
|
415
|
+
const data = {
|
416
|
+
condition: `f_filiale_id in (${f_filialeids.join(',')}) and overday >= 0`
|
417
|
+
}
|
418
|
+
new HttpResetClass().load('POST','rs/sql/serviceDetails/n', {data}, {resolveMsg: null, rejectMsg: null}).then(res=>{
|
419
|
+
if(res.data && res.data.n !== 0){
|
420
|
+
/*this.$showMessage('你有'+res.data.n+'个工单已逾期,请尽快处理')*/
|
421
|
+
this.yuqitishi = true
|
422
|
+
this.num = res.data.n
|
423
|
+
}
|
424
|
+
})
|
425
|
+
}
|
438
426
|
},
|
439
427
|
openUrl() {
|
440
428
|
var url = `http://123.60.214.109:8406/submitTicket?contact=${this.$login.f.name}&orgName=${this.$login.f.orgs}&phone=${this.$login.f.f_user_telephone}`
|
@@ -516,7 +504,6 @@ export default {
|
|
516
504
|
username: this.$login.f.name,
|
517
505
|
usertelephone: this.$login.f.f_user_telephone
|
518
506
|
}
|
519
|
-
// todo v4
|
520
507
|
await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
|
521
508
|
window.location.reload()
|
522
509
|
}
|
@@ -151,8 +151,7 @@ let getwartermakr = async function (self) {
|
|
151
151
|
tablename: 't_singlevalue',
|
152
152
|
condition: " 1=1 and name=\'水印内容\'"
|
153
153
|
};
|
154
|
-
|
155
|
-
let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
154
|
+
let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
156
155
|
if (result && result.data.length > 0) {
|
157
156
|
self.showwatermakeflag = true;
|
158
157
|
createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
|
@@ -292,7 +291,7 @@ export default {
|
|
292
291
|
this.OrderDaiBan = ''
|
293
292
|
this.AppDaiBan = ''
|
294
293
|
let http = new HttpResetClass()
|
295
|
-
await http.load('POST', '/
|
294
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
296
295
|
tablename:'t_order_center',
|
297
296
|
condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
|
298
297
|
}}, {
|
@@ -423,7 +422,6 @@ export default {
|
|
423
422
|
username: this.$login.f.name,
|
424
423
|
usertelephone: this.$login.f.f_user_telephone
|
425
424
|
}
|
426
|
-
// todo v4
|
427
425
|
await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
|
428
426
|
window.location.reload()
|
429
427
|
}
|
@@ -162,7 +162,6 @@
|
|
162
162
|
console.log('登录配置', self.config)
|
163
163
|
if (self.config.isMac) {
|
164
164
|
// 获取该登录人分公司下的mac配置
|
165
|
-
// todo v4
|
166
165
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
167
166
|
resolveMsg: null,
|
168
167
|
rejectMsg: null
|
@@ -243,7 +242,7 @@
|
|
243
242
|
async ready () {
|
244
243
|
try{
|
245
244
|
let http = new HttpResetClass()
|
246
|
-
let res = await http.load('POST', '
|
245
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
247
246
|
{data:{
|
248
247
|
tablename: 't_changedeclare',
|
249
248
|
condition: ` f_type ='变更通知' `
|
@@ -327,7 +326,7 @@
|
|
327
326
|
} else {
|
328
327
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
329
328
|
}
|
330
|
-
await http.load('POST', '/
|
329
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
331
330
|
tablename:'t_order_center',
|
332
331
|
condition:condition
|
333
332
|
}}, {
|
@@ -371,7 +370,6 @@
|
|
371
370
|
if (this.config.distanceLogin) {
|
372
371
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
373
372
|
let ename = this.$login.getUrlParames('name');
|
374
|
-
// todo v4
|
375
373
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
376
374
|
if(logininfo.data){
|
377
375
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -175,7 +175,6 @@ let saveGen = function *(self) {
|
|
175
175
|
console.log('登录配置', self.config)
|
176
176
|
if (self.config.isMac) {
|
177
177
|
// 获取该登录人分公司下的mac配置
|
178
|
-
// todo v4
|
179
178
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
180
179
|
resolveMsg: null,
|
181
180
|
rejectMsg: null
|
@@ -261,7 +260,7 @@ export default {
|
|
261
260
|
this.vTime = this.format(new Date(window.versionTime));
|
262
261
|
try{
|
263
262
|
let http = new HttpResetClass()
|
264
|
-
let res = await http.load('POST', '
|
263
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
265
264
|
{data:{
|
266
265
|
tablename: 't_changedeclare',
|
267
266
|
condition: ` f_type ='变更通知' `
|
@@ -378,7 +377,7 @@ export default {
|
|
378
377
|
} else {
|
379
378
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
380
379
|
}
|
381
|
-
await http.load('POST', '/
|
380
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
382
381
|
tablename:'t_order_center',
|
383
382
|
condition:condition
|
384
383
|
}}, {
|
@@ -454,7 +453,6 @@ export default {
|
|
454
453
|
if (this.config.distanceLogin) {
|
455
454
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
456
455
|
let ename = this.$login.getUrlParames('name');
|
457
|
-
// todo v4
|
458
456
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
459
457
|
if(logininfo.data){
|
460
458
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -161,8 +161,7 @@ let getwartermakr = async function (self) {
|
|
161
161
|
tablename: 't_singlevalue',
|
162
162
|
condition: " 1=1 and name=\'水印内容\'"
|
163
163
|
};
|
164
|
-
|
165
|
-
let result = await self.$resetpost('api/af-revenue/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
164
|
+
let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
166
165
|
if (result && result.data.length > 0) {
|
167
166
|
self.showwatermakeflag = true;
|
168
167
|
createWaterMark(`${result.data[0].value}${self.$login.f.ename}`);
|
@@ -301,7 +300,7 @@ export default {
|
|
301
300
|
this.OrderDaiBan = ''
|
302
301
|
this.AppDaiBan = ''
|
303
302
|
let http = new HttpResetClass()
|
304
|
-
await http.load('POST', '/
|
303
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
305
304
|
tablename:'t_order_center',
|
306
305
|
condition:` (f_orderstate != '预约成功' and f_orgstr ='${this.$login.f.orgid}' and f_orderstate != '预约失败' ) or f_orderstate is null`
|
307
306
|
}}, {
|
@@ -432,7 +431,6 @@ export default {
|
|
432
431
|
username: this.$login.f.name,
|
433
432
|
usertelephone: this.$login.f.f_user_telephone
|
434
433
|
}
|
435
|
-
// todo v4
|
436
434
|
await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
|
437
435
|
window.location.reload()
|
438
436
|
}
|
@@ -62,7 +62,6 @@
|
|
62
62
|
// let res = yield self.$post('rs/db/modifypassword', {data: self.deliver})
|
63
63
|
// let res = yield self.$resetpost('/rs/db/modifypwd', {data: self.deliver})
|
64
64
|
// Util.f.password = self.deliver.newpassword
|
65
|
-
// todo v4
|
66
65
|
let res = yield self.$resetpost('/rs/user/modifypwd', {data: self.deliver })
|
67
66
|
self.$login.f.password = self.deliver.newpassword
|
68
67
|
if (res.data) {
|
@@ -127,7 +127,6 @@ import {HttpResetClass} from 'vue-client'
|
|
127
127
|
|
128
128
|
|
129
129
|
|
130
|
-
// todo v4
|
131
130
|
let saveGen = function *(self) {
|
132
131
|
try {
|
133
132
|
if(self.$login){
|
@@ -230,7 +229,7 @@ export default {
|
|
230
229
|
async ready () {
|
231
230
|
try{
|
232
231
|
let http = new HttpResetClass()
|
233
|
-
let res = await http.load('POST', '
|
232
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
234
233
|
{data:{
|
235
234
|
tablename: 't_changedeclare',
|
236
235
|
condition: ` f_type ='变更通知' `
|
@@ -299,7 +298,6 @@ export default {
|
|
299
298
|
if (this.config.distanceLogin) {
|
300
299
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
301
300
|
let ename = this.$login.getUrlParames('name');
|
302
|
-
// todo v4
|
303
301
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
304
302
|
if(logininfo.data){
|
305
303
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -68,7 +68,7 @@ let getwartermakr = async function (self) {
|
|
68
68
|
tablename: 't_singlevalue',
|
69
69
|
condition: " 1=1 and name=\'水印内容\'"
|
70
70
|
};
|
71
|
-
let result = await self.$resetpost('
|
71
|
+
let result = await self.$resetpost('rs/sql/saleSingleTable', {data: param}, {resolveMsg: null, rejectMsg: null});
|
72
72
|
if (result && result.data.length > 0) {
|
73
73
|
self.showwatermakeflag = true;
|
74
74
|
createWaterMark(result.data[0].value);
|
@@ -295,7 +295,7 @@ export default {
|
|
295
295
|
username: this.$login.f.name,
|
296
296
|
usertelephone: this.$login.f.f_user_telephone
|
297
297
|
}
|
298
|
-
await this.$resetpost('
|
298
|
+
await this.$resetpost('rs/logic/logOut', data, {resolveMsg: '退出成功', rejectMsg: null})
|
299
299
|
window.location.reload()
|
300
300
|
}
|
301
301
|
})
|
@@ -174,7 +174,6 @@
|
|
174
174
|
console.log('登录配置', self.config)
|
175
175
|
if (self.config.isMac) {
|
176
176
|
// 获取该登录人分公司下的mac配置
|
177
|
-
// todo v4
|
178
177
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
179
178
|
resolveMsg: null,
|
180
179
|
rejectMsg: null
|
@@ -260,7 +259,7 @@
|
|
260
259
|
this.vTime = this.format(new Date(window.versionTime));
|
261
260
|
try{
|
262
261
|
let http = new HttpResetClass()
|
263
|
-
let res = await http.load('POST', '
|
262
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
264
263
|
{data:{
|
265
264
|
tablename: 't_changedeclare',
|
266
265
|
condition: ` f_type ='变更通知' `
|
@@ -360,7 +359,7 @@
|
|
360
359
|
} else {
|
361
360
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
362
361
|
}
|
363
|
-
await http.load('POST', '/
|
362
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
364
363
|
tablename:'t_order_center',
|
365
364
|
condition:condition
|
366
365
|
}}, {
|
@@ -436,7 +435,6 @@
|
|
436
435
|
if (this.config.distanceLogin) {
|
437
436
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
438
437
|
let ename = this.$login.getUrlParames('name');
|
439
|
-
// todo v4
|
440
438
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
441
439
|
if(logininfo.data){
|
442
440
|
if(logininfo.data.ename && logininfo.data.password){
|
@@ -178,7 +178,6 @@ let saveGen = function *(self) {
|
|
178
178
|
console.log('登录配置', self.config)
|
179
179
|
if (self.config.isMac) {
|
180
180
|
// 获取该登录人分公司下的mac配置
|
181
|
-
// todo v4
|
182
181
|
let getMacs = yield self.$resetpost('rs/sql/equipmentQuery', {data: {condition: `f_filialeids like '%${self.$login.f.f_orgids}%'`}}, {
|
183
182
|
resolveMsg: null,
|
184
183
|
rejectMsg: null
|
@@ -267,7 +266,7 @@ export default {
|
|
267
266
|
this.vTime = this.format(new Date(window.versionTime));
|
268
267
|
try{
|
269
268
|
let http = new HttpResetClass()
|
270
|
-
let res = await http.load('POST', '
|
269
|
+
let res = await http.load('POST', 'rs/sql/singleTable',
|
271
270
|
{data:{
|
272
271
|
tablename: 't_changedeclare',
|
273
272
|
condition: ` f_type ='变更通知' `
|
@@ -367,7 +366,7 @@ export default {
|
|
367
366
|
} else {
|
368
367
|
condition =` f_orderstate is null and (f_address in( select f_address from t_user_address where f_slice_area='柠条塔') or f_address like '%柠条塔%') `
|
369
368
|
}
|
370
|
-
await http.load('POST', '/
|
369
|
+
await http.load('POST', '/rs/sql/singleTable', {data: {
|
371
370
|
tablename:'t_order_center',
|
372
371
|
condition:condition
|
373
372
|
}}, {
|
@@ -443,7 +442,6 @@ export default {
|
|
443
442
|
if (this.config.distanceLogin) {
|
444
443
|
if (this.$login && this.$login.getUrlParames('name') ) {
|
445
444
|
let ename = this.$login.getUrlParames('name');
|
446
|
-
// todo v4
|
447
445
|
let logininfo = await this.$resetpost('rs/logic/getLoginData',{data:{ename:ename}},{resolveMsg: null, rejectMsg: null});
|
448
446
|
if(logininfo.data){
|
449
447
|
if(logininfo.data.ename && logininfo.data.password){
|