祖安之光
8 天以前 65c426a4930005901aa86a7cb8a60cf27811617c
src/views/build/conpanyFunctionConsult/digitalFileDep/project/projectCaralog/index.vue
@@ -8,9 +8,10 @@
              plain
              icon="Plus"
              @click="openDialog('add','',1)"
              v-hasPermi="['projectCaralog:add']"
          >新增</el-button>
        </el-form-item>
        <el-form-item label="企业名称:" v-if="data.isAdmin" >
        <el-form-item label="单位名称:" v-if="data.isAdmin" >
          <el-select
              v-model="data.queryParams.companyName"
              filterable
@@ -52,11 +53,13 @@
          {{scope.row.number}} {{scope.row.mess}}
        </template>
      </el-table-column>
      <el-table-column label="排序" prop="sort"  >
      </el-table-column>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width" >
        <template #default="scope">
          <el-button link type="primary" @click="openDialog('add',scope.row,2)">新增</el-button>
          <el-button link type="primary" @click="openDialog('edit',scope.row,null)">编辑</el-button>
          <el-button link type="danger" v-if="scope.row.children && scope.row.children.length == 0" @click="handleDelete(scope.row)">删除</el-button>
          <el-button link type="primary" @click="openDialog('add',scope.row,2)" v-hasPermi="['projectCaralog:add']">新增</el-button>
          <el-button link type="primary" @click="openDialog('edit',scope.row,null)" v-hasPermi="['projectCaralog:edit']">编辑</el-button>
          <el-button link type="danger" v-if="scope.row.children && scope.row.children.length == 0" @click="handleDelete(scope.row)" v-hasPermi="['projectCaralog:del']">删除</el-button>
        </template>
      </el-table-column>
    </el-table>