工单详情改为接口请求

main
xuechunyuan 3 years ago
parent b0adf43689
commit c9c41d3803
  1. 19
      src/views/plugin/workflow/process/copy.vue
  2. 13
      src/views/plugin/workflow/process/crontab.vue
  3. 18
      src/views/plugin/workflow/process/done.vue
  4. 19
      src/views/plugin/workflow/process/my-done.vue
  5. 20
      src/views/plugin/workflow/process/send.vue

@ -15,10 +15,14 @@
@on-load="onLoad">
<template slot="menu"
slot-scope="{row}">
<el-button type="text"
<!-- <el-button type="text"
size="small"
icon="el-icon-info"
@click="dynamicRoute(row, 'detail')">详情</el-button> -->
<el-button type="text"
size="small"
icon="el-icon-info"
@click="dynamicRoute(row, 'detail')">详情</el-button>
@click="details(row)">详情</el-button>
<el-button type="text"
size="small"
icon="el-icon-search"
@ -165,7 +169,16 @@ export default {
this.data = data.records;
this.loading = false;
});
}
},//
details(row) {
this.$router.push({
path: "/workflow/process/details",
query: {
taskId: row.taskId,
processInsId: row.processId,
},
});
},
}
};
</script>

@ -111,7 +111,8 @@
@size-change="sizeChange"
>
<template slot="menu" slot-scope="{ row }">
<el-button @click="dynamicRoute(row, 'detail')">详情</el-button>
<!-- <el-button @click="dynamicRoute(row, 'detail')">详情</el-button> -->
<el-button @click="details(row)">详情</el-button>
<el-button
v-if="row.isBreak === 0"
type="danger"
@ -262,6 +263,16 @@ export default {
// this.$message({ type: "info", message: "" });
});
},
//
details(row) {
this.$router.push({
path: "/workflow/process/details",
query: {
taskId: row.taskId,
processInsId: row.processInstanceId,
},
});
},
},
};
</script>

@ -15,11 +15,16 @@
@on-load="onLoad">
<template slot="menu"
slot-scope="{row}">
<!-- <el-button v-if="permission.wf_process_done_detail"
type="text"
size="small"
icon="el-icon-info"
@click="dynamicRoute(row, 'detail')">详情</el-button> -->
<el-button v-if="permission.wf_process_done_detail"
type="text"
size="small"
icon="el-icon-info"
@click="dynamicRoute(row, 'detail')">详情</el-button>
@click="details(row)">详情</el-button>
<el-button v-if="permission.wf_process_done_follow"
type="text"
size="small"
@ -217,7 +222,16 @@ export default {
this.data = data.records;
this.loading = false;
});
}
},//
details(row) {
this.$router.push({
path: "/workflow/process/details",
query: {
taskId: row.taskId,
processInsId: row.processInstanceId,
},
});
},
}
};
</script>

@ -14,10 +14,14 @@
@on-load="onLoad">
<template slot="menu"
slot-scope="{row}">
<el-button type="text"
<!-- <el-button type="text"
size="small"
icon="el-icon-info"
@click="dynamicRoute(row, 'detail')">详情</el-button> -->
<el-button type="text"
size="small"
icon="el-icon-info"
@click="dynamicRoute(row, 'detail')">详情</el-button>
@click="details(row)">详情</el-button>
<el-button type="text"
size="small"
icon="el-icon-search"
@ -185,7 +189,16 @@ export default {
this.data = data.records;
this.loading = false;
});
}
},//
details(row) {
this.$router.push({
path: "/workflow/process/details",
query: {
taskId: row.taskId,
processInsId: row.processInstanceId,
},
});
},
}
};
</script>

@ -15,11 +15,16 @@
@on-load="onLoad">
<template slot="menu"
slot-scope="{row}">
<el-button v-if="permission.wf_process_send_detail"
<!-- <el-button v-if="permission.wf_process_send_detail"
type="text"
size="small"
icon="el-icon-info"
@click="dynamicRoute(row, 'detail')">详情</el-button>
@click="dynamicRoute(row, 'detail')">详情</el-button> -->
<el-button v-if="permission.wf_process_send_detail"
type="text"
size="small"
icon="el-icon-info"
@click="details(row)">详情</el-button>
<el-button v-if="permission.wf_process_send_follow"
type="text"
size="small"
@ -221,7 +226,16 @@ export default {
this.data = data.records;
this.loading = false;
});
}
},//
details(row) {
this.$router.push({
path: "/workflow/process/details",
query: {
taskId: row.taskId,
processInsId: row.processId,
},
});
},
}
};
</script>

Loading…
Cancel
Save