gaoluyang
2025-02-17 7e57d62990c643edafaea0e4887f37cf15fbe5e6
1.场所或设施联调
已修改1个文件
53 ■■■■■ 文件已修改
src/views/structural/premises/index.vue 53 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/structural/premises/index.vue
@@ -22,9 +22,6 @@
      </div>
    </div>
    <div class="table">
<!--      <ValueTable ref="ValueTable" :url="$api.laboratoryScope.selectItemParameter"-->
<!--                  :upUrl="$api.laboratoryScope.upParameter" :delUrl="$api.laboratoryScope.delParameter"-->
<!--                  :componentData="componentData" :key="upIndex" />-->
      <lims-table :tableData="tableData" :column="column"
                  @pagination="pagination"
                  :page="page" :tableLoading="tableLoading"></lims-table>
@@ -117,7 +114,7 @@
          dataType: 'action',
          fixed: 'right',
          label: '操作',
          width: '140px',
          width: '180px',
          operation: [
            {
              name: '编辑',
@@ -148,46 +145,6 @@
        size:10,
        current:1
      },
      componentData: {
        entity: {
          laboratoryName: null,
          laboratoryNumber: null,
          head: null,
          orderBy: {
            field: 'id',
            order: 'asc'
          }
        },
        isIndex: true,
        showSelect: false,
        select: false,
        do: [{
          id: 'update',
          font: '编辑',
          type: 'text',
          method: 'doDiy',
          field: ['createUserName']
        }, {
          id: 'delete',
          font: '删除',
          type: 'text',
          method: 'doDiy'
        }, {
          id: '',
          font: '印章管理',
          type: 'text',
          method: 'fileManagement'
        }],
        tagField: {
          type:{
            select:[]
          }
        },
        selectField: {},
        requiredAdd: ['laboratoryName', 'laboratoryNumber', 'head', 'phoneNumber'],
        requiredUp: ['laboratoryName', 'laboratoryNumber', 'head', 'phoneNumber'],
        needSort: ['laboratoryName', 'createTime'],
      },
      fileComponentData: {
        entity: {
          labId:null,
@@ -212,7 +169,6 @@
        requiredUp: [],
        addUpload:['address'],
      },
      entityCopy: {},
      fileVisible:false,
      upFileVisible:false,
      loading:false,
@@ -241,13 +197,12 @@
    }
  },
  mounted() {
    this.entityCopy = this.HaveJson(this.componentData.entity)
    this.getCertificationDetail()
    this.refreshTable()
  },
  methods: {
    refreshTable() {
      this.tableLoading = true
      selectItemParameter({...this.page, ...this.itemParameterForm}).then(res => {
      selectItemParameter({...this.page, ...this.queryParams}).then(res => {
        this.tableLoading = false
        if (res.code === 200) {
          this.tableData = res.data.records
@@ -284,7 +239,7 @@
      })
    },
    refresh() {
      this.componentData.entity = this.HaveJson(this.entityCopy)
      this.resetForm('queryForm')
      this.refreshTable()
    },
    pagination (page) {