diff --git a/package.json b/package.json index a185e5d..76951d6 100644 --- a/package.json +++ b/package.json @@ -30,6 +30,7 @@ "nprogress": "^0.2.0", "script-loader": "^0.7.2", "sockjs-client": "1.0.0", + "sortablejs": "^1.14.0", "stomp-websocket": "2.3.4-next", "vue": "^2.6.10", "vue-audio-player": "0.0.2", diff --git a/public/img/xiaza1.png b/public/img/xiaza1.png new file mode 100644 index 0000000..ceda54c Binary files /dev/null and b/public/img/xiaza1.png differ diff --git a/src/api/modules/http.js b/src/api/modules/http.js index ae41837..c82f15d 100644 --- a/src/api/modules/http.js +++ b/src/api/modules/http.js @@ -356,4 +356,59 @@ export function taboodelete(query) { }) } +//顾问排班列表 +export function AgentPoollist(query) { + return request({ + url: 'autoSR/zkAgentPool/list', + method:'get', + params:query + }) +} + +//查询顾问 +export function agentListSort(query) { + return request({ + url: 'autoSR/zkAgentPool/agentListSort', + method:'get', + params:query + }) +} + + +//排班删除 +export function agentListdelete(query) { + return request({ + url: 'autoSR/zkAgentPool/delete', + method:'get', + params:query + }) +} + +//排班批量删除 +export function agentListdelBatch(query) { + return request({ + url: 'autoSR/zkAgentPool/delBatch', + method:'get', + params:query + }) +} + +//排班添加 +export function agentListsortUpdate(data) { + return request({ + url: 'autoSR/zkAgentPool/sortUpdate', + method:'post', + data + }) +} + +//排班批量删除 +export function agentListupdate(query) { + return request({ + url: 'autoSR/zkAgentPool/update', + method:'get', + params:query + }) +} + diff --git a/src/views/Receive/index.vue b/src/views/Receive/index.vue index cc0b445..431e532 100644 --- a/src/views/Receive/index.vue +++ b/src/views/Receive/index.vue @@ -1,18 +1,99 @@ @@ -37,20 +118,23 @@ export default { url: "https://static.quhouse.com/record/dev/2021-09-26/1632648911706-56129.mp3", }, ], + tablist:[ {name:'全部',}, {name:'A',}, {name:'b',}, {name:'c',},], + roleindex:0, + zhixingcenterindex:0, + + }; }, + mounted() { + this.bofangchushihua(); + }, methods: { - // handleBeforePlay(next) { - // // 这里可以做一些事情... - // this.currentAudioName = - // this.audioList[this.$refs.audioPlayer.currentPlayIndex].name; - // console.log("我要开始播放了"); - - // next(); // 开始播放 - // }, - // playing(e) { - // console.log("我播放中", this.$refs.audioPlayer.currentTime); - // }, + recordclick(i){ + this.zhixingcenterindex=i; + }, + tapspagek(i){ + this.roleindex=i; + }, bofangchushihua() { var that = this; this.$nextTick(() => { @@ -74,16 +158,239 @@ export default { }); }, }, - mounted() { - this.bofangchushihua(); - }, }; - diff --git a/src/views/Scheduling/index.vue b/src/views/Scheduling/index.vue index b38aa1e..8f96ce4 100644 --- a/src/views/Scheduling/index.vue +++ b/src/views/Scheduling/index.vue @@ -1,57 +1,74 @@