Commit da6f2123 authored by zhengke's avatar zhengke

增加提示

parent 508310b2
......@@ -66,8 +66,9 @@
border-radius: 3px;
padding: 15px;
}
.backinfoContent .EmpList:last-child{
margin-right:0;
.backinfoContent .EmpList:last-child {
margin-right: 0;
}
.backinfoContent .normalName {
......@@ -341,8 +342,9 @@
<tr>
<td style="width:75px;text-align:left;color:#999999;vertical-align:top;">取消:</td>
<td style="text-align:left">
<span style="margin-right:10px;display:inline-block;" v-if="setingObj.DataObj.OldChangePlanItemList&&setingObj.DataObj.OldChangePlanItemList.length>0"
v-for="(sItem,sIndex) in setingObj.DataObj.OldChangePlanItemList">{{sItem.ClassDateStr}}</span>
<span style="margin-right:10px;display:inline-block;"
v-if="setingObj.DataObj.OldChangePlanItemList&&setingObj.DataObj.OldChangePlanItemList.length>0"
v-for="(sItem,sIndex) in setingObj.DataObj.OldChangePlanItemList">{{sItem.ClassDateStr}}</span>
</td>
</tr>
</table>
......@@ -586,20 +588,48 @@
str = str.substr(1);
}
this.changeBillMsg.RecipientIds = str;
saveBackBillAduit(this.changeBillMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '审核成功!',
position: 'top'
if (this.changeBillMsg.AuditStatus == 3) {
this.$q.dialog({
title: '提示信息',
message: '确定要驳回吗?',
cancel: true,
persistent: true,
ok: "确定",
cancel: "取消",
}).onOk(() => {
saveBackBillAduit(this.changeBillMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '审核成功!',
position: 'top'
})
//调用父页面成功方法
this.$emit('success');
this.$emit('close');
}
})
//调用父页面成功方法
this.$emit('success');
this.$emit('close');
}
})
}).onCancel(() => {
});
} else {
saveBackBillAduit(this.changeBillMsg).then(res => {
if (res.Code == 1) {
this.$q.notify({
icon: 'iconfont icon-chenggong',
color: 'accent',
timeout: 2000,
message: '审核成功!',
position: 'top'
})
//调用父页面成功方法
this.$emit('success');
this.$emit('close');
}
})
}
},
//获取员工列表
getEmployee() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment