Your Name
2022-08-11 988558aaa309068fd393cc654be537434b0a15ea
src/views/contingencyManagement/panManagement/component/approvalProcess.vue
@@ -15,11 +15,6 @@
            <el-table-column prop="title" label="审批标题" show-overflow-tooltip sortable></el-table-column>
            <el-table-column prop="approvePersonName" label="编写人" show-overflow-tooltip sortable></el-table-column>
            <el-table-column prop="approveMemo" label="审批意见" show-overflow-tooltip sortable></el-table-column>
            <el-table-column label="操作" width="200" align="center">
              <template #default="scope">
                <el-button size="small" text type="primary" @click="onReduction(scope.row.id)">还原</el-button>
              </template>
            </el-table-column>
          </el-table>
        </el-col>
      </el-row>
@@ -76,8 +71,11 @@
    const tableData = ref([]);
    // 列表数据请求
    const openDialog = async () => {
      const uid = ref();
      const openDialog = async (id: number) => {
      isShowDialog.value = true;
      listQuery.searchParams.relateId=id
         uid.value = id;
      let res = await emergencyPlanApi().processEmergencyPlan(listQuery);
      if (res.data.code === '200') {
        tableData.value = res.data.data;
@@ -107,9 +105,6 @@
    // 取消
    const onCancel = () => {
      closeDialog();
    };
    const onReduction = async () => {
      isShowDialog.value = false;
    };
    // 分页
    const pageIndex = ref();
@@ -148,10 +143,9 @@
      FullScreen,
      full,
      listQuery,
      // onSubmit,
      total,
      emit,
      onReduction,
         uid,
    };
  },
});