Merge branch 'main' of http://120.76.84.145:10101/gitblit/r/H5/leshan-laboratory
| | |
| | | }, |
| | | methods: { |
| | | openInitData(value) { |
| | | |
| | | console.log(value); |
| | | |
| | | this.dialogTitle = value.title; |
| | | // 获取用户信息 |
| | | const userInfo = JSON.parse(sessionStorage.getItem("userInfo") || "{}"); |
| | |
| | | this.form = { |
| | | ...this.form, |
| | | ...value.form, |
| | | strainCode1: value.strainCode1, |
| | | strainName1: value.strainName1, |
| | | formStatus:value.formStatus, |
| | | thisName: userInfo.nickName || "", |
| | | thisTime: value.form.vaccinateTime |
| | |
| | | @confirm="handleConfirmStorage" /> |
| | | <ConfirmPreserveDialog :visible.sync="showConfirmPreserveDialog" :editData="editPreserveData" |
| | | @confirm="handleConfirmPreserveSubmit" /> |
| | | <div class="end-btn" style="margin-top: 20px;" v-if="[3, 4].includes(roleType)"> |
| | | <div class="end-btn" style="margin-top: 20px;" v-if="!$route.query.isDetail&& [3, 4].includes(roleType)"> |
| | | <el-button type="primary" @click="handleSubmit(1)">提交</el-button> |
| | | <el-button type="primary" @click="handleSubmit(3)">同步给保藏人</el-button> |
| | | <el-button type="default" @click="handleSubmit(2)">存草稿</el-button> |
| | | <el-button type="primary" @click="handleSubmit(2)">同步给保藏人</el-button> |
| | | <el-button type="default" @click="handleSubmit(3)">存草稿</el-button> |
| | | </div> |
| | | </el-form> |
| | | </Card> |