| | |
| | | <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> |