diff --git a/src/api/manage/Satisfactionsurvey.js b/src/api/manage/Satisfactionsurvey.js new file mode 100644 index 0000000..3ada29a --- /dev/null +++ b/src/api/manage/Satisfactionsurvey.js @@ -0,0 +1,11 @@ +import request from '@/utils/request' + +// 查询列表 +export function uploadRobotPublishRecord(query) { + return request({ + url: '/manage/signnode/uploadRobotPublishRecord', + method: 'get', + params: query + }) +} + diff --git a/src/views/components/SearchForm.vue b/src/views/components/SearchForm.vue index 03948d4..b4b1bf2 100644 --- a/src/views/components/SearchForm.vue +++ b/src/views/components/SearchForm.vue @@ -36,13 +36,22 @@ >导入 返回 + 导出 ({}) + + + + }, }, data() { return { + querlist:{},//导出 departmentsshow: false,//添加按钮 loading: false, patientInfoList: [], @@ -542,6 +559,14 @@ export default { }, watch: { + query:{ + handler(val) { + this.querlist=val + + }, + deep: true, + immediate: true, + }, '$store.state.app.sidebar.opened'(newVal, Val) { if (newVal) { const group = window.document.querySelectorAll(`#searchFilter .el-form-item.el-form-item--${this.size}`) @@ -614,12 +639,23 @@ export default { this.openphone = false; }, // 返回 - handleback(){ + handleback() { this.$router.push({ - path: "/patient/patientinfoimport", - }); + path: "/patient/patientinfoimport", + }); }, + + /** 导出按钮操作 */ + handleExport() { + this.download( + "/manage/signnode/export ", + { + ...this.querlist, + }, + `外呼记录_${new Date().getTime()}.xlsx` + ); + }, // 导入 handleUpload() { // this.openphone=true; @@ -879,14 +915,14 @@ export default { this.$modal.msgError("必填项请填写完整,再进行提交"); } else { secondaryUpload(this.form).then(response => { - if(response.code==200){ - this.$modal.msgSuccess(response.msg); - }else{ + if (response.code == 200) { + this.$modal.msgSuccess(response.msg); + } else { this.$modal.msgError(response.msg); } this.open = false; this.$emit('handleRules') - }).catch(()=>{ + }).catch(() => { this.open = false; }) } diff --git a/src/views/manage/Satisfactionsurvey/index.vue b/src/views/manage/Satisfactionsurvey/index.vue new file mode 100644 index 0000000..2f27d13 --- /dev/null +++ b/src/views/manage/Satisfactionsurvey/index.vue @@ -0,0 +1,292 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + {{ scope.row.nodeExecuteStatus=="EXECUTED"?"已执行":""}} + {{ scope.row.nodeExecuteStatus=="UNEXECUTED"?"未执行":""}} + + + + + + + + + + + + + + + + + + \ No newline at end of file