diff --git a/fuintAdmin/src/api/staff/staff.js b/fuintAdmin/src/api/staff/staff.js index 6f6a7a112..18c7fccc5 100644 --- a/fuintAdmin/src/api/staff/staff.js +++ b/fuintAdmin/src/api/staff/staff.js @@ -67,3 +67,27 @@ export function createStaffQrCode(id) { method: 'get' }) } +// 查询油站已绑定码牌列表 +export function tagCodeRecord() { + return request({ + url: '/business/tag/tagCodeRecord?storeId=', + method: 'get' + }) +} + +export function tagCodeRecordStaff(data) { + return request({ + url: '/business/tag/tagCodeRecord/staff', + method: 'post', + data:data + + }) +} +export function puttagCodeRecord(data) { + return request({ + url: '/business/tag/tagCodeRecord', + method: 'put', + data:data + + }) +} diff --git a/fuintAdmin/src/views/staff/list.vue b/fuintAdmin/src/views/staff/list.vue index 81abf9f1d..39beee765 100644 --- a/fuintAdmin/src/views/staff/list.vue +++ b/fuintAdmin/src/views/staff/list.vue @@ -110,6 +110,20 @@ icon="el-icon-edit" @click="handleUpdate(scope.row)" >修改 + 一键绑定 + 解绑 - - - - - - - - - - - - - - - - - @@ -316,13 +313,44 @@ 保存图片到电脑 + + +
+
+
+ {{item.companyName}} +
+
+ 选择 +
+
+ 已选择 +
+
+
+ + + +
+ diff --git a/fuintAdmin_zt/src/views/tag/tagCode/api/code.js b/fuintAdmin_zt/src/views/tag/tagCode/api/code.js index 4f62b51e2..f10209265 100644 --- a/fuintAdmin_zt/src/views/tag/tagCode/api/code.js +++ b/fuintAdmin_zt/src/views/tag/tagCode/api/code.js @@ -3,8 +3,8 @@ import request from '@/utils/request' // 查询码牌二维码列表 export function listCode(query) { return request({ - url: '/system/code/list', - method: 'get', + url: '/business/tag/tagCode', + method: 'GET', params: query }) } @@ -20,7 +20,7 @@ export function getCode(id) { // 新增码牌二维码 export function addCode(data) { return request({ - url: '/system/code', + url: '/business/tag/tagCode', method: 'post', data: data }) diff --git a/fuintAdmin_zt/src/views/tag/tagCode/index.vue b/fuintAdmin_zt/src/views/tag/tagCode/index.vue index 7b9954a9e..4603a27e4 100644 --- a/fuintAdmin_zt/src/views/tag/tagCode/index.vue +++ b/fuintAdmin_zt/src/views/tag/tagCode/index.vue @@ -1,26 +1,10 @@