diff --git a/.env.development b/.env.development index f882c4e..12a4bf3 100644 --- a/.env.development +++ b/.env.development @@ -6,7 +6,7 @@ ENV = 'development' # 电动车租赁系统/开发环境 # VUE_APP_BASE_API = '/dev-api' -VUE_APP_BASE_API = 'http://192.168.2.168:8090' +VUE_APP_BASE_API = 'http://192.168.2.21:8090' # VUE_APP_BASE_API = 'https://zc.chuangtewl.com' # VUE_APP_BASE_API = 'https://zc.chuangtewl.com/prod-api' diff --git a/src/api/system/user.js b/src/api/system/user.js index b3cd10f..75e97c6 100644 --- a/src/api/system/user.js +++ b/src/api/system/user.js @@ -134,3 +134,11 @@ export function deptTreeSelect() { method: 'get' }) } +// 查询代理商下的商户 +export function getMerchantList(query) { + return request({ + url: '/user/user/getMerchantList', + method: 'get', + params: query + }) +} diff --git a/src/views/system/merchant/merchantList.vue b/src/views/system/merchant/merchantList.vue index 1a59e74..8719e9c 100644 --- a/src/views/system/merchant/merchantList.vue +++ b/src/views/system/merchant/merchantList.vue @@ -1,13 +1,695 @@ - 111 + + + + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + + + 修改 + + + 删除 + + + + + + + + + + + + + + + + + + + {{ scope.row.balance }}元 + + + + + + + + + + {{ parseTime(scope.row.cooperationTime) }} + + + + + 修改 + 删除 + handleCommand(command, scope.row)" + v-hasPermi="['system:user:resetPwd', 'system:user:edit']"> + 更多 + + 重置密码 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ + dict.label + }} + + + + + + + + + + + + + + {{ item.name }} + 渠道状态: + + + + {{ + dict.label + }} + + + + + + + + + + + + + + + + 单笔最低 + + 元 + + 单笔最高 + + 元 + + + + + + + + + + + + + + + + \ No newline at end of file +.el-form-item__tip { + color: #ff0000; + font-size: 12px; + line-height: 18px; +} + +.balance-cell { + font-weight: bold; + color: red; +} +