唐耀东
2022-05-18 7ca1a8ec18fccca9102cd1179e05fdc877bdc511
src/views/construction/system/index.vue
@@ -1,5 +1,5 @@
<template>
  <div class="app-container">
  <div class="construction-view">
    <el-form :model="queryParams" ref="queryForm" :inline="true" v-show="showSearch" label-width="90px">
      <el-form-item label="软件名称" prop="name">
        <el-input
@@ -33,7 +33,6 @@
            icon="el-icon-plus"
            size="mini"
            @click="handleAdd"
            v-hasPermi="['oa:system:add']"
        >新增
        </el-button>
      </el-col>
@@ -45,7 +44,6 @@
            size="mini"
            :disabled="single"
            @click="handleUpdate"
            v-hasPermi="['oa:system:edit']"
        >修改
        </el-button>
      </el-col>
@@ -57,7 +55,6 @@
            size="mini"
            :disabled="multiple"
            @click="handleDelete"
            v-hasPermi="['oa:system:remove']"
        >删除
        </el-button>
      </el-col>
@@ -71,19 +68,19 @@
        </template>
      </el-table-column>
      <el-table-column label="软件名称" align="center" prop="name"/>
      <el-table-column label="版本" align="center" prop="edition"/>
      <el-table-column label="功能描述" align="center" prop="functionDescription"/>
      <el-table-column label="授权方式" align="center" prop="authorizationMethod_dictText"/>
      <el-table-column label="授权数量" align="center" prop="authorizedQuantity"/>
      <el-table-column label="版本" min-width="180" align="center" prop="edition"/>
      <el-table-column label="功能描述" min-width="180" align="center" prop="functionDescription"/>
      <el-table-column label="授权方式" min-width="180" align="center" prop="authorizationMethod_dictText"/>
      <el-table-column label="授权数量" min-width="180" align="center" prop="authorizedQuantity"/>
      <el-table-column label="载体服务器" align="center" prop="serverId_dictText">
        <template slot-scope="scope">
          <el-link type="primary" @click="serverClick(scope.row)">{{scope.row.serverId_dictText}}</el-link>
        </template>
      </el-table-column>
      <el-table-column label="施工批次" align="center" prop="constructionBatchId_dictText"/>
      <el-table-column label="生产厂商" align="center" prop="manufacturerId_dictText"/>
      <el-table-column label="备注" align="center" prop="remarks"/>
      <el-table-column label="操作" align="center" class-name="small-padding fixed-width">
      <el-table-column label="施工批次" min-width="180" align="center" prop="constructionBatchId_dictText"/>
      <el-table-column label="生产厂商" min-width="220" align="center" prop="manufacturerId_dictText"/>
      <el-table-column label="备注" align="center" min-width="180" prop="remarks"/>
      <el-table-column label="操作" align="center" fixed="right" width="220" class-name="small-padding fixed-width">
        <template slot-scope="scope">
          <el-button
              size="mini"
@@ -97,7 +94,6 @@
              type="text"
              icon="el-icon-edit"
              @click="handleUpdate(scope.row)"
              v-hasPermi="['oa:system:edit']"
          >修改
          </el-button>
          <el-button
@@ -113,7 +109,6 @@
              class="del-btn"
              icon="el-icon-delete"
              @click="handleDelete(scope.row)"
              v-hasPermi="['oa:system:remove']"
          >删除
          </el-button>
        </template>
@@ -144,7 +139,7 @@
          </el-col>
        </el-row>
        <el-form-item label="功能描述" prop="functionDescription">
          <el-input v-model="form.functionDescription" :rows="8" maxlength="64" show-word-limit type="textarea"
          <el-input v-model="form.functionDescription" :rows="8" maxlength="512" show-word-limit type="textarea"
                    placeholder="请输入内容"/>
        </el-form-item>
        <el-row>
@@ -183,7 +178,7 @@
          </el-col>
        </el-row>
        <el-form-item label="备注" prop="remarks">
          <el-input v-model="form.remarks" type="textarea" placeholder="请输入内容"/>
          <el-input v-model="form.remarks" :rows="8" maxlength="512" show-word-limit type="textarea" placeholder="请输入内容"/>
        </el-form-item>
      </el-form>
      <div slot="footer" class="dialog-footer">
@@ -443,7 +438,7 @@
    /** 删除按钮操作 */
    handleDelete(row) {
      const ids = row.id || this.ids;
      this.$modal.confirm('是否确认删除软件系统编号为"' + ids + '"的数据项?').then(() => {
      this.$modal.confirm('是否确认删除?').then(() => {
        this.loading = true;
        return delSystem(ids);
      }).then(() => {