Browse Source

版本3.8.0 2023-12-19 ljd

1、将部分图片压缩
master
xiaohei 1 year ago
parent
commit
388fbaa3e1
29 changed files with 77 additions and 71 deletions
  1. BIN
      src/assets/img/1.png
  2. BIN
      src/assets/img/2.png
  3. BIN
      src/assets/img/3.png
  4. BIN
      src/assets/img/4.png
  5. BIN
      src/assets/img/add.png
  6. BIN
      src/assets/img/alarm.png
  7. BIN
      src/assets/img/alert.png
  8. BIN
      src/assets/img/avator.d7401229.png
  9. BIN
      src/assets/img/beijingtu01.png
  10. BIN
      src/assets/img/beijingtu24.jpg
  11. BIN
      src/assets/img/beijingtu59.jpg
  12. BIN
      src/assets/img/beijingtu60.jpg
  13. BIN
      src/assets/img/bgBox.png
  14. BIN
      src/assets/img/bgfixed.jpg
  15. BIN
      src/assets/img/blkmqx.png
  16. BIN
      src/assets/img/bytz.png
  17. BIN
      src/assets/img/byxrz.png
  18. BIN
      src/assets/img/check.png
  19. BIN
      src/assets/img/check1.png
  20. BIN
      src/assets/img/choose.1fda8508.png
  21. BIN
      src/assets/img/czl.png
  22. BIN
      src/assets/img/dd.png
  23. BIN
      src/assets/img/dk.png
  24. BIN
      src/assets/img/dpzs.png
  25. BIN
      src/assets/img/dpzs1.png
  26. BIN
      src/assets/img/dpzs2.png
  27. BIN
      src/assets/img/dpzs3.png
  28. +12
    -9
      src/views/boYu/byRoom.vue
  29. +65
    -62
      src/views/userManagement.vue

BIN
src/assets/img/1.png View File

Before After
Width: 44  |  Height: 44  |  Size: 1.4 KiB Width: 44  |  Height: 44  |  Size: 555 B

BIN
src/assets/img/2.png View File

Before After
Width: 44  |  Height: 44  |  Size: 1.6 KiB Width: 44  |  Height: 44  |  Size: 616 B

BIN
src/assets/img/3.png View File

Before After
Width: 44  |  Height: 44  |  Size: 1.7 KiB Width: 44  |  Height: 44  |  Size: 615 B

BIN
src/assets/img/4.png View File

Before After
Width: 44  |  Height: 44  |  Size: 1.5 KiB Width: 44  |  Height: 44  |  Size: 596 B

BIN
src/assets/img/add.png View File

Before After
Width: 81  |  Height: 80  |  Size: 5.5 KiB Width: 81  |  Height: 80  |  Size: 1.4 KiB

BIN
src/assets/img/alarm.png View File

Before After
Width: 80  |  Height: 80  |  Size: 2.4 KiB Width: 80  |  Height: 80  |  Size: 819 B

BIN
src/assets/img/alert.png View File

Before After
Width: 300  |  Height: 200  |  Size: 10 KiB Width: 300  |  Height: 200  |  Size: 3.1 KiB

BIN
src/assets/img/avator.d7401229.png View File

Before After
Width: 120  |  Height: 120  |  Size: 8.5 KiB Width: 120  |  Height: 120  |  Size: 3.4 KiB

BIN
src/assets/img/beijingtu01.png View File

Before After
Width: 1890  |  Height: 1417  |  Size: 641 KiB Width: 1890  |  Height: 1417  |  Size: 140 KiB

BIN
src/assets/img/beijingtu24.jpg View File

Before After
Width: 1700  |  Height: 1275  |  Size: 225 KiB Width: 1700  |  Height: 1275  |  Size: 34 KiB

BIN
src/assets/img/beijingtu59.jpg View File

Before After
Width: 1700  |  Height: 1275  |  Size: 210 KiB Width: 1700  |  Height: 1275  |  Size: 116 KiB

BIN
src/assets/img/beijingtu60.jpg View File

Before After
Width: 1700  |  Height: 1275  |  Size: 195 KiB Width: 1700  |  Height: 1275  |  Size: 99 KiB

BIN
src/assets/img/bgBox.png View File

Before After
Width: 502  |  Height: 261  |  Size: 17 KiB Width: 502  |  Height: 261  |  Size: 1.1 KiB

BIN
src/assets/img/bgfixed.jpg View File

Before After
Width: 1920  |  Height: 1080  |  Size: 103 KiB Width: 1920  |  Height: 1080  |  Size: 66 KiB

BIN
src/assets/img/blkmqx.png View File

Before After
Width: 144  |  Height: 144  |  Size: 7.4 KiB Width: 144  |  Height: 144  |  Size: 1.9 KiB

