Commit da6f2123 authored by zhengke's avatar zhengke

增加提示

parent 508310b2
...@@ -66,8 +66,9 @@ ...@@ -66,8 +66,9 @@
border-radius: 3px; border-radius: 3px;
padding: 15px; padding: 15px;
} }
.backinfoContent .EmpList:last-child{
margin-right:0; .backinfoContent .EmpList:last-child {
margin-right: 0;
} }
.backinfoContent .normalName { .backinfoContent .normalName {
...@@ -341,8 +342,9 @@ ...@@ -341,8 +342,9 @@
<tr> <tr>
<td style="width:75px;text-align:left;color:#999999;vertical-align:top;">取消:</td> <td style="width:75px;text-align:left;color:#999999;vertical-align:top;">取消:</td>
<td style="text-align:left"> <td style="text-align:left">
<span style="margin-right:10px;display:inline-block;" v-if="setingObj.DataObj.OldChangePlanItemList&&setingObj.DataObj.OldChangePlanItemList.length>0" <span style="margin-right:10px;display:inline-block;"
v-for="(sItem,sIndex) in setingObj.DataObj.OldChangePlanItemList">{{sItem.ClassDateStr}}</span> v-if="setingObj.DataObj.OldChangePlanItemList&&setingObj.DataObj.OldChangePlanItemList.length>0"
v-for="(sItem,sIndex) in setingObj.DataObj.OldChangePlanItemList">{{sItem.ClassDateStr}}</span>
</td> </td>
</tr> </tr>
</table> </table>
...@@ -586,20 +588,48 @@ ...@@ -586,20 +588,48 @@
str = str.substr(1); str = str.substr(1);
} }
this.changeBillMsg.RecipientIds = str; this.changeBillMsg.RecipientIds = str;
saveBackBillAduit(this.changeBillMsg).then(res => { if (this.changeBillMsg.AuditStatus == 3) {
if (res.Code == 1) { this.$q.dialog({
this.$q.notify({ title: '提示信息',
icon: 'iconfont icon-chenggong', message: '确定要驳回吗?',
color: 'accent', cancel: true,
timeout: 2000, persistent: true,
message: '审核成功!', ok: "确定",
position: 'top' 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');
}
}) })
//调用父页面成功方法 }).onCancel(() => {
this.$emit('success');
this.$emit('close'); });
} } 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() { 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