md
This commit is contained in:
parent
b3bf05bb47
commit
17c1adc489
@ -18,7 +18,7 @@ import plugins from './plugins' // plugins
|
|||||||
// const ElectronStore = require('electron-store');
|
// const ElectronStore = require('electron-store');
|
||||||
// const electronStore = new ElectronStore({encryptionKey: '123456'});
|
// const electronStore = new ElectronStore({encryptionKey: '123456'});
|
||||||
import { download } from '@/utils/request'
|
import { download } from '@/utils/request'
|
||||||
import { triggerTrans,noticeToEmpUser } from '@/utils/custom'
|
import { triggerTrans } from '@/utils/custom'
|
||||||
import TanexPrinterSdk from '@/utils/TanexPrinterSdk'
|
import TanexPrinterSdk from '@/utils/TanexPrinterSdk'
|
||||||
import XDNoticeSdk from '@/utils/XDNoticeSdk'
|
import XDNoticeSdk from '@/utils/XDNoticeSdk'
|
||||||
import preventReClick from './utils/preventReClick'
|
import preventReClick from './utils/preventReClick'
|
||||||
@ -100,7 +100,6 @@ Vue.prototype.Base64 = Base64
|
|||||||
Vue.prototype.MD5 = md5;
|
Vue.prototype.MD5 = md5;
|
||||||
Vue.prototype.playAudio = playAudio;
|
Vue.prototype.playAudio = playAudio;
|
||||||
Vue.prototype.playNoticeTone = playNoticeTone;
|
Vue.prototype.playNoticeTone = playNoticeTone;
|
||||||
Vue.prototype.noticeToEmpUser = noticeToEmpUser;
|
|
||||||
|
|
||||||
const tanexPrinter = TanexPrinterSdk.getInstance();
|
const tanexPrinter = TanexPrinterSdk.getInstance();
|
||||||
Vue.prototype.$tanexPrinter = tanexPrinter;
|
Vue.prototype.$tanexPrinter = tanexPrinter;
|
||||||
|
|||||||
@ -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}
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@ -682,9 +682,6 @@ export default {
|
|||||||
this.blCanotSubmit=true;
|
this.blCanotSubmit=true;
|
||||||
addEmisSettleInvoiceRecord(this.form).then(response => {
|
addEmisSettleInvoiceRecord(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("新增成功");
|
this.$modal.msgSuccess("新增成功");
|
||||||
// let empName=this.$store.getters.empName;
|
|
||||||
// let message=empName+" 提交了开票申请,请及时开票!";
|
|
||||||
// this.noticeToEmpUser("padmin,88888042,88888047,88888034,88888059,88888083",message);
|
|
||||||
this.blCanotSubmit=false;
|
this.blCanotSubmit=false;
|
||||||
|
|
||||||
if(isContinue){
|
if(isContinue){
|
||||||
|
|||||||
@ -1222,10 +1222,6 @@ export default {
|
|||||||
this.$modal.confirm('是否确认').then(function() {
|
this.$modal.confirm('是否确认').then(function() {
|
||||||
return confirmBillBySite(ids);
|
return confirmBillBySite(ids);
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
let empName=this.$store.getters.empName;
|
|
||||||
let message=empName+" 确认了出账明细,请及时出账单!";
|
|
||||||
this.noticeToEmpUser("padmin,88888042,88888047,88888034,88888059,88888083",message);
|
|
||||||
|
|
||||||
this.getList();
|
this.getList();
|
||||||
this.$modal.msgSuccess("操作成功");
|
this.$modal.msgSuccess("操作成功");
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
|
|||||||
@ -253,11 +253,6 @@ export default {
|
|||||||
this.form.jsonData=JSON.stringify(jsonData);
|
this.form.jsonData=JSON.stringify(jsonData);
|
||||||
addEmisWaybillAjustApply(this.form).then(response => {
|
addEmisWaybillAjustApply(this.form).then(response => {
|
||||||
this.$modal.msgSuccess("申请成功");
|
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");
|
this.$emit("on-changed");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user