田源
2023-06-26 aa7b19831312d3e8d7eb19fd4e0a44505be24e93
Source/UBCS-WEB/src/views/work/process/leave/handle.vue
@@ -5,7 +5,7 @@
        <el-card class="dialogwarp_tab_card">
          <el-tabs v-model="activeName" @tab-click="handleClick">
            <el-tab-pane label="业务数据信息" name="first">
              <businesswork :oid="oid" :templateId="templateId"></businesswork>
            </el-tab-pane>
            <el-tab-pane label="流程跟踪" name="second">
              <avue-crud :data="flowList" :option="option" ref="crud">
@@ -75,6 +75,8 @@
export default {
  data() {
    return {
      oid:'',
      templateId:'',
      taskId: '',
      businessId: '',
      processInstanceId: '',
@@ -138,6 +140,8 @@
    async apiGetBtnTask(id) {
      const response = await getBtnTask({ processInstanceId: id })
      const res = response.data
      this.oid=res.data.variables.ids;
      this.templateId=res.data.variables.templateId;
      if (res.success) {
        console.log(res)
        this.btnList = res.data.toTasks