diff --git a/supervise-crm-ui/src/views/WechatPush/index.vue b/supervise-crm-ui/src/views/WechatPush/index.vue index 00ce0b63..f1b8d405 100644 --- a/supervise-crm-ui/src/views/WechatPush/index.vue +++ b/supervise-crm-ui/src/views/WechatPush/index.vue @@ -45,7 +45,8 @@
- + 正在完善 @@ -269,21 +270,21 @@ this.uploadData.userProjectSid = row.sid req.associationUserList(row.sid).then(res => { this.sysorganList = res.data + this.sysorganList2 = [] + // this.uploadData.userProjectSid = res.data[0].sid + // req.templateMessage(this.dataListOne[0].sid).then(res => { + // if (res.success) { + // this.sysorganList = res.data - this.uploadData.userProjectSid = res.data[0].sid - req.templateMessage(this.dataListOne[0].sid).then(res => { - if (res.success) { - this.sysorganList = res.data - - //this.Array为数组名 - this.sysorganList.forEach(item => { + // //this.Array为数组名 + // this.sysorganList.forEach(item => { - this.$set(item, 'Show', true) + // this.$set(item, 'Show', true) - }) + // }) - } - }) + // } + // }) }) }, @@ -510,4 +511,4 @@ ::v-deep .el-collapse-item__content { padding-bottom: 0; } - + \ No newline at end of file diff --git a/supervise-report-ui/src/views/project/projectDaily.vue b/supervise-report-ui/src/views/project/projectDaily.vue index 8159a001..0d0dc75c 100644 --- a/supervise-report-ui/src/views/project/projectDaily.vue +++ b/supervise-report-ui/src/views/project/projectDaily.vue @@ -429,10 +429,22 @@ this.zyl() }, zyl() { - const a = Number(this.projectDaily.totalLoan) - Number(this.projectDaily.accountsBalance) + // 质率=(贷款金额)(库总价值+应收款+在商品+预付款+户余额) + + // 质押率= (贷款金额-户余额)/ (库总价值+应收款+在商品+预付款) + + // totalLoan: 0, // 贷款总额', + // useLimit: 0, // 用信总额', + // accountsBalance: 0, // 帐户余额', + // accountsReceivable: 0, // 应收账款', + // stockAmount: 0, // 库存货值', + // transitAmount: 0, // 在途货值', + // advancePayment: 0, // 预付款', + + const a = Number(this.projectDaily.useLimit) const b = Number(this.projectDaily.accountsReceivable) + Number(this.projectDaily.stockAmount) + Number(this .projectDaily.transitAmount) + Number(this.projectDaily - .advancePayment) + .advancePayment)+ Number(this.projectDaily.accountsBalance) if (b === 0) { this.zhiyalv = '0' } else { @@ -442,20 +454,20 @@ initData() { req.projectdailyistAll().then(res => { - if (res.data.length > 0) { + // if (res.data.length > 0) { this.projectList = res.data - this.projectDaily.projectSid = this.projectList[0].sid - this.projectDaily.projectName = this.projectList[0].entryName - this.projectDaily.totalLoan = Number(this.projectList[0].creditLimit) - this.projectDaily.useLimit = Number(this.projectList[0].useLimit) - this.projectDaily.accountsBalance = this.projectList[0].balance + // this.projectDaily.projectSid = this.projectList[0].sid + // this.projectDaily.projectName = this.projectList[0].entryName + // this.projectDaily.totalLoan = Number(this.projectList[0].creditLimit) + // this.projectDaily.useLimit = Number(this.projectList[0].useLimit) + // this.projectDaily.accountsBalance = this.projectList[0].balance - console.log('projectList:', res) - console.log('projectList:', this.projectList[0]) - console.log('projectDaily:', this.projectDaily) + // console.log('projectList:', res) + // console.log('projectList:', this.projectList[0]) + // console.log('projectDaily:', this.projectDaily) - } + // } }).catch(e => { @@ -526,7 +538,9 @@ if (this.projectDaily.projectSid === this.projectList[i].sid) { this.projectDaily.totalLoan = Number(this.projectList[i].creditLimit) this.projectDaily.projectName = this.projectList[i].entryName + this.projectDaily.useLimit = Number(this.projectList[i].useLimit) this.projectDaily.accountsBalance = this.projectList[i].balance + } } diff --git a/supervise-uniapp/common/config.js b/supervise-uniapp/common/config.js index 6636bd84..7c31ff99 100644 --- a/supervise-uniapp/common/config.js +++ b/supervise-uniapp/common/config.js @@ -8,7 +8,7 @@ module.exports = { // baseUrl: 'http://jg.yyundong.com',// 测试 baseUrl: 'https://supervise.yxtsoft.com',//正式 - // baseUrl: 'http://192.168.1.107:8112', + // baseUrl: 'http://192.168.1.107:7009/api', // baseUrl: 'http://192.168.1.110:8112', tokenName: "Authorization", // 请求头中token的名字,与服务器端对应 loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码 diff --git a/supervise-uniapp/pages/index/RegulatoryReporting.vue b/supervise-uniapp/pages/index/RegulatoryReporting.vue index 4787671a..57930afe 100644 --- a/supervise-uniapp/pages/index/RegulatoryReporting.vue +++ b/supervise-uniapp/pages/index/RegulatoryReporting.vue @@ -30,8 +30,8 @@ - 总授信:{{info.creditLimit}}万元 - 总用信:{{info.useLimit}}万元 + 总授信:{{info.creditLimitW}}万元 + 总用信:{{info.useLimitW}}万元 diff --git a/warehousing-system/project_web_ui-xxs/.env.development b/warehousing-system/project_web_ui-xxs/.env.development index b986a193..6552d7fa 100644 --- a/warehousing-system/project_web_ui-xxs/.env.development +++ b/warehousing-system/project_web_ui-xxs/.env.development @@ -6,4 +6,4 @@ VUE_APP_BASE_API = '/warehouseapi' ## 配置测试和本地开发时的 接口地址 ##VUE_APP_URL = "http://jianguan.yyundong.com/" -VUE_APP_URL = "http://127.0.0.1:9050" +VUE_APP_URL = "http://192.168.1.107:9051" diff --git a/warehousing-system/project_web_ui-xxs/src/api/User/login.js b/warehousing-system/project_web_ui-xxs/src/api/User/login.js index 80149639..3deea8a4 100644 --- a/warehousing-system/project_web_ui-xxs/src/api/User/login.js +++ b/warehousing-system/project_web_ui-xxs/src/api/User/login.js @@ -12,7 +12,7 @@ class user { logout(data) { // 退出 return request({ - url: '/portal/v1/sysuser/signOut', + url: '/v1/sysuser/signOut', method: 'post', data: qs.stringify(data) }) diff --git a/warehousing-system/project_web_ui-xxs/src/assets/loginImg/logo2.png b/warehousing-system/project_web_ui-xxs/src/assets/loginImg/logo2.png new file mode 100644 index 00000000..aa39ecbb Binary files /dev/null and b/warehousing-system/project_web_ui-xxs/src/assets/loginImg/logo2.png differ diff --git a/warehousing-system/project_web_ui-xxs/src/layout/components/Navbar.vue b/warehousing-system/project_web_ui-xxs/src/layout/components/Navbar.vue index b2a263c3..822bbc4d 100644 --- a/warehousing-system/project_web_ui-xxs/src/layout/components/Navbar.vue +++ b/warehousing-system/project_web_ui-xxs/src/layout/components/Navbar.vue @@ -1,15 +1,15 @@