祖安之光
2025-11-18 16dc051dbc87174656d29d44fb454ba03195996d
src/views/build/conpanyFunctionConsult/standardSysTemp/sysStandardModule/index.vue
@@ -29,15 +29,15 @@
    <!-- 表格数据 -->
    <el-table v-loading="loading" :data="dataList" :border="true">
      <el-table-column label="序号" type="index" align="center" width="80"/>
      <el-table-column label="模板名称" prop="templateName" align="center"/>
      <el-table-column label="分类" prop="classify" align="center">
      <el-table-column label="模板名称" prop="templateName" header-align="center" align="left"/>
<!--      <el-table-column label="分类" prop="classify" align="center">-->
<!--        <template #default="scope">-->
<!--          <span>{{scope.row.classify == 1 ? '体系标准' :scope.row.classify == 2 ?'安全标准': scope.row.classify == 3 ? '其他' : ''}}</span>-->
<!--        </template>-->
<!--      </el-table-column>-->
      <el-table-column label="模板文件" header-align="center" align="left">
        <template #default="scope">
          <span>{{scope.row.classify == 1 ? '体系标准' :scope.row.classify == 2 ?'安全标准': scope.row.classify == 3 ? '其他' : ''}}</span>
        </template>
      </el-table-column>
      <el-table-column label="模板文件" align="center">
        <template #default="scope">
          <el-link type="primary" @click="openFile(scope.row.filePath)">{{scope.row.templateName + '模板' + scope.row.format}}</el-link>
          <el-link type="primary" @click="openFile(scope.row.filePath)">{{scope.row.templateName + scope.row.format}}</el-link>
        </template>
      </el-table-column>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" >