|
|
@@ -295,7 +295,7 @@
|
|
|
planPickerSelectionAll: [],
|
|
|
planPickerSelectionSyncing: false,
|
|
|
planTableSelectionSyncing: false,
|
|
|
- planTableStatusTab: 'published',
|
|
|
+ planTableStatusTab: 'unpublished',
|
|
|
dialogRenderKey: 0,
|
|
|
dotLineLoading: false,
|
|
|
dotLineFullscreen: false,
|
|
|
@@ -404,24 +404,24 @@
|
|
|
planTableStatusTabs() {
|
|
|
if (this.isOrderScheduling) {
|
|
|
return [
|
|
|
- {
|
|
|
- name: 'dispatched',
|
|
|
- label: '已派单'
|
|
|
- },
|
|
|
{
|
|
|
name: 'undispatched',
|
|
|
label: '未派单'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'dispatched',
|
|
|
+ label: '已派单'
|
|
|
}
|
|
|
];
|
|
|
}
|
|
|
return [
|
|
|
- {
|
|
|
- name: 'published',
|
|
|
- label: '已发布'
|
|
|
- },
|
|
|
{
|
|
|
name: 'unpublished',
|
|
|
label: '未发布'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: 'published',
|
|
|
+ label: '已发布'
|
|
|
}
|
|
|
];
|
|
|
},
|
|
|
@@ -644,7 +644,7 @@
|
|
|
: '布点';
|
|
|
},
|
|
|
getDefaultPlanTableStatusTab(mode = this.schedulingMode) {
|
|
|
- return mode === 'order' ? 'dispatched' : 'published';
|
|
|
+ return mode === 'order' ? 'undispatched' : 'unpublished';
|
|
|
},
|
|
|
getPlanTableStatusRequestWhere(tabName = this.planTableStatusTab) {
|
|
|
if (this.isOrderScheduling) {
|
|
|
@@ -2973,14 +2973,14 @@
|
|
|
const api = this.isReview ? releaseByApproval : release;
|
|
|
const data = await api([row.id]);
|
|
|
if (data || data === 0) {
|
|
|
- this.$message.success('审批成功!');
|
|
|
+ this.$message.success('提交审核成功!');
|
|
|
} else {
|
|
|
- this.$message.error('审批失败,请重新审批!');
|
|
|
+ this.$message.error('提交审核失败,请重新提交!');
|
|
|
}
|
|
|
await this.refreshSchedulingView();
|
|
|
await this.reloadPlanSchedulingPlansByStatus();
|
|
|
} catch (e) {
|
|
|
- this.$message.error(e.message || '审批失败,请重新审批!');
|
|
|
+ this.$message.error(e.message || '提交审核失败,请重新提交!');
|
|
|
} finally {
|
|
|
this.approvalLoading = false;
|
|
|
loading.close();
|