From 17c1adc489aa434a4f0912e6a0f528e88d29523f Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 7 Jan 2025 14:13:15 +0800 Subject: [PATCH] md --- src/main.js | 3 +-- src/utils/custom.js | 19 ------------------- .../emisSettleInvoiceRecordForm.vue | 3 --- .../SubBillConfirmBySiteList.vue | 4 ---- .../emisWaybillAjustApplyForm.vue | 5 ----- 5 files changed, 1 insertion(+), 33 deletions(-) diff --git a/src/main.js b/src/main.js index 1bdf78a7..6c5505f3 100644 --- a/src/main.js +++ b/src/main.js @@ -18,7 +18,7 @@ import plugins from './plugins' // plugins // const ElectronStore = require('electron-store'); // const electronStore = new ElectronStore({encryptionKey: '123456'}); import { download } from '@/utils/request' -import { triggerTrans,noticeToEmpUser } from '@/utils/custom' +import { triggerTrans } from '@/utils/custom' import TanexPrinterSdk from '@/utils/TanexPrinterSdk' import XDNoticeSdk from '@/utils/XDNoticeSdk' import preventReClick from './utils/preventReClick' @@ -100,7 +100,6 @@ Vue.prototype.Base64 = Base64 Vue.prototype.MD5 = md5; Vue.prototype.playAudio = playAudio; Vue.prototype.playNoticeTone = playNoticeTone; -Vue.prototype.noticeToEmpUser = noticeToEmpUser; const tanexPrinter = TanexPrinterSdk.getInstance(); Vue.prototype.$tanexPrinter = tanexPrinter; diff --git a/src/utils/custom.js b/src/utils/custom.js index c898e937..be226457 100644 --- a/src/utils/custom.js +++ b/src/utils/custom.js @@ -676,22 +676,3 @@ export function addExportAuditRecord(data) { }) } - -// 发送消息到对应的人 -// export function noticeToEmpUser(uid,message) { -// return request({ -// url: '/common/pushToUser/'+uid, -// method: 'post', -// data: {message:message} -// }) -// } - -// 发送消息到对应的人 -export function noticeToEmpUser(empCode,message) { - return request({ - url: '/common/pushToEmp/'+empCode, - method: 'post', - data: {message:message} - }) -} - diff --git a/src/views/emis/emisSettleInvoiceRecord/emisSettleInvoiceRecordForm.vue b/src/views/emis/emisSettleInvoiceRecord/emisSettleInvoiceRecordForm.vue index fc945ada..77ec690e 100644 --- a/src/views/emis/emisSettleInvoiceRecord/emisSettleInvoiceRecordForm.vue +++ b/src/views/emis/emisSettleInvoiceRecord/emisSettleInvoiceRecordForm.vue @@ -682,9 +682,6 @@ export default { this.blCanotSubmit=true; addEmisSettleInvoiceRecord(this.form).then(response => { this.$modal.msgSuccess("新增成功"); - // let empName=this.$store.getters.empName; - // let message=empName+" 提交了开票申请,请及时开票!"; - // this.noticeToEmpUser("padmin,88888042,88888047,88888034,88888059,88888083",message); this.blCanotSubmit=false; if(isContinue){ diff --git a/src/views/emis/emisSettleSubBill/SubBillConfirmBySiteList.vue b/src/views/emis/emisSettleSubBill/SubBillConfirmBySiteList.vue index 99611ef6..4c14f7c7 100644 --- a/src/views/emis/emisSettleSubBill/SubBillConfirmBySiteList.vue +++ b/src/views/emis/emisSettleSubBill/SubBillConfirmBySiteList.vue @@ -1222,10 +1222,6 @@ export default { this.$modal.confirm('是否确认').then(function() { return confirmBillBySite(ids); }).then(() => { - let empName=this.$store.getters.empName; - let message=empName+" 确认了出账明细,请及时出账单!"; - this.noticeToEmpUser("padmin,88888042,88888047,88888034,88888059,88888083",message); - this.getList(); this.$modal.msgSuccess("操作成功"); }).catch(() => {}); diff --git a/src/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm.vue b/src/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm.vue index 5651cb3b..b0d46c22 100644 --- a/src/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm.vue +++ b/src/views/emis/emisWaybillAjustApply/emisWaybillAjustApplyForm.vue @@ -253,11 +253,6 @@ export default { this.form.jsonData=JSON.stringify(jsonData); addEmisWaybillAjustApply(this.form).then(response => { this.$modal.msgSuccess("申请成功"); - - // let empName=this.$store.getters.empName; - // let message=empName+" 提交了费用审核,请及时审批,单号:"+this.form.billCode; - // this.noticeToEmpUser("padmin,88888042,88888047,88888034,88888059,88888083",message); - this.$emit("on-changed"); }); }