|
|
@@ -34,7 +34,8 @@
|
|
|
<!-- <el-row>
|
|
|
<el-col :span="5"> -->
|
|
|
<el-form-item label="任务名称" prop="planId">
|
|
|
- <el-select
|
|
|
+ <el-input placeholder="请输入任务名称" v-model="queryParams.taskName" clearable/>
|
|
|
+ <!-- <el-select
|
|
|
v-model="queryParams.planId"
|
|
|
filterable
|
|
|
placeholder="请选择任务名称"
|
|
|
@@ -47,7 +48,7 @@
|
|
|
:value="item.id"
|
|
|
>
|
|
|
</el-option>
|
|
|
- </el-select>
|
|
|
+ </el-select> -->
|
|
|
</el-form-item>
|
|
|
<!-- </el-col>
|
|
|
<el-col :span="5"> -->
|
|
|
@@ -158,6 +159,7 @@
|
|
|
prop="name"
|
|
|
label="任务名称"
|
|
|
min-width="120"
|
|
|
+ show-overflow-tooltip
|
|
|
v-if="columns[1].visible"
|
|
|
>
|
|
|
</el-table-column>
|
|
|
@@ -301,14 +303,15 @@ export default {
|
|
|
timeClearable: false,
|
|
|
options: [],
|
|
|
roleList: [],
|
|
|
- planList: [],
|
|
|
+ // planList: [],
|
|
|
queryParams: {
|
|
|
checkSub: true,
|
|
|
orgId: null,
|
|
|
range: [sDate, eDate],
|
|
|
executeRole: null,
|
|
|
status: null,
|
|
|
- planId: null,
|
|
|
+ // planId: null,
|
|
|
+ taskName:null,
|
|
|
pageNum: 1,
|
|
|
pageSize: 10,
|
|
|
},
|
|
|
@@ -381,8 +384,6 @@ export default {
|
|
|
new Date()
|
|
|
).format("YYYYMMDD")}.xlsx`
|
|
|
);
|
|
|
-
|
|
|
- // await api.exportResumptionRecord(this.queryParams);
|
|
|
},
|
|
|
showDetail(row) {
|
|
|
this.$refs.detaildialog.show(row.resumptionId, row.name);
|
|
|
@@ -397,7 +398,7 @@ export default {
|
|
|
this.selectedOrgName = node.shortName;
|
|
|
this.getList();
|
|
|
this.loadRoles(node.id);
|
|
|
- this.loadPlanList();
|
|
|
+ // this.loadPlanList();
|
|
|
},
|
|
|
//单选框状态改变
|
|
|
checkChange(state) {
|
|
|
@@ -412,7 +413,7 @@ export default {
|
|
|
}
|
|
|
this.queryParams.orgId = data.id;
|
|
|
this.selectedOrgName = data.shortName;
|
|
|
- this.loadPlanList();
|
|
|
+ // this.loadPlanList();
|
|
|
this.loadRoles(data.id);
|
|
|
this.getList();
|
|
|
},
|
|
|
@@ -446,18 +447,18 @@ export default {
|
|
|
.then((r) => (this.roleList = r.data));
|
|
|
},
|
|
|
|
|
|
- loadPlanList() {
|
|
|
- api
|
|
|
- .getPlans({
|
|
|
- orgId: this.queryParams.orgId,
|
|
|
- })
|
|
|
- .then((r) => {
|
|
|
- this.planList = r.data;
|
|
|
- if (!this.planList.find((p) => p.id == this.queryParams.planId)) {
|
|
|
- this.queryParams.planId = null;
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
+ // loadPlanList() {
|
|
|
+ // api
|
|
|
+ // .getPlans({
|
|
|
+ // orgId: this.queryParams.orgId,
|
|
|
+ // })
|
|
|
+ // .then((r) => {
|
|
|
+ // this.planList = r.data;
|
|
|
+ // if (!this.planList.find((p) => p.id == this.queryParams.planId)) {
|
|
|
+ // this.queryParams.planId = null;
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
|
|
|
weekChanged() {
|
|
|
this.updateWeekDateRange(this.week);
|