BIN
src/assets/img/bytz.png View File

Before After
Width: 74  |  Height: 74  |  Size: 3.1 KiB Width: 74  |  Height: 74  |  Size: 1.1 KiB

BIN
src/assets/img/byxrz.png View File

Before After
Width: 74  |  Height: 74  |  Size: 3.4 KiB Width: 74  |  Height: 74  |  Size: 1.2 KiB

BIN
src/assets/img/check.png View File

Before After
Width: 36  |  Height: 36  |  Size: 1.1 KiB Width: 36  |  Height: 36  |  Size: 464 B

BIN
src/assets/img/check1.png View File

Before After
Width: 36  |  Height: 36  |  Size: 1.1 KiB Width: 36  |  Height: 36  |  Size: 446 B

BIN
src/assets/img/choose.1fda8508.png View File

Before After
Width: 64  |  Height: 212  |  Size: 7.0 KiB Width: 64  |  Height: 212  |  Size: 2.8 KiB

BIN
src/assets/img/czl.png View File

Before After
Width: 74  |  Height: 74  |  Size: 3.2 KiB Width: 74  |  Height: 74  |  Size: 1.1 KiB

BIN
src/assets/img/dd.png View File

Before After
Width: 200  |  Height: 200  |  Size: 2.2 KiB Width: 200  |  Height: 200  |  Size: 413 B

BIN
src/assets/img/dk.png View File

Before After
Width: 48  |  Height: 48  |  Size: 2.6 KiB Width: 48  |  Height: 48  |  Size: 690 B

BIN
src/assets/img/dpzs.png View File

Before After
Width: 200  |  Height: 200  |  Size: 7.2 KiB Width: 200  |  Height: 200  |  Size: 2.3 KiB

BIN
src/assets/img/dpzs1.png View File

Before After
Width: 200  |  Height: 200  |  Size: 5.8 KiB Width: 200  |  Height: 200  |  Size: 1.9 KiB

BIN
src/assets/img/dpzs2.png View File

Before After
Width: 200  |  Height: 200  |  Size: 9.1 KiB Width: 200  |  Height: 200  |  Size: 3.6 KiB

BIN
src/assets/img/dpzs3.png View File

Before After
Width: 200  |  Height: 200  |  Size: 8.4 KiB Width: 200  |  Height: 200  |  Size: 3.0 KiB

+ 12
- 9
src/views/boYu/byRoom.vue View File

@ -26,6 +26,9 @@
<el-table :data="tableData" border stripe class="table" ref="multipleTable" height="600"
header-cell-class-name="table-header" @selection-change="handleSelectionChange" empty-text="无">
<el-table-column type="selection" width="55"></el-table-column>
<el-table-column prop="id" label="ID"></el-table-column>
<el-table-column prop="roomId" label="roomID"></el-table-column>
<el-table-column prop="did" label="did"></el-table-column>
<el-table-column prop="storeName" label="门店名称"></el-table-column>
<el-table-column prop="buildingName" label="楼栋名称"></el-table-column>
<el-table-column prop="unitName" label="单元名称"></el-table-column>
@ -266,16 +269,16 @@ export default {
content = content.concat(results.list);
if (results) {
content = content.concat(results.list);
let total = results.total;//
let page = Math.ceil(total / this.pageSize);//
if (page > 1) {
for (let i = 2; i <= page; i++) {
this.pageNum = i;//
let newResults = await this.getRoomList();
// let total = results.total;//
// let page = Math.ceil(total / this.pageSize);//
// if (page > 1) {
// for (let i = 2; i <= page; i++) {
// this.pageNum = i;//
// let newResults = await this.getRoomList();
//234...content
content = content.concat(newResults.list);
}
}
// content = content.concat(newResults.list);
// }
// }
await this.processingData(content)
}
},


+ 65
- 62
src/views/userManagement.vue View File

