mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-10-27 14:37:35 +08:00
FIx hound [SCI-11754]
This commit is contained in:
parent
063fdad81e
commit
10a94c54ba
3 changed files with 7 additions and 6 deletions
|
|
@ -53,6 +53,7 @@
|
|||
|
||||
<script>
|
||||
|
||||
/* global HelperModule */
|
||||
import axios from '../../../packs/custom_axios.js';
|
||||
import modalMixin from '../../shared/modal_mixin.js';
|
||||
import SelectDropdown from '../../shared/select_dropdown.vue';
|
||||
|
|
@ -102,7 +103,7 @@ export default {
|
|||
this.submitting = true;
|
||||
axios.post(this.protocol.attributes.urls.add_protocol_steps_url, {
|
||||
selected_protocol: this.selectedProtocol,
|
||||
steps: this.selectedSteps,
|
||||
steps: this.selectedSteps
|
||||
}).then((data) => {
|
||||
this.submitting = false;
|
||||
this.$emit('confirm', data.data.data);
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@
|
|||
|
||||
<script>
|
||||
import DeleteStepsModals from './modals/delete_steps';
|
||||
import AddStepsModal from './modals/add_protocol_steps'
|
||||
import AddStepsModal from './modals/add_protocol_steps';
|
||||
|
||||
export default {
|
||||
|
||||
|
|
@ -145,10 +145,10 @@ export default {
|
|||
closeStartStepsDeletingModal() {
|
||||
this.stepsDeleting = false;
|
||||
},
|
||||
openAddStepsModal(){
|
||||
this.stepsAdding = true;
|
||||
openAddStepsModal() {
|
||||
this.stepsAdding = true;
|
||||
},
|
||||
closeAddStepsModal(){
|
||||
closeAddStepsModal() {
|
||||
this.stepsAdding = false;
|
||||
},
|
||||
loadProtocol() {
|
||||
|
|
|
|||
|
|
@ -370,7 +370,7 @@ export default {
|
|||
fetchOptions() {
|
||||
if (this.optionsUrl) {
|
||||
const params = { query: this.query, page: this.nextPage, ...this.urlParams };
|
||||
let config = {
|
||||
const config = {
|
||||
method: this.ajaxMethod,
|
||||
url: this.optionsUrl
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue