fix
13404089107
2025-06-27 c21471bc194e3361e4eaf36b8bf48d7a2943e252
fix
1个文件已修改
6 ■■■■■ 已修改文件
culture/src/views/strain-library/breeding-record/add.vue 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
culture/src/views/strain-library/breeding-record/add.vue
@@ -266,9 +266,9 @@
        <ConfirmPreserveDialog :visible.sync="showConfirmPreserveDialog" :editData="editPreserveData"
          @confirm="handleConfirmPreserveSubmit" />
        <div class="end-btn" style="margin-top: 20px;"
          v-if="($route.query.isDetail && [1, 3].includes(roleType)) || !$route.query.isDetail && [1, 3, 4].includes(roleType)">
          <el-button type="primary" v-if="[4].includes(roleType)" @click="handleSubmit(1)">提交</el-button>
          <el-button v-if="[4].includes(roleType)" type="primary" @click="handleSubmit(3)">同步给保藏人</el-button>
          v-if="($route.query.isDetail && [4, 3].includes(roleType)) || !$route.query.isDetail && [1, 3, 4].includes(roleType)">
          <el-button type="primary" v-if="[1,4].includes(roleType)" @click="handleSubmit(1)">提交</el-button>
          <el-button v-if="[1,4].includes(roleType)" type="primary" @click="handleSubmit(3)">同步给保藏人</el-button>
          <el-button v-if="!$route.query.isDetail" type="default" @click="handleSubmit(2)">存草稿</el-button>
        </div>
      </el-form>