spring
2025-04-01 9d3c76e932ba02327306f7d5050131f0bf2132f1
src/views/business/reliabilityPlan/plan.vue
@@ -3,9 +3,9 @@
    <div class="search">
      <span></span>
      <div class="btn">
        <el-button type="primary" size="small" @click="openAdd" v-if="planState != 1">新增</el-button>
        <el-button type="primary" size="small" @click="isEdit = true" v-if="planState != 1">编辑</el-button>
        <el-button type="primary" size="small" @click="save" :loading="saveLoading" v-if="planState != 1">保存</el-button>
        <el-button type="primary" size="small" @click="openAdd" v-if="planState == 0">新增</el-button>
        <el-button type="primary" size="small" @click="isEdit = true" v-if="planState == 0">编辑</el-button>
        <el-button type="primary" size="small" @click="save" :loading="saveLoading" v-if="planState == 0">保存</el-button>
        <el-button size="small" @click="goback">返回</el-button>
      </div>
    </div>
@@ -38,7 +38,7 @@
          <span v-else>{{ scope.row.address }}</span>
        </template>
      </el-table-column>
      <el-table-column fixed="right" label="操作" width="100" v-if="planState != 1">
      <el-table-column fixed="right" label="操作" width="100" v-if="planState == 0">
        <template slot-scope="scope">
          <el-button type="text" size="small" @click="handleDelete(scope.row)" style="color: red;">删除</el-button>
        </template>