Commit 345f1d6a6855aade5a8e20b4e95f74d6b4a61c31

Authored by 李宇
2 parents 900ab311 4cb4f708

Merge branch 'master' of http://39.98.150.180/webapp/GreenwayWeb

ceres-uniapp-master/App.vue
@@ -12,7 +12,7 @@ export default { @@ -12,7 +12,7 @@ export default {
12 12
13 }, 13 },
14 onLaunch: function (options) { 14 onLaunch: function (options) {
15 - 15 +
16 if (options.query.token) { 16 if (options.query.token) {
17 // 将 token 存入本地缓存 17 // 将 token 存入本地缓存
18 uni.setStorageSync('storage_key', options.query); 18 uni.setStorageSync('storage_key', options.query);
ceres-uniapp-master/config/api.js
1 1
2 -// const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/meserver/admin-server'  
3 -// const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/meserver/api' 2 +// const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/admin-server'
  3 +// const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/api'
  4 +// const DOMAIN_PREFIXPING = 'http://192.168.2.7:9003'
  5 +// const DOMAIN_PREFIX = 'http://192.168.2.7:9007'
  6 +// const host = `${window.location.protocol}//${window.location.host}`
  7 +
  8 +// const DOMAIN_PREFIXPING = `${host}/cdwlMall/meserver/admin-server`
  9 +// const DOMAIN_PREFIX =`${host}/cdwlMall/meserver/api`
  10 +
  11 +
  12 +const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/admin-server'
  13 +const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/api'
4 // const DOMAIN_PREFIXPING = 'http://192.168.2.162:9003' 14 // const DOMAIN_PREFIXPING = 'http://192.168.2.162:9003'
5 // const DOMAIN_PREFIX = 'http://192.168.2.162:9007' 15 // const DOMAIN_PREFIX = 'http://192.168.2.162:9007'
6 -const host = `${window.location.protocol}//${window.location.host}` 16 +// const host = `${window.location.protocol}//${window.location.host}`
7 // const DOMAIN_PREFIXPING = `${host}/cdwlMall/meserver/admin-server` 17 // const DOMAIN_PREFIXPING = `${host}/cdwlMall/meserver/admin-server`
8 // const DOMAIN_PREFIX =`${host}/cdwlMall/meserver/api` 18 // const DOMAIN_PREFIX =`${host}/cdwlMall/meserver/api`
9 -const DOMAIN_PREFIXPING = `http://192.168.2.38:9003`  
10 -const DOMAIN_PREFIX = 'http://192.168.2.38:9007' 19 +// const DOMAIN_PREFIXPING = `http://192.168.2.38:9003`
  20 +// const DOMAIN_PREFIX = 'http://192.168.2.38:9007'
  21 +
11 22
12 // const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/meserver/admin-server' 23 // const DOMAIN_PREFIXPING = 'https://jy.scjysm.asia:18086/meserver/admin-server'
13 // const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/meserver/api' 24 // const DOMAIN_PREFIX = 'https://jy.scjysm.asia:18086/meserver/api'
@@ -319,6 +330,4 @@ module.exports = { @@ -319,6 +330,4 @@ module.exports = {
319 cereCouponKeyUse: WX_API_BASE + '/order/cereCouponKeyUse', 330 cereCouponKeyUse: WX_API_BASE + '/order/cereCouponKeyUse',
320 //问卷解析token 331 //问卷解析token
321 jietoken: WX_API_BASE + '/cereQuestionnaireAnswering/get/token', 332 jietoken: WX_API_BASE + '/cereQuestionnaireAnswering/get/token',
322 - //问卷解析token  
323 - jietoken: WX_API_BASE + '/cereQuestionnaireAnswering/get/token',  
324 } 333 }
ceres-uniapp-master/main.js
@@ -10,13 +10,16 @@ import store from './store' @@ -10,13 +10,16 @@ import store from './store'
10 import _ from 'lodash' 10 import _ from 'lodash'
11 11
12 import {jump,jumpToTabbar,goBack,getJumpParam} from './utils/jumpUtil' 12 import {jump,jumpToTabbar,goBack,getJumpParam} from './utils/jumpUtil'
13 - 13 +import {encrypt,decrypt,decryptall} from './utils/jiami.js'
14 Vue.prototype.$store = store 14 Vue.prototype.$store = store
15 Vue.prototype.$lodash = _ 15 Vue.prototype.$lodash = _
16 Vue.prototype.$jump = jump 16 Vue.prototype.$jump = jump
17 Vue.prototype.$jumpToTabbar = jumpToTabbar 17 Vue.prototype.$jumpToTabbar = jumpToTabbar
18 Vue.prototype.$goBack = goBack 18 Vue.prototype.$goBack = goBack
19 Vue.prototype.$getJumpParam = getJumpParam 19 Vue.prototype.$getJumpParam = getJumpParam
  20 +Vue.prototype.$encrypt = encrypt;
  21 +Vue.prototype.$decrypt = decrypt;
  22 +Vue.prototype.$decryptall = decryptall;
20 Vue.prototype.$hostUrl =`${window.location.protocol}//${window.location.host}/cdwlMall` 23 Vue.prototype.$hostUrl =`${window.location.protocol}//${window.location.host}/cdwlMall`
21 App.mpType = 'app' 24 App.mpType = 'app'
22 25
ceres-uniapp-master/package.json
@@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
7 "jweixin-module": "^1.6.0", 7 "jweixin-module": "^1.6.0",
8 "lodash": "^4.17.21", 8 "lodash": "^4.17.21",
9 "mini-html-parser2": "^0.3.0", 9 "mini-html-parser2": "^0.3.0",
  10 + "sm-crypto": "^0.3.13",
10 "swiper": "^5.4.5", 11 "swiper": "^5.4.5",
11 "uview-ui": "^2.0.36", 12 "uview-ui": "^2.0.36",
12 "vue-awesome-swiper": "^4.1.1" 13 "vue-awesome-swiper": "^4.1.1"
ceres-uniapp-master/utils/jiami.js 0 → 100644
  1 +// 文本加密
  2 +import { sm4 } from 'sm-crypto';
  3 +const DEFAULT_KEY ="cda4442f102f6396eea76902e37ad7cb";
  4 +const DEFAULT_IV = "8bd8a83221742111c7532b7275a7fe9c";
  5 +export const encrypt = (str) => {
  6 +    if(!str) {
  7 +        return ''
  8 +    }
  9 +    const encryptStr = sm4.encrypt(str, DEFAULT_KEY, {
  10 +        iv: DEFAULT_IV,
  11 +        mode: 'cbc',
  12 +        padding: 'pkcs#7'
  13 +        })
  14 +    return encryptStr
  15 +}
  16 +
  17 +// 文本解密
  18 +export const decrypt = (str) => {
  19 +    if(!str) {
  20 +        return ''
  21 +    }
  22 +//     if(str.indexOf('ENC(') === -1) {
  23 +//         return str
  24 +//     }
  25 +//     const str_ = str.replace('ENC(', '').replace(')', '')
  26 +    try {        
  27 +        const decryptStr = sm4.decrypt(str, DEFAULT_KEY, {
  28 +            iv: DEFAULT_IV,
  29 +            mode: 'cbc',
  30 +            padding: 'pkcs#7'
  31 +        })
  32 +        return decryptStr
  33 +    } catch (error) {
  34 +        return '解密失败!'
  35 +    }
  36 +}
  37 +
  38 +export const decryptall = (obj,isjmlist) => {
  39 + console.error(isjmlist)
  40 + console.error(obj)
  41 + let list = []
  42 + let objnew = {}
  43 + for (let key in obj) {
  44 + let item = {
  45 + typeis:'2',//是否加密 1加密 2不加密
  46 + keyname:key,//变量名
  47 + value:obj[key],//值
  48 + }
  49 + if(isjmlist.length> 0) {
  50 +
  51 + // let found = isjmlist.find(function(element) {
  52 + // return key == element;
  53 + // });
  54 + console.log(isjmlist.indexOf(key) != -1)
  55 + if(isjmlist.indexOf(key) != -1) {
  56 + item.typeis = '1'
  57 + }
  58 + } else {
  59 + item.typeis = '1'
  60 + }
  61 + console.error(item)
  62 + list.push(item)
  63 + }
  64 + console.log(list);
  65 +
  66 + list.forEach(element => {
  67 + if(element.typeis == '1' && element.value) {
  68 + console.error(element)
  69 + element.value = encrypt(element.value)
  70 + }
  71 + objnew[element.keyname] = element.value
  72 + });
  73 + console.log(objnew);
  74 + return objnew
  75 +}
0 \ No newline at end of file 76 \ No newline at end of file
yanshouban/src/App.vue
@@ -42,7 +42,7 @@ export default { @@ -42,7 +42,7 @@ export default {
42 //       }   42 //       }  
43 //     } else { 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 // if (this.$store.state.user.token) { 47 // if (this.$store.state.user.token) {
48 // this.getPrivacySwitch(); 48 // this.getPrivacySwitch();
@@ -53,8 +53,8 @@ export default { @@ -53,8 +53,8 @@ export default {
53 handleLogin () { 53 handleLogin () {
54 54
55 const data = { 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 // username: JM.encrypt('15827188456'), 58 // username: JM.encrypt('15827188456'),
59 // password: JM.encrypt('ILoveChina@666'), 59 // password: JM.encrypt('ILoveChina@666'),
60 rememberMe: false 60 rememberMe: false
yanshouban/src/layout/index.vue
@@ -291,7 +291,7 @@ export default { @@ -291,7 +291,7 @@ export default {
291 newPassword: '', 291 newPassword: '',
292 confirmPass: '' 292 confirmPass: ''
293 }, 293 },
294 - name: localStorage.getItem('roleName'), 294 + name:this.$decrypt(localStorage.getItem('roleName')) ,
295 rules: { 295 rules: {
296 password: [ 296 password: [
297 { required: true, message: '请输入旧密码', trigger: 'blur' } 297 { required: true, message: '请输入旧密码', trigger: 'blur' }
yanshouban/src/utils/jiami.js
@@ -36,8 +36,8 @@ export const decrypt = (str) => { @@ -36,8 +36,8 @@ export const decrypt = (str) => {
36 } 36 }
37 // 批量加密 37 // 批量加密
38 export const decryptall = (obj,isjmlist) => { 38 export const decryptall = (obj,isjmlist) => {
39 - console.error(isjmlist)  
40 - console.error(obj) 39 +
  40 +
41 let list = [] 41 let list = []
42 let objnew = {} 42 let objnew = {}
43 for (let key in obj) { 43 for (let key in obj) {
@@ -47,10 +47,10 @@ export const decryptall = (obj,isjmlist) => { @@ -47,10 +47,10 @@ export const decryptall = (obj,isjmlist) => {
47 value:obj[key],//值 47 value:obj[key],//值
48 } 48 }
49 if(isjmlist.length> 0) { 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 console.log(isjmlist.indexOf(key) != -1) 54 console.log(isjmlist.indexOf(key) != -1)
55 if(isjmlist.indexOf(key) != -1) { 55 if(isjmlist.indexOf(key) != -1) {
56 item.typeis = '1' 56 item.typeis = '1'
@@ -58,11 +58,11 @@ export const decryptall = (obj,isjmlist) => { @@ -58,11 +58,11 @@ export const decryptall = (obj,isjmlist) => {
58 } else { 58 } else {
59 item.typeis = '1' 59 item.typeis = '1'
60 } 60 }
61 - console.error(item) 61 +
62 list.push(item) 62 list.push(item)
63 } 63 }
64 - console.log(list);  
65 - 64 +
  65 +
66 list.forEach(element => { 66 list.forEach(element => {
67 if(element.typeis == '1' && element.value) { 67 if(element.typeis == '1' && element.value) {
68 console.error(element) 68 console.error(element)
@@ -70,13 +70,13 @@ export const decryptall = (obj,isjmlist) => { @@ -70,13 +70,13 @@ export const decryptall = (obj,isjmlist) => {
70 } 70 }
71 objnew[element.keyname] = element.value 71 objnew[element.keyname] = element.value
72 }); 72 });
73 - console.log(objnew); 73 +
74 return objnew 74 return objnew
75 } 75 }
76 // 批量解密 76 // 批量解密
77 export const encryptall = (list,isjmlist) => { 77 export const encryptall = (list,isjmlist) => {
78 - console.error(isjmlist)  
79 - console.error(list) 78 +
  79 +
80 let newlist = list.map(element => { 80 let newlist = list.map(element => {
81 let c1 = Object.keys(element) 81 let c1 = Object.keys(element)
82 c1.forEach(key => { 82 c1.forEach(key => {
@@ -91,6 +91,6 @@ export const encryptall = (list,isjmlist) => { @@ -91,6 +91,6 @@ export const encryptall = (list,isjmlist) => {
91 }); 91 });
92 return element 92 return element
93 }); 93 });
94 - console.error(newlist) 94 +
95 return newlist 95 return newlist
96 -}  
97 \ No newline at end of file 96 \ No newline at end of file
  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,9 +21,9 @@ if (host == '172.16.61.48' || host == '172.16.61.49:5173' || host =='172.16.61.1
21 // PREFIX = 'http://172.16.61.48/meserver/admin-server'; 21 // PREFIX = 'http://172.16.61.48/meserver/admin-server';
22 // PREFIX = 'http://192.168.2.213:9003'; 22 // PREFIX = 'http://192.168.2.213:9003';
23 // PREFIX = 'http://8.130.38.56:8019/admin-server'; 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 // PREFIX = 'https://wjdc.scjysm.asia:1443/meserver/admin-server'; 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 // PREFIX = 'http://172.16.61.126:8080/meserver/admin-server'; 27 // PREFIX = 'http://172.16.61.126:8080/meserver/admin-server';
28 // PREFIX = 'https://wjdc.scjysm.asia:1443/meserver/admin-server' 28 // PREFIX = 'https://wjdc.scjysm.asia:1443/meserver/admin-server'
29 29
yanshouban/src/views/advertisement/index.vue
@@ -894,7 +894,8 @@ @@ -894,7 +894,8 @@
894 auditTime:'' 894 auditTime:''
895 }, 895 },
896 peiShow:false, 896 peiShow:false,
897 - peiId:'' 897 + peiId:'',
  898 + hemiList:['earnestMoney','contractAmount','lessorName','telephone','bankAccount','tenantName','tenantTelephone','tenantBankAccount']
898 } 899 }
899 }, 900 },
900 created() { 901 created() {
@@ -951,6 +952,16 @@ @@ -951,6 +952,16 @@
951 } 952 }
952 this.tableData = res.data.content 953 this.tableData = res.data.content
953 this.total = res.data.content.length 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 currentTime() { 967 currentTime() {
@@ -986,6 +997,7 @@ @@ -986,6 +997,7 @@
986 this.heForm.appendicesContract = JSON.stringify(this.hetongData) 997 this.heForm.appendicesContract = JSON.stringify(this.hetongData)
987 } 998 }
988 this.heForm.createDate = this.currentTime() 999 this.heForm.createDate = this.currentTime()
  1000 + let heinfo = this.$decryptall(this.heForm,this.hemiList)
989 hetongadd(this.heForm).then(res => { 1001 hetongadd(this.heForm).then(res => {
990 this.formInl.contractId = res.data.id 1002 this.formInl.contractId = res.data.id
991 this.formInl.applicationTime = this.currentTime() 1003 this.formInl.applicationTime = this.currentTime()
yanshouban/src/views/business/autd/index.vue
@@ -384,7 +384,10 @@ export default { @@ -384,7 +384,10 @@ export default {
384 search () { 384 search () {
385 this.total = 1 385 this.total = 1
386 this.formInline.page = 1 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 handleDel (row) { 393 handleDel (row) {
yanshouban/src/views/business/businessList/index.vue
@@ -801,7 +801,8 @@ export default { @@ -801,7 +801,8 @@ export default {
801 pageSize: 10, 801 pageSize: 10,
802 }, 802 },
803 business:[], 803 business:[],
804 - plan_Time:[] 804 + plan_Time:[],
  805 + miList:['shopPhone','shopPassword','idCardNum','emailAddress','shopAdress','legalRepresentative','chargePersonPhone','emailAddress']
805 } 806 }
806 }, 807 },
807 // 监听属性 类似于data概念 808 // 监听属性 类似于data概念
@@ -859,6 +860,7 @@ export default { @@ -859,6 +860,7 @@ export default {
859 console.log(tab, event) 860 console.log(tab, event)
860 }, 861 },
861 onSubmit () { 862 onSubmit () {
  863 + this.formInline.chargePersonName = this.$encrypt(this.formInline.chargePersonName)
862 this.getAll(this.formInline) 864 this.getAll(this.formInline)
863 }, 865 },
864 resetting(){ 866 resetting(){
@@ -870,6 +872,7 @@ export default { @@ -870,6 +872,7 @@ export default {
870 page: '1', // 当前页 872 page: '1', // 当前页
871 pageSize: '10' // 每页记录数 873 pageSize: '10' // 每页记录数
872 } 874 }
  875 +
873 this.getAll(this.formInline) 876 this.getAll(this.formInline)
874 }, 877 },
875 // 新建商家 878 // 新建商家
@@ -910,9 +913,9 @@ export default { @@ -910,9 +913,9 @@ export default {
910 }, 913 },
911 // 新建商家确定 914 // 新建商家确定
912 addCheck (ruleForm) { 915 addCheck (ruleForm) {
913 - let newinfo = this.$decryptall(this.ruleForm,['shopPhone','shopPassword'])  
914 - console.error(newinfo)  
915 - return 916 + // let newinfo = this.$decryptall(this.ruleForm,['shopPhone','shopPassword'])
  917 + // console.error(newinfo)
  918 + // return
916 919
917 this.$refs[ruleForm].validate(valid => { 920 this.$refs[ruleForm].validate(valid => {
918 if (valid) { 921 if (valid) {
@@ -949,16 +952,9 @@ export default { @@ -949,16 +952,9 @@ export default {
949 952
950 if (!this.userState) { 953 if (!this.userState) {
951 954
952 - // this.ruleForm.shopPhone = this.$encrypt(this.ruleForm.shopPhone)  
953 - // this.ruleForm.shopPassword = this.$encrypt(this.ruleForm.shopPassword)  
954 - // this.ruleForm.idCardNum = this.$encrypt(this.ruleForm.idCardNum)  
955 - // this.ruleForm.emailAddress = this.$encrypt(this.ruleForm.emailAddress)  
956 - // this.ruleForm.shopAdress = this.$encrypt(this.ruleForm.shopAdress)  
957 - // this.ruleForm.legalRepresentative = this.$encrypt(this.ruleForm.legalRepresentative)  
958 - // this.ruleForm.chargePersonPhone = this.$encrypt(this.ruleForm.chargePersonPhone)  
959 -  
960 - businessListSave(this.ruleForm).then(res => { 955 + let newinfo = this.$decryptall(this.ruleForm,this.miList)
961 956
  957 + businessListSave(newinfo).then(res => {
962 if (res.code === '') { 958 if (res.code === '') {
963 this.$message({ 959 this.$message({
964 message: '新增成功', 960 message: '新增成功',
@@ -970,7 +966,11 @@ export default { @@ -970,7 +966,11 @@ export default {
970 this.$refs.ruleForm.clearValidate() 966 this.$refs.ruleForm.clearValidate()
971 }) 967 })
972 } else { 968 } else {
973 - businessListUpdate(this.ruleForm).then(res => { 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)
  973 + businessListUpdate(newinfo).then(res => {
974 974
975 if (res.code === '') { 975 if (res.code === '') {
976 this.$message({ 976 this.$message({
@@ -1006,6 +1006,12 @@ export default { @@ -1006,6 +1006,12 @@ export default {
1006 this.$set(this.plan_Time, 0, res.data.validityStartDate) 1006 this.$set(this.plan_Time, 0, res.data.validityStartDate)
1007 this.$set(this.plan_Time, 1, res.data.validityEndDate) 1007 this.$set(this.plan_Time, 1, res.data.validityEndDate)
1008 this.dialogVisible = true 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 +
1009 } 1015 }
1010 }, 1016 },
1011 // 编辑 1017 // 编辑
@@ -1022,6 +1028,11 @@ export default { @@ -1022,6 +1028,11 @@ export default {
1022 this.$set(this.plan_Time, 0, res.data.validityStartDate) 1028 this.$set(this.plan_Time, 0, res.data.validityStartDate)
1023 this.$set(this.plan_Time, 1, res.data.validityEndDate) 1029 this.$set(this.plan_Time, 1, res.data.validityEndDate)
1024 this.dialogVisible = true 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)
1025 1036
1026 1037
1027 }, 1038 },
yanshouban/src/views/comprehensive/Lcinquiry/index.vue
@@ -112,6 +112,9 @@ this.tableData = Orderlist.data @@ -112,6 +112,9 @@ this.tableData = Orderlist.data
112 res.receiveName = this.$decrypt(res.receiveName) 112 res.receiveName = this.$decrypt(res.receiveName)
113 res.receivePhone = this.$decrypt(res.receivePhone) 113 res.receivePhone = this.$decrypt(res.receivePhone)
114 res.receiveAdress = this.$decrypt(res.receiveAdress) 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 async search(){ 120 async search(){
@@ -125,6 +128,9 @@ async search(){ @@ -125,6 +128,9 @@ async search(){
125 res.receiveName = this.$decrypt(res.receiveName) 128 res.receiveName = this.$decrypt(res.receiveName)
126 res.receivePhone = this.$decrypt(res.receivePhone) 129 res.receivePhone = this.$decrypt(res.receivePhone)
127 res.receiveAdress = this.$decrypt(res.receiveAdress) 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 clear(){ 136 clear(){
yanshouban/src/views/comprehensive/OrderRhq/index.vue
@@ -202,6 +202,9 @@ export default { @@ -202,6 +202,9 @@ export default {
202 res.receiveName = this.$decrypt(res.receiveName) 202 res.receiveName = this.$decrypt(res.receiveName)
203 res.receivePhone = this.$decrypt(res.receivePhone) 203 res.receivePhone = this.$decrypt(res.receivePhone)
204 res.receiveAdress = this.$decrypt(res.receiveAdress) 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,6 +125,9 @@
125 res.receiveName = this.$decrypt(res.receiveName) 125 res.receiveName = this.$decrypt(res.receiveName)
126 res.receivePhone = this.$decrypt(res.receivePhone) 126 res.receivePhone = this.$decrypt(res.receivePhone)
127 res.receiveAdress = this.$decrypt(res.receiveAdress) 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 async search(){ 133 async search(){
@@ -138,6 +141,9 @@ @@ -138,6 +141,9 @@
138 res.receiveName = this.$decrypt(res.receiveName) 141 res.receiveName = this.$decrypt(res.receiveName)
139 res.receivePhone = this.$decrypt(res.receivePhone) 142 res.receivePhone = this.$decrypt(res.receivePhone)
140 res.receiveAdress = this.$decrypt(res.receiveAdress) 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 clear(){ 149 clear(){
yanshouban/src/views/comprehensive/pEranking/index.vue
@@ -133,13 +133,13 @@ export default { @@ -133,13 +133,13 @@ export default {
133 }, 133 },
134 async getAll(){ 134 async getAll(){
135 let last = this.updateCurrentTime() 135 let last = this.updateCurrentTime()
136 -// const res = await orderGetAll(this.formInline) 136 +
137 const Orderlist = await productEvaluationRanking({startTime:last[0],endTime:last[1]}) 137 const Orderlist = await productEvaluationRanking({startTime:last[0],endTime:last[1]})
138 this.tableData = Orderlist.data.list 138 this.tableData = Orderlist.data.list
139 }, 139 },
140 async search(){ 140 async search(){
141 this.formInline.dates = this.formParams.dates 141 this.formInline.dates = this.formParams.dates
142 - // const res = await orderGetAll(this.formInline) 142 +
143 let startTimeS = this.formInline.dates[0] +` 00:00:00` 143 let startTimeS = this.formInline.dates[0] +` 00:00:00`
144 let endTimeS = this.formInline.dates[1] +` 23:59:59` 144 let endTimeS = this.formInline.dates[1] +` 23:59:59`
145 const Orderlist = await productEvaluationRanking({startTime:startTimeS,endTime:endTimeS}) 145 const Orderlist = await productEvaluationRanking({startTime:startTimeS,endTime:endTimeS})
yanshouban/src/views/customer/customerMage/index.vue
@@ -333,6 +333,11 @@ export default { @@ -333,6 +333,11 @@ export default {
333 const res = await customerMageGetAll(formParams) 333 const res = await customerMageGetAll(formParams)
334 this.tableData = res.data.list 334 this.tableData = res.data.list
335 this.total = res.data.total 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 async getSelect(name) { 343 async getSelect(name) {
yanshouban/src/views/customer/icManagement/index.vue
@@ -458,11 +458,9 @@ @@ -458,11 +458,9 @@
458 message: '请选择营业执照', 458 message: '请选择营业执照',
459 trigger: 'change' 459 trigger: 'change'
460 }, ], 460 }, ],
461 -  
462 -  
463 -  
464 - }  
465 - }; 461 + },
  462 + miList:['unifiedSocialCreditCode','legalRepresentative','address','emailAddress','contactName','contactPhone']
  463 + }
466 }, 464 },
467 465
468 created() { 466 created() {
@@ -522,7 +520,11 @@ @@ -522,7 +520,11 @@
522 this.secondData.businessStartDate = this.businessStartDate[0] 520 this.secondData.businessStartDate = this.businessStartDate[0]
523 this.secondData.businessEndDate = this.businessStartDate[1] 521 this.secondData.businessEndDate = this.businessStartDate[1]
524 } 522 }
525 - await icManEdit(this.secondData); 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)
  527 + await icManEdit(newinfo);
526 this.detbox = false 528 this.detbox = false
527 this.getAll(); 529 this.getAll();
528 }, 530 },
@@ -707,8 +709,8 @@ @@ -707,8 +709,8 @@
707 return 709 return
708 } 710 }
709 // this.ruleForm.yytime =[] 711 // this.ruleForm.yytime =[]
710 -  
711 - icManAdd(this.ruleForm).then(res => { 712 +let newinfo = this.$decryptall(this.ruleForm,this.miList)
  713 + icManAdd(newinfo).then(res => {
712 this.$message({ 714 this.$message({
713 message: '保存成功', 715 message: '保存成功',
714 type: 'success' 716 type: 'success'
yanshouban/src/views/customer/rsaManagement/index.vue
@@ -762,7 +762,8 @@ @@ -762,7 +762,8 @@
762     }, 762     },
763 pageNumber:1, 763 pageNumber:1,
764 pageSize:10, 764 pageSize:10,
765 - } 765 + },
  766 + miList:['contactPhone','idCardNumber','unifiedSocialCreditCode','legalRepresentative','address','emailAddress']
766 } 767 }
767 }, 768 },
768 769
@@ -830,8 +831,11 @@ @@ -830,8 +831,11 @@
830 this.secondData.rentalPeriodStartTime = this.rentalPeriodTime[0] 831 this.secondData.rentalPeriodStartTime = this.rentalPeriodTime[0]
831 this.secondData.rentalPeriodEndTime = this.rentalPeriodTime[1] 832 this.secondData.rentalPeriodEndTime = this.rentalPeriodTime[1]
832 } 833 }
833 -  
834 - const res = await rsaManEdit(this.secondData) 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)
  838 + const res = await rsaManEdit(newinfo)
835 this.detbox = false; 839 this.detbox = false;
836 this.getAll(); 840 this.getAll();
837 }, 841 },
@@ -941,7 +945,8 @@ async getshen(item){ @@ -941,7 +945,8 @@ async getshen(item){
941 if(this.ziyuanData.length !=0){ 945 if(this.ziyuanData.length !=0){
942 this.ruleForm.intendedResources = this.ziyuanData[0].id 946 this.ruleForm.intendedResources = this.ziyuanData[0].id
943 } 947 }
944 - await rsaManAdd(this.ruleForm) 948 + let newinfo = this.$decryptall(this.ruleForm,this.miList)
  949 + await rsaManAdd(newinfo)
945 this.idCardValidStart = [] 950 this.idCardValidStart = []
946 this.businessStartTime = [] 951 this.businessStartTime = []
947 this.rentalPeriodTime = [] 952 this.rentalPeriodTime = []
yanshouban/src/views/online/reconciliationProcessing/index.vue
@@ -211,6 +211,9 @@ export default { @@ -211,6 +211,9 @@ export default {
211 res.receiveName = this.$decrypt(res.receiveName) 211 res.receiveName = this.$decrypt(res.receiveName)
212 res.receivePhone = this.$decrypt(res.receivePhone) 212 res.receivePhone = this.$decrypt(res.receivePhone)
213 res.receiveAdress = this.$decrypt(res.receiveAdress) 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 // this.tableLoading = false 218 // this.tableLoading = false
216 }, 219 },
yanshouban/src/views/order/orderany/index.vue
@@ -216,6 +216,9 @@ @@ -216,6 +216,9 @@
216 item.receiveName = this.$decrypt(item.receiveName) 216 item.receiveName = this.$decrypt(item.receiveName)
217 item.receivePhone = this.$decrypt(item.receivePhone) 217 item.receivePhone = this.$decrypt(item.receivePhone)
218 item.receiveAdress = this.$decrypt(item.receiveAdress) 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 const Orderlist = await orderStatistics(res.data.list) 223 const Orderlist = await orderStatistics(res.data.list)
221 const tablelist = await orderStatisticsProductInformation(res.data.list) 224 const tablelist = await orderStatisticsProductInformation(res.data.list)
yanshouban/src/views/order/ordersel/index.vue
@@ -205,6 +205,9 @@ export default { @@ -205,6 +205,9 @@ export default {
205 item.receiveName = this.$decrypt(item.receiveName) 205 item.receiveName = this.$decrypt(item.receiveName)
206 item.receivePhone = this.$decrypt(item.receivePhone) 206 item.receivePhone = this.$decrypt(item.receivePhone)
207 item.receiveAdress = this.$decrypt(item.receiveAdress) 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,6 +204,9 @@ export default {
204 res.receiveName = this.$decrypt(res.receiveName) 204 res.receiveName = this.$decrypt(res.receiveName)
205 res.receivePhone = this.$decrypt(res.receivePhone) 205 res.receivePhone = this.$decrypt(res.receivePhone)
206 res.receiveAdress = this.$decrypt(res.receiveAdress) 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
@@ -1719,7 +1719,8 @@ contractNumber: '', //合同对应的ID @@ -1719,7 +1719,8 @@ contractNumber: '', //合同对应的ID
1719 ziyuanAll:[], 1719 ziyuanAll:[],
1720 ziyuanData:[], 1720 ziyuanData:[],
1721 multipleSelection:[], 1721 multipleSelection:[],
1722 - selData:[] 1722 + selData:[],
  1723 + miList:['idNumber','unifiedSocialCreditCode','legalRepresentative','residence','emailAddress']
1723 } 1724 }
1724 }, 1725 },
1725 1726
@@ -1773,15 +1774,10 @@ contractNumber: '', //合同对应的ID @@ -1773,15 +1774,10 @@ contractNumber: '', //合同对应的ID
1773 res.legalRepresentative = this.$decrypt(item.legalRepresentative) 1774 res.legalRepresentative = this.$decrypt(item.legalRepresentative)
1774 res.residence = this.$decrypt(item.residence) 1775 res.residence = this.$decrypt(item.residence)
1775 res.applicant = this.$decrypt(item.applicant) 1776 res.applicant = this.$decrypt(item.applicant)
  1777 + res.operatorName = this.$decrypt(item.operatorName)
  1778 + res.operatingEntity = this.$decrypt(item.operatingEntity)
1776 }) 1779 })
1777 }, 1780 },
1778 - //编辑确认  
1779 - async msgeditS(){  
1780 - this.secondData.id = this.msgid  
1781 - const res = await msgedit(this.secondData)  
1782 - this.detbox = false  
1783 - this.getAll()  
1784 - },  
1785 //编辑 1781 //编辑
1786 bianji() { 1782 bianji() {
1787 if(this.edit){ 1783 if(this.edit){
@@ -1888,6 +1884,8 @@ contractNumber: '', //合同对应的ID @@ -1888,6 +1884,8 @@ contractNumber: '', //合同对应的ID
1888 res.legalRepresentative = this.$decrypt(item.legalRepresentative) 1884 res.legalRepresentative = this.$decrypt(item.legalRepresentative)
1889 res.residence = this.$decrypt(item.residence) 1885 res.residence = this.$decrypt(item.residence)
1890 res.applicant = this.$decrypt(item.applicant) 1886 res.applicant = this.$decrypt(item.applicant)
  1887 + res.operatorName = this.$decrypt(item.operatorName)
  1888 + res.operatingEntity = this.$decrypt(item.operatingEntity)
1891 }) 1889 })
1892 }) 1890 })
1893 1891
yanshouban/src/views/salesSta/dataSta.vue
@@ -372,6 +372,9 @@ const res = await orderGetAll(this.formInline) @@ -372,6 +372,9 @@ const res = await orderGetAll(this.formInline)
372 item.receiveName = this.$decrypt(item.receiveName) 372 item.receiveName = this.$decrypt(item.receiveName)
373 item.receivePhone = this.$decrypt(item.receivePhone) 373 item.receivePhone = this.$decrypt(item.receivePhone)
374 item.receiveAdress = this.$decrypt(item.receiveAdress) 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 const Orderlist = await calculateGrossProfit(res.data.list) 379 const Orderlist = await calculateGrossProfit(res.data.list)
377 const tablelist = await salesStatistics(res.data.list) 380 const tablelist = await salesStatistics(res.data.list)
yanshouban/src/views/setup/user/index.vue
@@ -187,6 +187,7 @@ export default { @@ -187,6 +187,7 @@ export default {
187 privacyTime: 0, 187 privacyTime: 0,
188 phoneShow: true, //显示脱敏手机号 188 phoneShow: true, //显示脱敏手机号
189 emailShow: true, //显示脱敏邮箱 189 emailShow: true, //显示脱敏邮箱
  190 + miList:['name','phone','password','email']
190 } 191 }
191 filter() 192 filter()
192 }, 193 },
@@ -285,7 +286,8 @@ export default { @@ -285,7 +286,8 @@ export default {
285 return 286 return
286 } 287 }
287 if (this.userState) { 288 if (this.userState) {
288 - userAdd(this.addForm).then(res => { 289 + let newinfo = this.$decryptall(this.addForm,this.miList)
  290 + userAdd(newinfo).then(res => {
289 console.log(res) 291 console.log(res)
290 if (res.code === '') { 292 if (res.code === '') {
291 this.$message({ 293 this.$message({
@@ -297,7 +299,11 @@ export default { @@ -297,7 +299,11 @@ export default {
297 this.addFormDialog = false 299 this.addFormDialog = false
298 }) 300 })
299 } else { 301 } else {
300 - userUpdate(this.addForm).then(res => { 302 + let newinfo = this.$decryptall(this.addForm,this.miList)
  303 + let arr = [newinfo.name,newinfo.phone,newinfo.password,newinfo.email]
  304 + arr = arr.join(',')
  305 + newinfo.dataIntegrity = this.$encrypt(arr)
  306 + userUpdate(newinfo).then(res => {
301 console.log(res) 307 console.log(res)
302 if (res.code === '') { 308 if (res.code === '') {
303 this.$message({ 309 this.$message({
@@ -322,7 +328,6 @@ export default { @@ -322,7 +328,6 @@ export default {
322 this.showPhone = false 328 this.showPhone = false
323 this.phoneShow = true 329 this.phoneShow = true
324 this.emailShow = true 330 this.emailShow = true
325 - console.log(row)  
326 userGetById({ platformUserId: row.platformUserId }).then(res => { 331 userGetById({ platformUserId: row.platformUserId }).then(res => {
327 this.addForm = res.data 332 this.addForm = res.data
328 this.addForm.roleIds = res.data.ids 333 this.addForm.roleIds = res.data.ids
yanshouban/src/views/shopRental/manage/index.vue
@@ -349,8 +349,8 @@ @@ -349,8 +349,8 @@
349 <template slot="label"> 349 <template slot="label">
350 保证金 350 保证金
351 </template> 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 <!-- <el-input v-model="heForm.earnestMoney" placeholder="请输入" style="width:100%;" /> --> 355 <!-- <el-input v-model="heForm.earnestMoney" placeholder="请输入" style="width:100%;" /> -->
356 </el-descriptions-item> 356 </el-descriptions-item>
@@ -1368,7 +1368,8 @@ bianList:{ @@ -1368,7 +1368,8 @@ bianList:{
1368 }, 1368 },
1369 biangengPan:false, 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 created() { 1375 created() {
@@ -1393,11 +1394,26 @@ biangengPan:false, @@ -1393,11 +1394,26 @@ biangengPan:false,
1393 this.chengeTatle = val 1394 this.chengeTatle = val
1394 }, 1395 },
1395 async getAll(val) { 1396 async getAll(val) {
1396 - console.log(this.pageindex) 1397 +
1397 const res = await cereLeasingByPage(this.pageindex) 1398 const res = await cereLeasingByPage(this.pageindex)
1398 this.tableData = res.data.content 1399 this.tableData = res.data.content
1399 this.total = res.data.content.length 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,20 +1425,24 @@ biangengPan:false,
1409 this.heForm.appendicesContract = JSON.stringify(this.hefuData[0]) 1425 this.heForm.appendicesContract = JSON.stringify(this.hefuData[0])
1410 } 1426 }
1411 this.heForm.createDate = this.currentTime() 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 this.formInline.contractNumber = res.data.contractNumber 1430 this.formInline.contractNumber = res.data.contractNumber
1414 this.formInline.createDate = this.currentTime() 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 this.getAll() 1434 this.getAll()
1417 }) 1435 })
1418 }) 1436 })
1419 } else if (val == 2) { 1437 } else if (val == 2) {
1420 this.heForm.updateDate = '' 1438 this.heForm.updateDate = ''
1421 this.heForm.createDate = this.currentTime() 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 this.formInline.contractNumber = res.data.contractNumber 1442 this.formInline.contractNumber = res.data.contractNumber
1424 this.formInline.updateDate = '' 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,7 +1636,22 @@ this.ggXin = true
1616 const res = await cereLeasingByPage(page) 1636 const res = await cereLeasingByPage(page)
1617 this.tableData = res.data.content 1637 this.tableData = res.data.content
1618 this.total = res.data.content.length 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 resetting() { 1657 resetting() {
yanshouban/src/views/shopRental/renewalMan/index.vue
@@ -973,6 +973,22 @@ @@ -973,6 +973,22 @@
973 const res = await rentalGetAll(this.pageindex) 973 const res = await rentalGetAll(this.pageindex)
974 this.total = res.data.numberOfElements 974 this.total = res.data.numberOfElements
975 this.tableData = res.data.content 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,6 +1089,22 @@
1073 const res = await rentalGetAll(this.formSel) 1089 const res = await rentalGetAll(this.formSel)
1074 this.total = res.data.numberOfElements 1090 this.total = res.data.numberOfElements
1075 this.tableData = res.data.content 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 resetting(){ 1110 resetting(){
yanshouban/src/views/shopRental/rentTermination/index.vue
@@ -795,6 +795,22 @@ @@ -795,6 +795,22 @@
795 const res = await rentalGetAll(this.pageindex) 795 const res = await rentalGetAll(this.pageindex)
796 this.total = res.data.numberOfElements 796 this.total = res.data.numberOfElements
797 this.tableData = res.data.content 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 async dayin(){ 815 async dayin(){
800 let res = await pdfManagementOfFinalAccountsForRentals(this.pageindex) 816 let res = await pdfManagementOfFinalAccountsForRentals(this.pageindex)
@@ -938,6 +954,22 @@ @@ -938,6 +954,22 @@
938 const res = await rentalGetAll(this.formSel) 954 const res = await rentalGetAll(this.formSel)
939 this.total = res.data.numberOfElements 955 this.total = res.data.numberOfElements
940 this.tableData = res.data.content 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 resetting() { 975 resetting() {
yanshouban/src/views/shopRental/rentalMan/index.vue
@@ -1115,6 +1115,22 @@ import { @@ -1115,6 +1115,22 @@ import {
1115 const res = await rentalGetAll(this.pageindex) 1115 const res = await rentalGetAll(this.pageindex)
1116 this.total = res.data.numberOfElements 1116 this.total = res.data.numberOfElements
1117 this.tableData = res.data.content 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,6 +1211,22 @@ import {
1195 const res = await rentalGetAll(this.formSel) 1211 const res = await rentalGetAll(this.formSel)
1196 this.total = res.data.numberOfElements 1212 this.total = res.data.numberOfElements
1197 this.tableData = res.data.content 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 resetting(){ 1232 resetting(){