Browse Source

init

newStyle
lancer 2 years ago
parent
commit
a08315d5e4
5 changed files with 15 additions and 16 deletions
  1. +1
    -0
      src/api/login.js
  2. +2
    -2
      src/page/wel.vue
  3. +5
    -6
      src/views/Customer/CompanyRecord.vue
  4. +5
    -6
      src/views/Customer/Companymanagement.vue
  5. +2
    -2
      vue.config.js

+ 1
- 0
src/api/login.js View File

@@ -85,6 +85,7 @@ export const getUserInfo = (query) => {
params:{ params:{
orgCode:localStorage.getItem('orgCode'), orgCode:localStorage.getItem('orgCode'),
agentId:localStorage.getItem('agentId'), agentId:localStorage.getItem('agentId'),
houseId:localStorage.getItem('houseId'),
...query, ...query,
} }
}) })


+ 2
- 2
src/page/wel.vue View File

@@ -803,7 +803,7 @@
style="width: 100%;font-size: 14px;">> style="width: 100%;font-size: 14px;">>
<el-table-column <el-table-column
prop="companyName" prop="companyName"
label="公司名称"
:label="role==2?'楼盘名称':'公司名称'"
align="center"> align="center">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{role!=2?row.companyName:row.houseName}} {{role!=2?row.companyName:row.houseName}}
@@ -853,7 +853,7 @@
style="width: 100%;font-size: 14px;">> style="width: 100%;font-size: 14px;">>
<el-table-column <el-table-column
prop="houseName" prop="houseName"
label="楼盘名称"
:label="role==2?'顾问名称':'楼盘名称'"
align="center"> align="center">
<template slot-scope="{row}"> <template slot-scope="{row}">
{{role!=2?row.houseName:row.accountName}} {{role!=2?row.houseName:row.accountName}}


+ 5
- 6
src/views/Customer/CompanyRecord.vue View File

@@ -3,10 +3,10 @@
<!-- 头 --> <!-- 头 -->
<div class="app-top"> <div class="app-top">
<div class="app-titel" style="margin-top: 5px"> <div class="app-titel" style="margin-top: 5px">
<!-- <div v-if="orgType==0" class="label">代理商名称:</div>
<div v-if="orgType==0">
<div class="label">代理商名称:</div>
<div>
<el-input v-model="operatorName"></el-input> <el-input v-model="operatorName"></el-input>
</div> -->
</div>
<div class="label">公司名称:</div> <div class="label">公司名称:</div>
<div> <div>
<el-input maxlength="30" clearable v-model="name"></el-input> <el-input maxlength="30" clearable v-model="name"></el-input>
@@ -66,13 +66,12 @@
align="center" align="center"
> >
</el-table-column> </el-table-column>
<!-- <el-table-column
v-if="orgType==0"
<el-table-column
prop="operatorName" prop="operatorName"
label="代理商" label="代理商"
align="center" align="center"
> >
</el-table-column> -->
</el-table-column>
<el-table-column <el-table-column
:show-overflow-tooltip="true" :show-overflow-tooltip="true"
width="120px" width="120px"


+ 5
- 6
src/views/Customer/Companymanagement.vue View File

@@ -3,10 +3,10 @@
<!-- 头 --> <!-- 头 -->
<div class="app-top"> <div class="app-top">
<div class="app-titel" style="margin-top: 5px"> <div class="app-titel" style="margin-top: 5px">
<!-- <div v-if="orgType==0" class="label">代理商名称:</div>
<div v-if="orgType==0">
<div class="label">代理商:</div>
<div>
<el-input v-model="operatorName"></el-input> <el-input v-model="operatorName"></el-input>
</div> -->
</div>
<div class="label">公司名称:</div> <div class="label">公司名称:</div>
<div> <div>
<el-input maxlength="30" clearable v-model="name"></el-input> <el-input maxlength="30" clearable v-model="name"></el-input>
@@ -60,13 +60,12 @@
<el-table :data="tableData" stripe style="width: 100%"> <el-table :data="tableData" stripe style="width: 100%">
<el-table-column prop="name" label="公司名称" align="center"> <el-table-column prop="name" label="公司名称" align="center">
</el-table-column> </el-table-column>
<!-- <el-table-column
v-if="orgType==0"
<el-table-column
prop="operatorName" prop="operatorName"
label="代理商" label="代理商"
align="center" align="center"
> >
</el-table-column> -->
</el-table-column>
<el-table-column <el-table-column
prop="operationStaffName" prop="operationStaffName"
label="运营人员" label="运营人员"


+ 2
- 2
vue.config.js View File

@@ -3,9 +3,9 @@
* https://cli.vuejs.org/zh/config/ * https://cli.vuejs.org/zh/config/
*/ */
// const url = 'http://pigx-gateway' // const url = 'http://pigx-gateway'
const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://39.97.167.65:9999' //测试
// const url = 'http://192.168.31.169:9999' //长龙 // const url = 'http://192.168.31.169:9999' //长龙
// const url = 'http://192.168.31.134:9999' //嘉豪
const url = 'http://192.168.31.134:9999' //嘉豪
// const url = 'http://192.168.31.100:9999' //王笑 // const url = 'http://192.168.31.100:9999' //王笑
// const url = 'http://nitu5e.natappfree.cc' //王笑 // const url = 'http://nitu5e.natappfree.cc' //王笑




Loading…
Cancel
Save