Commit 4cb4f708d68ec318b9e006702c2d7b8e2232fe45
'最新'
Showing
26 changed files
with
269 additions
and
38 deletions
ceres-uniapp-master/config/api.js
| 1 | 1 | |
| 2 | -const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/admin-server' | |
| 3 | -const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/api' | |
| 2 | +// const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/admin-server' | |
| 3 | +// const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/api' | |
| 4 | 4 | // const DOMAIN_PREFIXPING = 'http://192.168.2.7:9003' |
| 5 | 5 | // const DOMAIN_PREFIX = 'http://192.168.2.7:9007' |
| 6 | 6 | // const host = `${window.location.protocol}//${window.location.host}` |
| ... | ... | @@ -9,8 +9,8 @@ const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/api' |
| 9 | 9 | // const DOMAIN_PREFIX =`${host}/cdwlMall/meserver/api` |
| 10 | 10 | |
| 11 | 11 | |
| 12 | -// const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/meserver/admin-server' | |
| 13 | -// const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/meserver/api' | |
| 12 | +const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/admin-server' | |
| 13 | +const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/api' | |
| 14 | 14 | // const DOMAIN_PREFIXPING = 'http://192.168.2.162:9003' |
| 15 | 15 | // const DOMAIN_PREFIX = 'http://192.168.2.162:9007' |
| 16 | 16 | // const host = `${window.location.protocol}//${window.location.host}` | ... | ... |
yanshouban/src/App.vue
| ... | ... | @@ -42,7 +42,7 @@ export default { |
| 42 | 42 | // } |
| 43 | 43 | // } else { |
| 44 | 44 | |
| 45 | -// window.location.href = 'https://zhld.scjysm.com:1443/home'; // 直接跳转到指定的 URL | |
| 45 | +// window.location.href = 'https://jy.scjysm.asia:18086/login'; // 直接跳转到指定的 URL | |
| 46 | 46 | // } |
| 47 | 47 | // if (this.$store.state.user.token) { |
| 48 | 48 | // this.getPrivacySwitch(); |
| ... | ... | @@ -53,8 +53,8 @@ export default { |
| 53 | 53 | handleLogin () { |
| 54 | 54 | |
| 55 | 55 | const data = { |
| 56 | - username: JM.encrypt('admin'), | |
| 57 | - password: JM.encrypt('ILoveChina@666'), | |
| 56 | + username: this.$encrypt('admin'), | |
| 57 | + password: this.$encrypt('ILoveChina@666'), | |
| 58 | 58 | // username: JM.encrypt('15827188456'), |
| 59 | 59 | // password: JM.encrypt('ILoveChina@666'), |
| 60 | 60 | rememberMe: false | ... | ... |
yanshouban/src/layout/index.vue
| ... | ... | @@ -291,7 +291,7 @@ export default { |
| 291 | 291 | newPassword: '', |
| 292 | 292 | confirmPass: '' |
| 293 | 293 | }, |
| 294 | - name: localStorage.getItem('roleName'), | |
| 294 | + name:this.$decrypt(localStorage.getItem('roleName')) , | |
| 295 | 295 | rules: { |
| 296 | 296 | password: [ |
| 297 | 297 | { required: true, message: '请输入旧密码', trigger: 'blur' } | ... | ... |
yanshouban/src/main.js
| ... | ... | @@ -12,7 +12,7 @@ import '@/assets/font.css' |
| 12 | 12 | import App from './App.vue' |
| 13 | 13 | import store from './store' |
| 14 | 14 | import router from './router' |
| 15 | -import {encrypt,decrypt,decryptall} from './utils/jiami.js' | |
| 15 | +import {encrypt,decrypt,decryptall,encryptall} from './utils/jiami.js' | |
| 16 | 16 | import '@/icons' // icon |
| 17 | 17 | import '@/permission' // permission control |
| 18 | 18 | |
| ... | ... | @@ -31,6 +31,7 @@ Vue.prototype.$API = 'https://jy.scjysm.asia:18086/meserver/api' |
| 31 | 31 | Vue.prototype.$encrypt = encrypt; |
| 32 | 32 | Vue.prototype.$decrypt = decrypt; |
| 33 | 33 | Vue.prototype.$decryptall = decryptall; |
| 34 | +Vue.prototype.$encryptall = encryptall; | |
| 34 | 35 | // Vue.prototype.$API = 'https://wjdc.scjysm.asia:1443/meserver/api' |
| 35 | 36 | // Vue.prototype.$API = 'http://8.130.38.56:8019/api' |
| 36 | 37 | // https://jy.scjysm.asia:18086 http://172.16.61.126:8080 http://8.130.38.56:8027 | ... | ... |
yanshouban/src/utils/jiami.js
| ... | ... | @@ -34,10 +34,10 @@ export const decrypt = (str) => { |
| 34 | 34 | return '解密失败!' |
| 35 | 35 | } |
| 36 | 36 | } |
| 37 | - | |
| 37 | +// 批量加密 | |
| 38 | 38 | export const decryptall = (obj,isjmlist) => { |
| 39 | - console.error(isjmlist) | |
| 40 | - console.error(obj) | |
| 39 | + | |
| 40 | + | |
| 41 | 41 | let list = [] |
| 42 | 42 | let objnew = {} |
| 43 | 43 | for (let key in obj) { |
| ... | ... | @@ -47,10 +47,10 @@ export const decryptall = (obj,isjmlist) => { |
| 47 | 47 | value:obj[key],//值 |
| 48 | 48 | } |
| 49 | 49 | if(isjmlist.length> 0) { |
| 50 | - | |
| 51 | - // let found = isjmlist.find(function(element) { | |
| 52 | - // return key == element; | |
| 53 | - // }); | |
| 50 | + | |
| 51 | + // let found = isjmlist.find(function(element) { | |
| 52 | + // return key == element; | |
| 53 | + // }); | |
| 54 | 54 | console.log(isjmlist.indexOf(key) != -1) |
| 55 | 55 | if(isjmlist.indexOf(key) != -1) { |
| 56 | 56 | item.typeis = '1' |
| ... | ... | @@ -58,11 +58,11 @@ export const decryptall = (obj,isjmlist) => { |
| 58 | 58 | } else { |
| 59 | 59 | item.typeis = '1' |
| 60 | 60 | } |
| 61 | - console.error(item) | |
| 61 | + | |
| 62 | 62 | list.push(item) |
| 63 | 63 | } |
| 64 | - console.log(list); | |
| 65 | - | |
| 64 | + | |
| 65 | + | |
| 66 | 66 | list.forEach(element => { |
| 67 | 67 | if(element.typeis == '1' && element.value) { |
| 68 | 68 | console.error(element) |
| ... | ... | @@ -70,6 +70,27 @@ export const decryptall = (obj,isjmlist) => { |
| 70 | 70 | } |
| 71 | 71 | objnew[element.keyname] = element.value |
| 72 | 72 | }); |
| 73 | - console.log(objnew); | |
| 73 | + | |
| 74 | 74 | return objnew |
| 75 | -} | |
| 76 | 75 | \ No newline at end of file |
| 76 | +} | |
| 77 | +// 批量解密 | |
| 78 | +export const encryptall = (list,isjmlist) => { | |
| 79 | + | |
| 80 | + | |
| 81 | + let newlist = list.map(element => { | |
| 82 | + let c1 = Object.keys(element) | |
| 83 | + c1.forEach(key => { | |
| 84 | + if(isjmlist.length> 0) { | |
| 85 | + console.log(isjmlist.indexOf(key) != -1) | |
| 86 | + if(isjmlist.indexOf(key) != -1) { | |
| 87 | + element[key] = decrypt(element[key]) | |
| 88 | + } | |
| 89 | + } else { | |
| 90 | + element[key] = decrypt(element[key]) | |
| 91 | + } | |
| 92 | + }); | |
| 93 | + return element | |
| 94 | + }); | |
| 95 | + | |
| 96 | + return newlist | |
| 97 | +} | ... | ... |
yanshouban/src/utils/request.js
| ... | ... | @@ -21,9 +21,9 @@ if (host == '172.16.61.48' || host == '172.16.61.49:5173' || host =='172.16.61.1 |
| 21 | 21 | // PREFIX = 'http://172.16.61.48/meserver/admin-server'; |
| 22 | 22 | // PREFIX = 'http://192.168.2.213:9003'; |
| 23 | 23 | // PREFIX = 'http://8.130.38.56:8019/admin-server'; |
| 24 | -// PREFIX = 'http://192.168.2.7:9003'; | |
| 24 | + PREFIX = 'http://192.168.8.106:9003'; | |
| 25 | 25 | // PREFIX = 'https://wjdc.scjysm.asia:1443/meserver/admin-server'; |
| 26 | - PREFIX = 'https://jy.scjysm.asia:18086/admin-server'; | |
| 26 | + // PREFIX = 'https://jy.scjysm.asia:18086/admin-server'; | |
| 27 | 27 | // PREFIX = 'http://172.16.61.126:8080/meserver/admin-server'; |
| 28 | 28 | // PREFIX = 'https://wjdc.scjysm.asia:1443/meserver/admin-server' |
| 29 | 29 | ... | ... |
yanshouban/src/views/advertisement/index.vue
| ... | ... | @@ -894,7 +894,8 @@ |
| 894 | 894 | auditTime:'' |
| 895 | 895 | }, |
| 896 | 896 | peiShow:false, |
| 897 | - peiId:'' | |
| 897 | + peiId:'', | |
| 898 | + hemiList:['earnestMoney','contractAmount','lessorName','telephone','bankAccount','tenantName','tenantTelephone','tenantBankAccount'] | |
| 898 | 899 | } |
| 899 | 900 | }, |
| 900 | 901 | created() { |
| ... | ... | @@ -951,6 +952,16 @@ |
| 951 | 952 | } |
| 952 | 953 | this.tableData = res.data.content |
| 953 | 954 | this.total = res.data.content.length |
| 955 | + this.tableData.map(res=>{ | |
| 956 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 957 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 958 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 959 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 960 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 961 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 962 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 963 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 964 | + }) | |
| 954 | 965 | }, |
| 955 | 966 | // 获取时间 |
| 956 | 967 | currentTime() { |
| ... | ... | @@ -986,6 +997,7 @@ |
| 986 | 997 | this.heForm.appendicesContract = JSON.stringify(this.hetongData) |
| 987 | 998 | } |
| 988 | 999 | this.heForm.createDate = this.currentTime() |
| 1000 | + let heinfo = this.$decryptall(this.heForm,this.hemiList) | |
| 989 | 1001 | hetongadd(this.heForm).then(res => { |
| 990 | 1002 | this.formInl.contractId = res.data.id |
| 991 | 1003 | this.formInl.applicationTime = this.currentTime() | ... | ... |
yanshouban/src/views/business/autd/index.vue
| ... | ... | @@ -384,7 +384,10 @@ export default { |
| 384 | 384 | search () { |
| 385 | 385 | this.total = 1 |
| 386 | 386 | this.formInline.page = 1 |
| 387 | - this.getAll(this.formInline) | |
| 387 | + | |
| 388 | + let obj = { ...this.formInline} | |
| 389 | + obj.shopPhone = this.$encrypt(obj.shopPhone) | |
| 390 | + this.getAll(obj) | |
| 388 | 391 | }, |
| 389 | 392 | // 处理 |
| 390 | 393 | handleDel (row) { | ... | ... |
yanshouban/src/views/business/businessList/index.vue
| ... | ... | @@ -802,7 +802,7 @@ export default { |
| 802 | 802 | }, |
| 803 | 803 | business:[], |
| 804 | 804 | plan_Time:[], |
| 805 | - miList:['shopPhone','shopPassword','idCardNum','emailAddress','shopAdress','legalRepresentative','chargePersonPhone'] | |
| 805 | + miList:['shopPhone','shopPassword','idCardNum','emailAddress','shopAdress','legalRepresentative','chargePersonPhone','emailAddress'] | |
| 806 | 806 | } |
| 807 | 807 | }, |
| 808 | 808 | // 监听属性 类似于data概念 |
| ... | ... | @@ -860,6 +860,7 @@ export default { |
| 860 | 860 | console.log(tab, event) |
| 861 | 861 | }, |
| 862 | 862 | onSubmit () { |
| 863 | + this.formInline.chargePersonName = this.$encrypt(this.formInline.chargePersonName) | |
| 863 | 864 | this.getAll(this.formInline) |
| 864 | 865 | }, |
| 865 | 866 | resetting(){ |
| ... | ... | @@ -871,6 +872,7 @@ export default { |
| 871 | 872 | page: '1', // 当前页 |
| 872 | 873 | pageSize: '10' // 每页记录数 |
| 873 | 874 | } |
| 875 | + | |
| 874 | 876 | this.getAll(this.formInline) |
| 875 | 877 | }, |
| 876 | 878 | // 新建商家 |
| ... | ... | @@ -949,7 +951,9 @@ export default { |
| 949 | 951 | } |
| 950 | 952 | |
| 951 | 953 | if (!this.userState) { |
| 954 | + | |
| 952 | 955 | let newinfo = this.$decryptall(this.ruleForm,this.miList) |
| 956 | + | |
| 953 | 957 | businessListSave(newinfo).then(res => { |
| 954 | 958 | if (res.code === '') { |
| 955 | 959 | this.$message({ |
| ... | ... | @@ -963,6 +967,9 @@ export default { |
| 963 | 967 | }) |
| 964 | 968 | } else { |
| 965 | 969 | let newinfo = this.$decryptall(this.ruleForm,this.miList) |
| 970 | + let arr = [newinfo.shopPhone,newinfo.shopPassword,newinfo.idCardNum,newinfo.emailAddress,newinfo.shopAdress,newinfo.legalRepresentative,newinfo.chargePersonPhone] | |
| 971 | + arr = arr.join(',') | |
| 972 | + newinfo.dataIntegrity = this.$encrypt(arr) | |
| 966 | 973 | businessListUpdate(newinfo).then(res => { |
| 967 | 974 | |
| 968 | 975 | if (res.code === '') { |
| ... | ... | @@ -999,6 +1006,12 @@ export default { |
| 999 | 1006 | this.$set(this.plan_Time, 0, res.data.validityStartDate) |
| 1000 | 1007 | this.$set(this.plan_Time, 1, res.data.validityEndDate) |
| 1001 | 1008 | this.dialogVisible = true |
| 1009 | + this.ruleForm.shopPhone = this.$decrypt(this.ruleForm.shopPhone) | |
| 1010 | + this.ruleForm.shopPassword = this.$decrypt(this.ruleForm.shopPassword) | |
| 1011 | + this.ruleForm.shopAdress = this.$decrypt(this.ruleForm.shopAdress) | |
| 1012 | + this.ruleForm.dataIntegrity = this.$decrypt(this.ruleForm.dataIntegrity) | |
| 1013 | + this.ruleForm.chargePersonPhone = this.$decrypt(this.ruleForm.chargePersonPhone) | |
| 1014 | + | |
| 1002 | 1015 | } |
| 1003 | 1016 | }, |
| 1004 | 1017 | // 编辑 |
| ... | ... | @@ -1015,6 +1028,11 @@ export default { |
| 1015 | 1028 | this.$set(this.plan_Time, 0, res.data.validityStartDate) |
| 1016 | 1029 | this.$set(this.plan_Time, 1, res.data.validityEndDate) |
| 1017 | 1030 | this.dialogVisible = true |
| 1031 | + this.ruleForm.shopPhone = this.$decrypt(this.ruleForm.shopPhone) | |
| 1032 | + this.ruleForm.shopPassword = this.$decrypt(this.ruleForm.shopPassword) | |
| 1033 | + this.ruleForm.shopAdress = this.$decrypt(this.ruleForm.shopAdress) | |
| 1034 | + this.ruleForm.dataIntegrity = this.$decrypt(this.ruleForm.dataIntegrity) | |
| 1035 | + this.ruleForm.chargePersonPhone = this.$decrypt(this.ruleForm.chargePersonPhone) | |
| 1018 | 1036 | |
| 1019 | 1037 | |
| 1020 | 1038 | }, | ... | ... |
yanshouban/src/views/comprehensive/Lcinquiry/index.vue
| ... | ... | @@ -112,6 +112,9 @@ this.tableData = Orderlist.data |
| 112 | 112 | res.receiveName = this.$decrypt(res.receiveName) |
| 113 | 113 | res.receivePhone = this.$decrypt(res.receivePhone) |
| 114 | 114 | res.receiveAdress = this.$decrypt(res.receiveAdress) |
| 115 | + res.price = this.$decrypt(res.price) | |
| 116 | + res.customerPhone = this.$decrypt(res.customerPhone) | |
| 117 | + res.address = this.$decrypt(res.address) | |
| 115 | 118 | }) |
| 116 | 119 | }, |
| 117 | 120 | async search(){ |
| ... | ... | @@ -125,6 +128,9 @@ async search(){ |
| 125 | 128 | res.receiveName = this.$decrypt(res.receiveName) |
| 126 | 129 | res.receivePhone = this.$decrypt(res.receivePhone) |
| 127 | 130 | res.receiveAdress = this.$decrypt(res.receiveAdress) |
| 131 | + res.price = this.$decrypt(res.price) | |
| 132 | + res.customerPhone = this.$decrypt(res.customerPhone) | |
| 133 | + res.address = this.$decrypt(res.address) | |
| 128 | 134 | }) |
| 129 | 135 | }, |
| 130 | 136 | clear(){ | ... | ... |
yanshouban/src/views/comprehensive/OrderRhq/index.vue
| ... | ... | @@ -202,6 +202,9 @@ export default { |
| 202 | 202 | res.receiveName = this.$decrypt(res.receiveName) |
| 203 | 203 | res.receivePhone = this.$decrypt(res.receivePhone) |
| 204 | 204 | res.receiveAdress = this.$decrypt(res.receiveAdress) |
| 205 | + res.price = this.$decrypt(res.price) | |
| 206 | + res.customerPhone = this.$decrypt(res.customerPhone) | |
| 207 | + res.address = this.$decrypt(res.address) | |
| 205 | 208 | }) |
| 206 | 209 | }, |
| 207 | 210 | // 导出订单 | ... | ... |
yanshouban/src/views/comprehensive/dAddress/index.vue
| ... | ... | @@ -125,6 +125,9 @@ |
| 125 | 125 | res.receiveName = this.$decrypt(res.receiveName) |
| 126 | 126 | res.receivePhone = this.$decrypt(res.receivePhone) |
| 127 | 127 | res.receiveAdress = this.$decrypt(res.receiveAdress) |
| 128 | + res.price = this.$decrypt(res.price) | |
| 129 | + res.customerPhone = this.$decrypt(res.customerPhone) | |
| 130 | + res.address = this.$decrypt(res.address) | |
| 128 | 131 | }) |
| 129 | 132 | }, |
| 130 | 133 | async search(){ |
| ... | ... | @@ -138,6 +141,9 @@ |
| 138 | 141 | res.receiveName = this.$decrypt(res.receiveName) |
| 139 | 142 | res.receivePhone = this.$decrypt(res.receivePhone) |
| 140 | 143 | res.receiveAdress = this.$decrypt(res.receiveAdress) |
| 144 | + res.price = this.$decrypt(res.price) | |
| 145 | + res.customerPhone = this.$decrypt(res.customerPhone) | |
| 146 | + res.address = this.$decrypt(res.address) | |
| 141 | 147 | }) |
| 142 | 148 | }, |
| 143 | 149 | clear(){ | ... | ... |
yanshouban/src/views/comprehensive/pEranking/index.vue
| ... | ... | @@ -133,13 +133,13 @@ export default { |
| 133 | 133 | }, |
| 134 | 134 | async getAll(){ |
| 135 | 135 | let last = this.updateCurrentTime() |
| 136 | -// const res = await orderGetAll(this.formInline) | |
| 136 | + | |
| 137 | 137 | const Orderlist = await productEvaluationRanking({startTime:last[0],endTime:last[1]}) |
| 138 | 138 | this.tableData = Orderlist.data.list |
| 139 | 139 | }, |
| 140 | 140 | async search(){ |
| 141 | 141 | this.formInline.dates = this.formParams.dates |
| 142 | - // const res = await orderGetAll(this.formInline) | |
| 142 | + | |
| 143 | 143 | let startTimeS = this.formInline.dates[0] +` 00:00:00` |
| 144 | 144 | let endTimeS = this.formInline.dates[1] +` 23:59:59` |
| 145 | 145 | const Orderlist = await productEvaluationRanking({startTime:startTimeS,endTime:endTimeS}) | ... | ... |
yanshouban/src/views/customer/customerMage/index.vue
| ... | ... | @@ -333,6 +333,11 @@ export default { |
| 333 | 333 | const res = await customerMageGetAll(formParams) |
| 334 | 334 | this.tableData = res.data.list |
| 335 | 335 | this.total = res.data.total |
| 336 | + this.tableData.map(res=>{ | |
| 337 | + res.phone = this.$decrypt(res.phone) | |
| 338 | + res.name = this.$decrypt(res.name) | |
| 339 | + | |
| 340 | + }) | |
| 336 | 341 | }, |
| 337 | 342 | // 初始化查询所有标签 |
| 338 | 343 | async getSelect(name) { | ... | ... |
yanshouban/src/views/customer/icManagement/index.vue
| ... | ... | @@ -521,6 +521,9 @@ |
| 521 | 521 | this.secondData.businessEndDate = this.businessStartDate[1] |
| 522 | 522 | } |
| 523 | 523 | let newinfo = this.$decryptall(this.secondData,this.miList) |
| 524 | + let arr = [newinfo.unifiedSocialCreditCode,newinfo.legalRepresentative,newinfo.address,newinfo.emailAddress,newinfo.contactName,newinfo.contactPhone] | |
| 525 | + arr = arr.join(',') | |
| 526 | + newinfo.dataIntegrity = this.$encrypt(arr) | |
| 524 | 527 | await icManEdit(newinfo); |
| 525 | 528 | this.detbox = false |
| 526 | 529 | this.getAll(); | ... | ... |
yanshouban/src/views/customer/rsaManagement/index.vue
| ... | ... | @@ -832,6 +832,9 @@ |
| 832 | 832 | this.secondData.rentalPeriodEndTime = this.rentalPeriodTime[1] |
| 833 | 833 | } |
| 834 | 834 | let newinfo = this.$decryptall(this.secondData,this.miList) |
| 835 | + let arr = [newinfo.contactPhone,newinfo.idCardNumber,newinfo.unifiedSocialCreditCode,newinfo.legalRepresentative,newinfo.address,newinfo.emailAddress] | |
| 836 | + arr = arr.join(',') | |
| 837 | + newinfo.dataIntegrity = this.$encrypt(arr) | |
| 835 | 838 | const res = await rsaManEdit(newinfo) |
| 836 | 839 | this.detbox = false; |
| 837 | 840 | this.getAll(); | ... | ... |
yanshouban/src/views/online/reconciliationProcessing/index.vue
| ... | ... | @@ -211,6 +211,9 @@ export default { |
| 211 | 211 | res.receiveName = this.$decrypt(res.receiveName) |
| 212 | 212 | res.receivePhone = this.$decrypt(res.receivePhone) |
| 213 | 213 | res.receiveAdress = this.$decrypt(res.receiveAdress) |
| 214 | + res.price = this.$decrypt(res.price) | |
| 215 | + res.customerPhone = this.$decrypt(res.customerPhone) | |
| 216 | + res.address = this.$decrypt(res.address) | |
| 214 | 217 | }) |
| 215 | 218 | // this.tableLoading = false |
| 216 | 219 | }, | ... | ... |
yanshouban/src/views/order/orderany/index.vue
| ... | ... | @@ -216,6 +216,9 @@ |
| 216 | 216 | item.receiveName = this.$decrypt(item.receiveName) |
| 217 | 217 | item.receivePhone = this.$decrypt(item.receivePhone) |
| 218 | 218 | item.receiveAdress = this.$decrypt(item.receiveAdress) |
| 219 | + item.price = this.$decrypt(item.price) | |
| 220 | + item.customerPhone = this.$decrypt(item.customerPhone) | |
| 221 | + item.address = this.$decrypt(item.address) | |
| 219 | 222 | }) |
| 220 | 223 | const Orderlist = await orderStatistics(res.data.list) |
| 221 | 224 | const tablelist = await orderStatisticsProductInformation(res.data.list) | ... | ... |
yanshouban/src/views/order/ordersel/index.vue
| ... | ... | @@ -205,6 +205,9 @@ export default { |
| 205 | 205 | item.receiveName = this.$decrypt(item.receiveName) |
| 206 | 206 | item.receivePhone = this.$decrypt(item.receivePhone) |
| 207 | 207 | item.receiveAdress = this.$decrypt(item.receiveAdress) |
| 208 | + item.price = this.$decrypt(item.price) | |
| 209 | + item.customerPhone = this.$decrypt(item.customerPhone) | |
| 210 | + item.address = this.$decrypt(item.address) | |
| 208 | 211 | |
| 209 | 212 | }) |
| 210 | 213 | }, | ... | ... |
yanshouban/src/views/order/pending/index.vue
| ... | ... | @@ -204,6 +204,9 @@ export default { |
| 204 | 204 | res.receiveName = this.$decrypt(res.receiveName) |
| 205 | 205 | res.receivePhone = this.$decrypt(res.receivePhone) |
| 206 | 206 | res.receiveAdress = this.$decrypt(res.receiveAdress) |
| 207 | + res.price = this.$decrypt(res.price) | |
| 208 | + res.customerPhone = this.$decrypt(res.customerPhone) | |
| 209 | + res.address = this.$decrypt(res.address) | |
| 207 | 210 | }) |
| 208 | 211 | }, |
| 209 | 212 | // 导出订单 | ... | ... |
yanshouban/src/views/rent/audit/index.vue
| ... | ... | @@ -1774,6 +1774,8 @@ contractNumber: '', //合同对应的ID |
| 1774 | 1774 | res.legalRepresentative = this.$decrypt(item.legalRepresentative) |
| 1775 | 1775 | res.residence = this.$decrypt(item.residence) |
| 1776 | 1776 | res.applicant = this.$decrypt(item.applicant) |
| 1777 | + res.operatorName = this.$decrypt(item.operatorName) | |
| 1778 | + res.operatingEntity = this.$decrypt(item.operatingEntity) | |
| 1777 | 1779 | }) |
| 1778 | 1780 | }, |
| 1779 | 1781 | //编辑 |
| ... | ... | @@ -1882,6 +1884,8 @@ contractNumber: '', //合同对应的ID |
| 1882 | 1884 | res.legalRepresentative = this.$decrypt(item.legalRepresentative) |
| 1883 | 1885 | res.residence = this.$decrypt(item.residence) |
| 1884 | 1886 | res.applicant = this.$decrypt(item.applicant) |
| 1887 | + res.operatorName = this.$decrypt(item.operatorName) | |
| 1888 | + res.operatingEntity = this.$decrypt(item.operatingEntity) | |
| 1885 | 1889 | }) |
| 1886 | 1890 | }) |
| 1887 | 1891 | ... | ... |
yanshouban/src/views/salesSta/dataSta.vue
| ... | ... | @@ -372,6 +372,9 @@ const res = await orderGetAll(this.formInline) |
| 372 | 372 | item.receiveName = this.$decrypt(item.receiveName) |
| 373 | 373 | item.receivePhone = this.$decrypt(item.receivePhone) |
| 374 | 374 | item.receiveAdress = this.$decrypt(item.receiveAdress) |
| 375 | + item.price = this.$decrypt(item.price) | |
| 376 | + item.customerPhone = this.$decrypt(item.customerPhone) | |
| 377 | + item.address = this.$decrypt(item.address) | |
| 375 | 378 | }) |
| 376 | 379 | const Orderlist = await calculateGrossProfit(res.data.list) |
| 377 | 380 | const tablelist = await salesStatistics(res.data.list) | ... | ... |
yanshouban/src/views/shopRental/manage/index.vue
| ... | ... | @@ -349,8 +349,8 @@ |
| 349 | 349 | <template slot="label"> |
| 350 | 350 | 保证金 |
| 351 | 351 | </template> |
| 352 | - <div v-if="index ==2">{{heForm.contractAmount}}</div> | |
| 353 | - <el-input v-model="heForm.contractAmount" style="width:100%;" v-else placeholder="请输入"/> | |
| 352 | + <div v-if="index ==2">{{heForm.earnestMoney}}</div> | |
| 353 | + <el-input v-model="heForm.earnestMoney" style="width:100%;" v-else placeholder="请输入"/> | |
| 354 | 354 | |
| 355 | 355 | <!-- <el-input v-model="heForm.earnestMoney" placeholder="请输入" style="width:100%;" /> --> |
| 356 | 356 | </el-descriptions-item> |
| ... | ... | @@ -1368,7 +1368,8 @@ bianList:{ |
| 1368 | 1368 | }, |
| 1369 | 1369 | biangengPan:false, |
| 1370 | 1370 | |
| 1371 | - | |
| 1371 | +miList:['telephone','commander','leaseAddress','administrativeRegion','operator','tenant' ], | |
| 1372 | +hemiList:['earnestMoney','contractAmount','lessorName','telephone','bankAccount','tenantName','tenantTelephone','tenantBankAccount'] | |
| 1372 | 1373 | } |
| 1373 | 1374 | }, |
| 1374 | 1375 | created() { |
| ... | ... | @@ -1393,11 +1394,26 @@ biangengPan:false, |
| 1393 | 1394 | this.chengeTatle = val |
| 1394 | 1395 | }, |
| 1395 | 1396 | async getAll(val) { |
| 1396 | - console.log(this.pageindex) | |
| 1397 | + | |
| 1397 | 1398 | const res = await cereLeasingByPage(this.pageindex) |
| 1398 | 1399 | this.tableData = res.data.content |
| 1399 | 1400 | this.total = res.data.content.length |
| 1400 | - | |
| 1401 | + this.tableData.map(res=>{ | |
| 1402 | + res.telephone = this.$decrypt(res.telephone) | |
| 1403 | + res.commander = this.$decrypt(res.commander) | |
| 1404 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 1405 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 1406 | + res.operator = this.$decrypt(res.operator) | |
| 1407 | + res.tenant = this.$decrypt(res.tenant) | |
| 1408 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 1409 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 1410 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 1411 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 1412 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 1413 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 1414 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 1415 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 1416 | + }) | |
| 1401 | 1417 | }, |
| 1402 | 1418 | |
| 1403 | 1419 | // 新增确定按钮 |
| ... | ... | @@ -1409,20 +1425,24 @@ biangengPan:false, |
| 1409 | 1425 | this.heForm.appendicesContract = JSON.stringify(this.hefuData[0]) |
| 1410 | 1426 | } |
| 1411 | 1427 | this.heForm.createDate = this.currentTime() |
| 1412 | - contractAdd(this.heForm).then(res => { | |
| 1428 | + let heinfo = this.$decryptall(this.heForm,this.hemiList) | |
| 1429 | + contractAdd(heinfo).then(res => { | |
| 1413 | 1430 | this.formInline.contractNumber = res.data.contractNumber |
| 1414 | 1431 | this.formInline.createDate = this.currentTime() |
| 1415 | - cereLeasingAdd(this.formInline).then(res => { | |
| 1432 | + let newinfo = this.$decryptall(this.formInline,this.miList) | |
| 1433 | + cereLeasingAdd(newinfo).then(res => { | |
| 1416 | 1434 | this.getAll() |
| 1417 | 1435 | }) |
| 1418 | 1436 | }) |
| 1419 | 1437 | } else if (val == 2) { |
| 1420 | 1438 | this.heForm.updateDate = '' |
| 1421 | 1439 | this.heForm.createDate = this.currentTime() |
| 1422 | - updateList(this.heForm).then(res=>{ | |
| 1440 | + let heinfo = this.$decryptall(this.heForm,this.hemiList) | |
| 1441 | + updateList(heinfo).then(res=>{ | |
| 1423 | 1442 | this.formInline.contractNumber = res.data.contractNumber |
| 1424 | 1443 | this.formInline.updateDate = '' |
| 1425 | - cereLeasingEdit(this.formInline).then(item=>{ | |
| 1444 | + let newinfo = this.$decryptall(this.formInline,this.miList) | |
| 1445 | + cereLeasingEdit(newinfo).then(item=>{ | |
| 1426 | 1446 | |
| 1427 | 1447 | }) |
| 1428 | 1448 | }) |
| ... | ... | @@ -1616,7 +1636,22 @@ this.ggXin = true |
| 1616 | 1636 | const res = await cereLeasingByPage(page) |
| 1617 | 1637 | this.tableData = res.data.content |
| 1618 | 1638 | this.total = res.data.content.length |
| 1619 | - | |
| 1639 | + this.tableData.map(res=>{ | |
| 1640 | + res.telephone = this.$decrypt(res.telephone) | |
| 1641 | + res.commander = this.$decrypt(res.commander) | |
| 1642 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 1643 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 1644 | + res.operator = this.$decrypt(res.operator) | |
| 1645 | + res.tenant = this.$decrypt(res.tenant) | |
| 1646 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 1647 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 1648 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 1649 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 1650 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 1651 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 1652 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 1653 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 1654 | + }) | |
| 1620 | 1655 | }, |
| 1621 | 1656 | //重置按钮 |
| 1622 | 1657 | resetting() { | ... | ... |
yanshouban/src/views/shopRental/renewalMan/index.vue
| ... | ... | @@ -973,6 +973,22 @@ |
| 973 | 973 | const res = await rentalGetAll(this.pageindex) |
| 974 | 974 | this.total = res.data.numberOfElements |
| 975 | 975 | this.tableData = res.data.content |
| 976 | + this.tableData.map(res=>{ | |
| 977 | + res.telephone = this.$decrypt(res.telephone) | |
| 978 | + res.commander = this.$decrypt(res.commander) | |
| 979 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 980 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 981 | + res.operator = this.$decrypt(res.operator) | |
| 982 | + res.tenant = this.$decrypt(res.tenant) | |
| 983 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 984 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 985 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 986 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 987 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 988 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 989 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 990 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 991 | + }) | |
| 976 | 992 | }, |
| 977 | 993 | |
| 978 | 994 | // 新增确定按钮 |
| ... | ... | @@ -1073,6 +1089,22 @@ |
| 1073 | 1089 | const res = await rentalGetAll(this.formSel) |
| 1074 | 1090 | this.total = res.data.numberOfElements |
| 1075 | 1091 | this.tableData = res.data.content |
| 1092 | + this.tableData.map(res=>{ | |
| 1093 | + res.telephone = this.$decrypt(res.telephone) | |
| 1094 | + res.commander = this.$decrypt(res.commander) | |
| 1095 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 1096 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 1097 | + res.operator = this.$decrypt(res.operator) | |
| 1098 | + res.tenant = this.$decrypt(res.tenant) | |
| 1099 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 1100 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 1101 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 1102 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 1103 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 1104 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 1105 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 1106 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 1107 | + }) | |
| 1076 | 1108 | }, |
| 1077 | 1109 | //重置按钮 |
| 1078 | 1110 | resetting(){ | ... | ... |
yanshouban/src/views/shopRental/rentTermination/index.vue
| ... | ... | @@ -795,6 +795,22 @@ |
| 795 | 795 | const res = await rentalGetAll(this.pageindex) |
| 796 | 796 | this.total = res.data.numberOfElements |
| 797 | 797 | this.tableData = res.data.content |
| 798 | + this.tableData.map(res=>{ | |
| 799 | + res.telephone = this.$decrypt(res.telephone) | |
| 800 | + res.commander = this.$decrypt(res.commander) | |
| 801 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 802 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 803 | + res.operator = this.$decrypt(res.operator) | |
| 804 | + res.tenant = this.$decrypt(res.tenant) | |
| 805 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 806 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 807 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 808 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 809 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 810 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 811 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 812 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 813 | + }) | |
| 798 | 814 | }, |
| 799 | 815 | async dayin(){ |
| 800 | 816 | let res = await pdfManagementOfFinalAccountsForRentals(this.pageindex) |
| ... | ... | @@ -938,6 +954,22 @@ |
| 938 | 954 | const res = await rentalGetAll(this.formSel) |
| 939 | 955 | this.total = res.data.numberOfElements |
| 940 | 956 | this.tableData = res.data.content |
| 957 | + this.tableData.map(res=>{ | |
| 958 | + res.telephone = this.$decrypt(res.telephone) | |
| 959 | + res.commander = this.$decrypt(res.commander) | |
| 960 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 961 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 962 | + res.operator = this.$decrypt(res.operator) | |
| 963 | + res.tenant = this.$decrypt(res.tenant) | |
| 964 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 965 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 966 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 967 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 968 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 969 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 970 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 971 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 972 | + }) | |
| 941 | 973 | }, |
| 942 | 974 | //重置按钮 |
| 943 | 975 | resetting() { | ... | ... |
yanshouban/src/views/shopRental/rentalMan/index.vue
| ... | ... | @@ -1115,6 +1115,22 @@ import { |
| 1115 | 1115 | const res = await rentalGetAll(this.pageindex) |
| 1116 | 1116 | this.total = res.data.numberOfElements |
| 1117 | 1117 | this.tableData = res.data.content |
| 1118 | + this.tableData.map(res=>{ | |
| 1119 | + res.telephone = this.$decrypt(res.telephone) | |
| 1120 | + res.commander = this.$decrypt(res.commander) | |
| 1121 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 1122 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 1123 | + res.operator = this.$decrypt(res.operator) | |
| 1124 | + res.tenant = this.$decrypt(res.tenant) | |
| 1125 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 1126 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 1127 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 1128 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 1129 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 1130 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 1131 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 1132 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 1133 | + }) | |
| 1118 | 1134 | }, |
| 1119 | 1135 | |
| 1120 | 1136 | // 新增确定按钮 |
| ... | ... | @@ -1195,6 +1211,22 @@ import { |
| 1195 | 1211 | const res = await rentalGetAll(this.formSel) |
| 1196 | 1212 | this.total = res.data.numberOfElements |
| 1197 | 1213 | this.tableData = res.data.content |
| 1214 | + this.tableData.map(res=>{ | |
| 1215 | + res.telephone = this.$decrypt(res.telephone) | |
| 1216 | + res.commander = this.$decrypt(res.commander) | |
| 1217 | + res.leaseAddress = this.$decrypt(res.leaseAddress) | |
| 1218 | + res.administrativeRegion = this.$decrypt(res.administrativeRegion) | |
| 1219 | + res.operator = this.$decrypt(res.operator) | |
| 1220 | + res.tenant = this.$decrypt(res.tenant) | |
| 1221 | + res.cereContractInformation.earnestMoney =this.$decrypt(res.cereContractInformation.earnestMoney) | |
| 1222 | + res.cereContractInformation.contractAmount =this.$decrypt(res.cereContractInformation.contractAmount) | |
| 1223 | + res.cereContractInformation.lessorName =this.$decrypt(res.cereContractInformation.lessorName) | |
| 1224 | + res.cereContractInformation.telephone =this.$decrypt(res.cereContractInformation.telephone) | |
| 1225 | + res.cereContractInformation.bankAccount =this.$decrypt(res.cereContractInformation.bankAccount) | |
| 1226 | + res.cereContractInformation.tenantName =this.$decrypt(res.cereContractInformation.tenantName) | |
| 1227 | + res.cereContractInformation.tenantTelephone =this.$decrypt(res.cereContractInformation.tenantTelephone) | |
| 1228 | + res.cereContractInformation.tenantBankAccount =this.$decrypt(res.cereContractInformation.tenantBankAccount) | |
| 1229 | + }) | |
| 1198 | 1230 | }, |
| 1199 | 1231 | //重置按钮 |
| 1200 | 1232 | resetting(){ | ... | ... |