|
|
|
|
@ -219,6 +219,11 @@ export default {
|
|
|
|
|
cancelButtonText: '取消',
|
|
|
|
|
type: 'warning'
|
|
|
|
|
}).then(() => {
|
|
|
|
|
const loading1 = this.$loading({
|
|
|
|
|
lock: true,
|
|
|
|
|
text: '提交中,请等待...',
|
|
|
|
|
spinner: 'el-icon-more',
|
|
|
|
|
});
|
|
|
|
|
VoteEmpSubmit({
|
|
|
|
|
khitemTypeid : this.vote.khitemTypeid,
|
|
|
|
|
pingceId : this.vote.pingceId,
|
|
|
|
|
@ -228,8 +233,11 @@ export default {
|
|
|
|
|
uid : 1,
|
|
|
|
|
voteEmpList: voteEmpList
|
|
|
|
|
}).then(response => {
|
|
|
|
|
loading1.close()
|
|
|
|
|
this.$modal.msgSuccess("提交成功");
|
|
|
|
|
this.$router.go(-1)
|
|
|
|
|
}).catch(()=>{
|
|
|
|
|
loading1.close()
|
|
|
|
|
});
|
|
|
|
|
}).catch(() => {
|
|
|
|
|
this.$message({
|
|
|
|
|
|