Commit a6d57512 authored by 胡's avatar

fix: 页面优化

parent d0c5ef59
...@@ -11,5 +11,5 @@ module.exports = { ...@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://180.104.121.66:8088/r/api"', ocrPath:'"http://180.104.121.66:8088/r/api"',
fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="', fileUploadSvcPath:'"http://180.104.121.66:8088/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"', appId: '"com.xcmg.app.dev"',
currentVersion: '"3.4.1"' currentVersion: '"3.4.4"'
} }
...@@ -301,7 +301,7 @@ export default { ...@@ -301,7 +301,7 @@ export default {
img { img {
height: 22px; height: 22px;
vertical-align: text-bottom; vertical-align: middle;
margin-right: 7px; margin-right: 7px;
} }
......
...@@ -163,6 +163,7 @@ export default { ...@@ -163,6 +163,7 @@ export default {
officeLists: [], // 办事处查询结果 officeLists: [], // 办事处查询结果
factoryLists: [], // 主机厂 factoryLists: [], // 主机厂
bp_agent_id: '', // 经销商id bp_agent_id: '', // 经销商id
bp_user_id: '',
bp_agent_name: '', // 经销商名称 bp_agent_name: '', // 经销商名称
salesInfo: { salesInfo: {
bp_type: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type, bp_type: JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type,
...@@ -210,6 +211,7 @@ export default { ...@@ -210,6 +211,7 @@ export default {
vm.office_name = '' vm.office_name = ''
vm.factory_name = '' vm.factory_name = ''
vm.bp_agent_id = '' vm.bp_agent_id = ''
vm.bp_user_id = ''
vm.bp_agent_name = '' vm.bp_agent_name = ''
vm.inflow_line = '' // 授信总额度 vm.inflow_line = '' // 授信总额度
vm.inflow_used = '' // 已使用授信额度 vm.inflow_used = '' // 已使用授信额度
...@@ -299,6 +301,7 @@ export default { ...@@ -299,6 +301,7 @@ export default {
let url = process.env.basePath + 'prj_bp_master_query' let url = process.env.basePath + 'prj_bp_master_query'
let param = { let param = {
bp_agent_id: vm.bp_agent_id, bp_agent_id: vm.bp_agent_id,
bp_user_id: vm.bp_user_id
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
...@@ -356,6 +359,7 @@ export default { ...@@ -356,6 +359,7 @@ export default {
if (res.result === 'S' && res.info) { if (res.result === 'S' && res.info) {
vm.bp_agent_name = res.info.bp_agent_name vm.bp_agent_name = res.info.bp_agent_name
vm.bp_agent_id = res.info.bp_agent_id vm.bp_agent_id = res.info.bp_agent_id
vm.bp_user_id = res.info.bp_user_id;
if (JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type === 'OFFICE') { if (JSON.parse(window.localStorage.getItem('now_user_bp_bind_id')).bp_type === 'OFFICE') {
vm.office_name = res.info.bp_agent_name vm.office_name = res.info.bp_agent_name
vm.salesInfo.office_id = res.info.bp_agent_id vm.salesInfo.office_id = res.info.bp_agent_id
...@@ -424,6 +428,7 @@ export default { ...@@ -424,6 +428,7 @@ export default {
let url = process.env.basePath + 'prj_bp_agent_user' let url = process.env.basePath + 'prj_bp_agent_user'
let param = { let param = {
bp_agent_id: vm.bp_agent_id, bp_agent_id: vm.bp_agent_id,
bp_user_id: vm.bp_user_id
} }
vm.hlsPopup.showLoading('请稍候') vm.hlsPopup.showLoading('请稍候')
vm.hlsHttp.post(url, param).then(function (res) { vm.hlsHttp.post(url, param).then(function (res) {
......
...@@ -1323,10 +1323,13 @@ export default { ...@@ -1323,10 +1323,13 @@ export default {
.more { .more {
height: 31px; height: 31px;
display: flex;
justify-content: center;
align-items: center;
color: rgb(213, 217, 224); color: rgb(213, 217, 224);
font-size: 85%; font-size: 85%;
text-align: center; // text-align: center;
line-height: 31px; // line-height: 31px;
font-weight: 600; font-weight: 600;
} }
} }
......
...@@ -32,8 +32,12 @@ ...@@ -32,8 +32,12 @@
> >
<!-- <span <!-- <span
style="font-size: .3rem;" style="font-size: .3rem;"
>{{ item.bp_status === 'APPROVED' ? '×' : '' }}</span> --> >{{ item.bp_status === 'APPROVED' ? '×' : '' }}</span>-->
<img v-if="item.bp_status === 'APPROVED'" src="../../assets/login/cha.png" alt="cha"> <img
v-if="item.bp_status === 'APPROVED'"
src="../../assets/login/cha.png"
alt="cha"
/>
{{ item.bp_status === 'APPROVED' ? ' 解绑' : item.bp_status === 'NEW' ? '待提交' : item.bp_status_n }} {{ item.bp_status === 'APPROVED' ? ' 解绑' : item.bp_status === 'NEW' ? '待提交' : item.bp_status_n }}
</div> </div>
</div> </div>
...@@ -375,7 +379,7 @@ export default { ...@@ -375,7 +379,7 @@ export default {
align-items: center; align-items: center;
img { img {
height: 12px; height: 11px;
margin-right: 3px; margin-right: 3px;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment