Commit 4d2b26e7 4d2b26e7c9f9c66e0066520eb59d471d14e5ad21 by zhanghao

commit

1 parent 4e751c77
...@@ -116,6 +116,40 @@ ...@@ -116,6 +116,40 @@
116 min-width="2"> 116 min-width="2">
117 </el-table-column> 117 </el-table-column>
118 </el-table> 118 </el-table>
119 <br/>
120 <br/>
121 <span>代理人客户表(tbl_agent_customer),展示全部客户</span>
122 <el-table
123 :data="tblAgentCustomersAll"
124 border
125 style="width: 100%"
126 :header-cell-style="{background: 'deepskyblue', color: 'snow'}">
127 <el-table-column
128 prop="name"
129 label="用户名称"
130 min-width="1">
131 </el-table-column>
132 <el-table-column
133 prop="refId"
134 label="用户UID"
135 min-width="1">
136 </el-table-column>
137 <el-table-column
138 prop="phone"
139 label="电话号"
140 min-width="1">
141 </el-table-column>
142 <el-table-column
143 prop="customerType"
144 label="客户类型"
145 min-width="1">
146 </el-table-column>
147 <el-table-column
148 prop="createTime"
149 label="创建时间"
150 min-width="2">
151 </el-table-column>
152 </el-table>
119 </div> 153 </div>
120 </template> 154 </template>
121 155
...@@ -127,7 +161,8 @@ ...@@ -127,7 +161,8 @@
127 huanjing: this.$route.query.huanjing, 161 huanjing: this.$route.query.huanjing,
128 tblUserInfos: [], 162 tblUserInfos: [],
129 tblAgentProperties: [], 163 tblAgentProperties: [],
130 tblAgentCustomers: [] 164 tblAgentCustomers: [],
165 tblAgentCustomersAll: []
131 } 166 }
132 }, 167 },
133 mounted() { 168 mounted() {
...@@ -154,6 +189,7 @@ ...@@ -154,6 +189,7 @@
154 this.tblUserInfos=res.data.tblUserInfos 189 this.tblUserInfos=res.data.tblUserInfos
155 this.tblAgentProperties=res.data.tblAgentProperties 190 this.tblAgentProperties=res.data.tblAgentProperties
156 this.tblAgentCustomers=res.data.tblAgentCustomers 191 this.tblAgentCustomers=res.data.tblAgentCustomers
192 this.tblAgentCustomersAll=res.data.tblAgentCustomersAll
157 loading.close(); 193 loading.close();
158 }).catch(error=>{ 194 }).catch(error=>{
159 console.log(error); 195 console.log(error);
......