Newer
Older
xc-business-system / src / views / quality / internal / internalPlan / components / detail.vue
liyaguang on 17 Nov 2023 1 KB feat(*): 内部审核计划调试
<script name="QualityInternalWorkDetail" lang="ts" setup>
import edit from './edit.vue'
const $router = useRouter()
const $route = useRoute()
// 编辑
const updateRow = () => {
  $router.push({
    path: '/internalplan/update',
    query: {
      id: $route.query.id as string,
    },
  })
}
</script>

<template>
  <app-container style="overflow: hidden;">
    <detail-page title="内部审核计划">
      <template #btns>
        <el-button type="primary">
          通知内审组成员
        </el-button>
        <el-button type="primary">
          下载
        </el-button>
        <el-button type="primary">
          打印
        </el-button>
        <el-button type="primary" @click="updateRow">
          编辑
        </el-button>
        <el-button type="info" @click="() => $router.go(-1)">
          关闭
        </el-button>
      </template>
    </detail-page>
    <div class="base-info-report">
      <edit :show-base="false" />
    </div>
  </app-container>
</template>

<style lang="scss" scoped>
.base-info-report {
  ::v-deep(.app-container) {
    padding: 0 !important;

    .info-header {
      display: none;
    }

    .info-body {
      display: none;
    }

    .base-info {
      display: none;
    }
  }
}
</style>