@ -111,8 +111,8 @@
<el-input v-model="query.phone" size="small" placeholder="手机号" class="handle-input width-3rem mr10"
:clearable="true">
</el-input>
<el-cascader style="width: 100%;" size="small" :options="roomlistZNodes" collapse-tags
@change="checkNodeSearch" :props="{ multiple: true }" :clearable="true" class="width-3rem"></el-cascader>
<!-- <el-cascader style="width: 100%;" size="small" :options="roomlistZNodes" collapse-tags-->
<!-- @change="checkNodeSearch" :props="{ multiple: true }" :clearable="true" class="width-3rem"></el-cascader>-->
<el-button type="primary" size="small" icon="el-icon-search" @click="handleSearch"
style="background: #FA8E00; border: none;">查询</el-button>
</div>
@ -371,11 +371,11 @@
<span v-if="scope.row.type == 14">密码</span>
</template>
</el-table-column>
<!-- <el-table-column prop="number" width="400" label="凭证有效期">-->
<!-- <template #default="scope">-->
<!-- <span>{{ scope.row.startTimeText }} - {{ scope.row.endTimeText }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<!-- <el-table-column prop="number" width="400" label="凭证有效期">-->
<!-- <template #default="scope">-->
<!-- <span>{{ scope.row.startTimeText }} - {{ scope.row.endTimeText }}</span>-->
<!-- </template>-->
<!-- </el-table-column>-->
<el-table-column label="创建时间" prop="createAt" width="200"></el-table-column>
<el-table-column label="操作" width="400" align="center" class-name="tablebutton">
<template #default="scope">
@ -1149,29 +1149,11 @@ export default {
mounted() {
//
this.getLeasesList()
// document.addEventListener('keydown', this.keyDown)
document.addEventListener('keydown', this.keyDown)
var that = this
setTimeout(() => {
this.handleSearch()
var q = {};
var data = {
pageNum: 0,
pageSize: 0,
orderBy: "create_time desc",
q: JSON.stringify(q),
};
let roomAbout = this.$store.state.roomAbout
httpPost(data, this.$api.getlistNum).then((res1) => {
res1.data.list.map((li, index) => {
this.$store.commit("increment", 1);
li['rommNameText'] = this.screenRoomName(li.id)
if (li["rommNameText"] != '') {
this.isCheckin++
} else {
this.noshowNum++
}
});
});
}, 800)
that.handleSearch()
}, 1000)
},
beforeDestroy() {
this.$store.commit("increment", 1);
@ -1226,7 +1208,7 @@ export default {
let data3 = {
code: "/zg/offlinepassword/limit",
data: {
userName: JSON.parse(this.drawerRow.info).userId,
userName: this.drawerRow.info.userId,
lockId: row.deviceNum,
startTime: startTime,
endTime: endTime
@ -1257,7 +1239,7 @@ export default {
let data3 = {
code: "/zg/offlinepassword/correctTime",
data: {
userName: JSON.parse(this.drawerRow.info).userId,
userName: this.drawerRow.info.userId,
lockId: row.deviceNum,
},
};
@ -1286,7 +1268,7 @@ export default {
let data3 = {
code: "/zg/offlinepassword/clear",
data: {
userName: JSON.parse(this.drawerRow.info).userId,
userName: this.drawerRow.info.userId,
lockId: row.deviceNum,
startTime: startTime,
// endTime:endTime,
@ -1318,7 +1300,7 @@ export default {
let data3 = {
code: "/zg/offlinepassword/forever",
data: {
userName: JSON.parse(this.drawerRow.info).userId,
userName: this.drawerRow.info.userId,
lockId: row.deviceNum,
startTime: startTime,
// endTime:endTime,
@ -2900,8 +2882,8 @@ export default {
phone: this.query.phone,
};
var data = {
pageNum: 1,
pageSize: 10,
pageNum: this.pageNum,
pageSize: this.pageSize,
orderBy: "create_time desc",
q: JSON.stringify(q),
};
@ -2909,7 +2891,7 @@ export default {
let roomAbout = this.$store.state.roomAbout
httpPost(data, this.$api.getlistNum).then((res1) => {
console.log(res1);
let para = [];
let para = [], searchCardIds=[];
res1.data.list.map((li, index) => {
let userTelephone = JSON.parse(li.info) ? JSON.parse(li.info).userTelephone : ''
let str = {
@ -2918,15 +2900,30 @@ export default {
password: "",
operateMode: 1,
};
para.push(str);
// para.push(str);
this.$store.commit("increment", 1);
li.status = 3;
li['rommNameText'] = this.screenRoomName(li.id)
searchCardIds.push(li.id)
if(li.info){
li.info = JSON.parse(li.info)
}
});
this.searchCardIds = searchCardIds
this.getAboutRoom()
let list = res1.data.list
setTimeout(()=>{
list.map(li=>{
li['rommNameText'] = this.screenRoomName(li.id)
})
this.currentPage4 = 1
this.userlist = list;
this.total = res1.data.total;
},500)
// this.getallstatus(para);
console.log(res1.data.list);
this.userlist = res1.data.list;
this.total = res1.data.total;
// console.log(res1.data.list);
// this.userlist = res1.data.list;
// this.total = res1.data.total;
});
},
//
@ -3126,8 +3123,8 @@ export default {
var roomName = this.zNodes.filter(item => li.roomId === item.id)
if (resultArr) {
if (resultArr.manufactureId == 101) {
var userTelephone = JSON.parse(this.drawerRow.info).userTelephone;
var userPassword = JSON.parse(this.drawerRow.info).userPassword;
var userTelephone = this.drawerRow.info.userTelephone;
var userPassword = this.drawerRow.info.userPassword;
resultArr.roomName = roomName[0].name
var data = {
deviceNum: resultArr.deviceNum,
@ -3261,7 +3258,7 @@ export default {
sendVoucher() {
var SelectedListbind = this.SelectedList
var roomAbout = this.$store.state.roomAbout
var infostr = JSON.parse(this.drawerRow.info);
var infostr = this.drawerRow.info;
var fjid = [];
if (this.value2[0] == '' || this.value2[1] == '') {
this.$message.error("请选择开始结束时间")
@ -3750,8 +3747,8 @@ export default {
lockerId: resultArr.deviceNum,
imei: resultArr.imei,
order: 6216,
lockerUserId: JSON.parse(this.drawerRow.info).userPassword,
keyId: JSON.parse(this.drawerRow.info).userPassword,
lockerUserId: this.drawerRow.info.userPassword,
keyId: this.drawerRow.info.userPassword,
fingerType: 0,
file: fingerprint1,
cardName: row.name + '-' + (pzname ? pzname : ''),
@ -4909,10 +4906,10 @@ export default {
str = {
username: this.voucher.username,
pzname: pzname,
userTelephone: JSON.parse(this.drawerRow.info).userTelephone,
userPassword: JSON.parse(this.drawerRow.info).userPassword,
keyId: JSON.parse(this.drawerRow.info).keyId || '',
userId: JSON.parse(this.drawerRow.info).userId || '',
userTelephone: this.drawerRow.info.userTelephone,
userPassword: this.drawerRow.info.userPassword,
keyId: this.drawerRow.info.keyId || '',
userId: this.drawerRow.info.userId || '',
fingerprintAlias: this.voucher.fingerprintAlias,
password: "",
passwordStartTime: moment(this.value2[0]).format('YYYYMMDDHHmmss'),
@ -4937,10 +4934,10 @@ export default {
str = {
username: this.voucher.username,
pzname: pzname,
userTelephone: JSON.parse(this.drawerRow.info).userTelephone,
userPassword: JSON.parse(this.drawerRow.info).userPassword,
keyId: JSON.parse(this.drawerRow.info).keyId || '',
userId: JSON.parse(this.drawerRow.info).userId || '',
userTelephone: this.drawerRow.info.userTelephone,
userPassword: this.drawerRow.info.userPassword,
keyId: this.drawerRow.info.keyId || '',
userId: this.drawerRow.info.userId || '',
operateMode: 13,
order: 6213,
password: arr2.toUpperCase(), //this.voucher.idcard,
@ -4973,10 +4970,10 @@ export default {
pzname: pzname,
operateMode: 10,
order: 6210,
userTelephone: JSON.parse(this.drawerRow.info).userTelephone,
userPassword: JSON.parse(this.drawerRow.info).userPassword,
keyId: JSON.parse(this.drawerRow.info).keyId || '',
userId: JSON.parse(this.drawerRow.info).userId || '',
userTelephone: this.drawerRow.info.userTelephone,
userPassword: this.drawerRow.info.userPassword,
keyId: this.drawerRow.info.keyId || '',
userId: this.drawerRow.info.userId || '',
password: nfc.toUpperCase(), //this.voucher.nfc,
passwordStartTime: moment(this.value2[0]).format('YYYYMMDDHHmmss'),
passwordEndTime: moment(this.value2[1]).format('YYYYMMDDHHmmss'),
@ -4998,10 +4995,10 @@ export default {
pzname: pzname,
// imei: this.deviceList[0].imei,
password: this.voucher.password,
userTelephone: JSON.parse(this.drawerRow.info).userTelephone,
userPassword: JSON.parse(this.drawerRow.info).userPassword,
keyId: JSON.parse(this.drawerRow.info).keyId || '',
userId: JSON.parse(this.drawerRow.info).userId || '',
userTelephone: this.drawerRow.info.userTelephone,
userPassword: this.drawerRow.info.userPassword,
keyId: this.drawerRow.info.keyId || '',
userId: this.drawerRow.info.userId || '',
operateMode: 7,
order: 6207,
passwordStartTime: moment(this.value2[0]).format('YYYYMMDDHHmmss'),
@ -5488,7 +5485,13 @@ export default {
},
//
qlfj() {
var info = JSON.parse(this.drawerRow.info);
// var info = JSON.parse(this.drawerRow.info);
let info = ''//JSON.parse(this.drawerRow.info);
if(typeof(this.drawerRow.info) == 'object'){
info = this.drawerRow.info
}else if(typeof(this.drawerRow.info) == 'string'){
info = JSON.parse(this.drawerRow.info)
}
var info1 = {
roomIds: [],
userPassword: info.userPassword,


Loading…
Cancel
Save