|
|
@@ -678,6 +678,7 @@ export default {
|
|
|
},
|
|
|
/** 查询教育培训计划列表 */
|
|
|
getList() {
|
|
|
+ console.log("12312312312312")
|
|
|
this.loading = true;
|
|
|
listPlan(this.queryParams).then((response) => {
|
|
|
this.planList = response.rows;
|
|
|
@@ -983,15 +984,21 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
publishPlan(row.id, 1);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getList()
|
|
|
+ }, 100)
|
|
|
});
|
|
|
} else {
|
|
|
if (row.planStatus == 0) {
|
|
|
- msg = "请选择从当前轮次或周期开始生成任务?";
|
|
|
+ msg = "请选择从当前轮次或下周期开始生成任务?";
|
|
|
this.$refs["DialogThreeState"].show(
|
|
|
msg,
|
|
|
(state) => {
|
|
|
if (state == 0 || state == 1) {
|
|
|
publishPlan(row.id, state);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getList()
|
|
|
+ }, 100)
|
|
|
}
|
|
|
},
|
|
|
{
|
|
|
@@ -1008,6 +1015,9 @@ export default {
|
|
|
})
|
|
|
.then(() => {
|
|
|
publishPlan(row.id, 0);
|
|
|
+ setTimeout(() => {
|
|
|
+ this.getList()
|
|
|
+ }, 100)
|
|
|
});
|
|
|
}
|
|
|
}
|