zouyu
2023-11-10 65cd94b74a6dd5bae9bc2c3a98bc781d97099cb6
src/views/technology/document/index.vue
@@ -11,21 +11,21 @@
        ref="documentTable"
      >
        <template #toolbar>
          <el-button type="primary" :loading="ifsSynsLoading" @click="syncIfs"
          <!-- <el-button type="primary" :loading="ifsSynsLoading" @click="syncIfs"
            >ERP同步</el-button
          >
          > -->
          <el-button
            type="primary"
            @click="deleteBatch"
            v-if="permissions.technology_document_del"
            >批量删除</el-button
          >
          <el-button
          <!-- <el-button
            type="primary"
            @click="bindTestStandard"
            v-if="permissions.technology_document_standard_upload"
            >批量绑定检测标准</el-button
          >
          > -->
        </template>
      </ttable>
      <el-dialog
@@ -141,26 +141,26 @@
            isSearch: true,
            searchInfoType: 'text'
          },
          // 绝缘颜色
          {
            minWidth: '120',
            prop: 'insulationColor',
            label: '绝缘颜色',
            sort: true,
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text'
          },
          // 护套颜色
          {
            minWidth: '120',
            prop: 'sheathColor',
            label: '护套颜色',
            sort: true,
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text'
          },
          // // 绝缘颜色
          // {
          //   minWidth: '120',
          //   prop: 'insulationColor',
          //   label: '绝缘颜色',
          //   sort: true,
          //   isTrue: true,
          //   isSearch: true,
          //   searchInfoType: 'text'
          // },
          // // 护套颜色
          // {
          //   minWidth: '120',
          //   prop: 'sheathColor',
          //   label: '护套颜色',
          //   sort: true,
          //   isTrue: true,
          //   isSearch: true,
          //   searchInfoType: 'text'
          // },
          {
            minWidth: '120',
            prop: 'testStandard',
@@ -230,47 +230,47 @@
            searchInfoType: 'text',
            noShowTip: false
          },
          {
            minWidth: '120',
            prop: 'projectNo',
            label: '项目号',
            sort: true,
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text'
          },
          {
            minWidth: '120',
            prop: 'projectType',
            label: '项目类别',
            sort: true,
            isTrue: true,
            isSearch: true,
            searchInfoType: 'select',
            optList: () => {
              return this.getProjectTypeOptionList()
            },
            formatter: (row, column, cellValue) => {
              var formatVal
              if (cellValue == 0) {
                formatVal = '国内项目'
              } else if (cellValue == 1) {
                formatVal = '特缆研发项目'
              } else {
                formatVal = ''
              }
              return formatVal
            }
          },
          {
            minWidth: '120',
            prop: 'country',
            label: '国家',
            sort: true,
            isTrue: true,
            isSearch: true,
            searchInfoType: 'text'
          },
          // {
          //   minWidth: '120',
          //   prop: 'projectNo',
          //   label: '项目号',
          //   sort: true,
          //   isTrue: true,
          //   isSearch: true,
          //   searchInfoType: 'text'
          // },
          // {
          //   minWidth: '120',
          //   prop: 'projectType',
          //   label: '项目类别',
          //   sort: true,
          //   isTrue: true,
          //   isSearch: true,
          //   searchInfoType: 'select',
          //   optList: () => {
          //     return this.getProjectTypeOptionList()
          //   },
          //   formatter: (row, column, cellValue) => {
          //     var formatVal
          //     if (cellValue == 0) {
          //       formatVal = '国内项目'
          //     } else if (cellValue == 1) {
          //       formatVal = '特缆研发项目'
          //     } else {
          //       formatVal = ''
          //     }
          //     return formatVal
          //   }
          // },
          // {
          //   minWidth: '120',
          //   prop: 'country',
          //   label: '国家',
          //   sort: true,
          //   isTrue: true,
          //   isSearch: true,
          //   searchInfoType: 'text'
          // },
          // 描述
          {