Commit d45904ab authored by Reza Sahebgharan's avatar Reza Sahebgharan

Edit Worklist WAD-6768

parent 8ffe8c66
...@@ -28,6 +28,9 @@ ...@@ -28,6 +28,9 @@
{ {
"regenerator": true "regenerator": true
} }
],
[
"transform-remove-console"
] ]
] ]
} }
\ No newline at end of file
...@@ -79,10 +79,296 @@ ...@@ -79,10 +79,296 @@
<v-toolbar-title>{{devicemap==""?$t("WorkList.noDevicemap"):devicemap}}</v-toolbar-title> <v-toolbar-title>{{devicemap==""?$t("WorkList.noDevicemap"):devicemap}}</v-toolbar-title>
<v-divider class="mx-4" inset vertical></v-divider> <v-divider class="mx-4" inset vertical></v-divider>
<v-dialog v-model="editDialog" max-width="900px">
<v-card class="grey lighten-4">
<v-card-title>
<v-icon @click="close" class="mr-1">close</v-icon>
<span class="headline">Edit Patient Information</span>
</v-card-title>
<v-card-text class="ma-0 pa-0" v-if="$vuetify.breakpoint.mdAndUp">
<v-container class="cyan lighten-2" style="border-radius: 5px;">
<v-card class="pa-3 pr-6 ma-4">
<v-row dense>
<v-col md="3" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>Farsi First Name:</v-card-text>
</v-col>
<v-col md="3">
<v-text-field
:color="editedItemParts.FarsiFirstNameParts0.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.FarsiFirstNameParts0.includes('?') }"
v-model="editedItemParts.FarsiFirstNameParts0"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.FarsiFirstNameParts1.includes('?') }"
:color="editedItemParts.FarsiFirstNameParts1.includes('?')==true?'red':''"
v-model="editedItemParts.FarsiFirstNameParts1"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.FarsiFirstNameParts2.includes('?') }"
:color="editedItemParts.FarsiFirstNameParts2.includes('?')==true?'red':''"
v-model="editedItemParts.FarsiFirstNameParts2"
></v-text-field>
</v-col>
</v-row>
<v-row dense>
<v-col md="3" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>English First Name:</v-card-text>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.EnglishFirstNameParts0.includes('?') }"
:color="editedItemParts.EnglishFirstNameParts0.includes('?')?'red':''"
v-model="editedItemParts.EnglishFirstNameParts0"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.EnglishFirstNameParts1.includes('?') }"
:color="editedItemParts.EnglishFirstNameParts1.includes('?')?'red':''"
v-model="editedItemParts.EnglishFirstNameParts1"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.EnglishFirstNameParts2.includes('?') }"
:color="editedItemParts.EnglishFirstNameParts2.includes('?')?'red':''"
v-model="editedItemParts.EnglishFirstNameParts2"
></v-text-field>
</v-col>
</v-row>
</v-card>
<v-card class="pa-3 pr-6 ma-4">
<v-row dense>
<v-col md="3" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>Farsi Last Name:</v-card-text>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.FarsiLastNameParts0.includes('?') }"
:color="editedItemParts.FarsiLastNameParts0.includes('?')?'red':''"
v-model="editedItemParts.FarsiLastNameParts0"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.FarsiLastNameParts1.includes('?') }"
:color="editedItemParts.FarsiLastNameParts1.includes('?')?'red':''"
v-model="editedItemParts.FarsiLastNameParts1"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.FarsiLastNameParts2.includes('?') }"
:color="editedItemParts.FarsiLastNameParts2.includes('?')?'red':''"
v-model="editedItemParts.FarsiLastNameParts2"
></v-text-field>
</v-col>
</v-row>
<v-row dense>
<v-col md="3" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>English Last Name:</v-card-text>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.EnglishLastNameParts0.includes('?') }"
:color="editedItemParts.EnglishLastNameParts0.includes('?')?'red':''"
v-model="editedItemParts.EnglishLastNameParts0"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.EnglishLastNameParts1.includes('?') }"
:color="editedItemParts.EnglishLastNameParts1.includes('?')?'red':''"
v-model="editedItemParts.EnglishLastNameParts1"
></v-text-field>
</v-col>
<v-col md="3">
<v-text-field
:class="{ 'unknownInput': editedItemParts.EnglishLastNameParts2.includes('?') }"
:color="editedItemParts.EnglishLastNameParts2.includes('?')?'red':''"
v-model="editedItemParts.EnglishLastNameParts2"
></v-text-field>
</v-col>
</v-row>
</v-card>
</v-container>
</v-card-text>
<v-card-text class="ma-0 pa-0" v-else>
<v-container class="cyan lighten-2" style="border-radius: 5px;">
<v-card class="pa-3">
<v-row dense>
<v-col sm="6" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>Farsi First Name:</v-card-text>
</v-col>
<v-col sm="6" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>English First Name:</v-card-text>
</v-col>
</v-row>
<v-row>
<v-col sm="6">
<v-text-field
:color="editedItemParts.FarsiFirstNameParts0.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.FarsiFirstNameParts0.includes('?') }"
v-model="editedItemParts.FarsiFirstNameParts0"
></v-text-field>
</v-col>
<v-col sm="6">
<v-text-field
:color="editedItemParts.EnglishFirstNameParts0.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.EnglishFirstNameParts0.includes('?') }"
v-model="editedItemParts.EnglishFirstNameParts0"
></v-text-field>
</v-col>
</v-row>
<v-row>
<v-col sm="6">
<v-text-field
:color="editedItemParts.FarsiFirstNameParts1.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.FarsiFirstNameParts1.includes('?') }"
v-model="editedItemParts.FarsiFirstNameParts1"
></v-text-field>
</v-col>
<v-col sm="6">
<v-text-field
:color="editedItemParts.EnglishFirstNameParts1.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.EnglishFirstNameParts1.includes('?') }"
v-model="editedItemParts.EnglishFirstNameParts1"
></v-text-field>
</v-col>
</v-row>
<v-row>
<v-col sm="6">
<v-text-field
:color="editedItemParts.FarsiFirstNameParts2.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.FarsiFirstNameParts2.includes('?') }"
v-model="editedItemParts.FarsiFirstNameParts2"
></v-text-field>
</v-col>
<v-col sm="6">
<v-text-field
:color="editedItemParts.EnglishFirstNameParts2.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.EnglishFirstNameParts2.includes('?') }"
v-model="editedItemParts.EnglishFirstNameParts2"
></v-text-field>
</v-col>
</v-row>
</v-card>
<v-card class="pa-3 mt-4">
<v-row dense>
<v-col sm="6" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>Farsi Last Name:</v-card-text>
</v-col>
<v-col sm="6" class="justify-center align-center align-self-end">
<v-card-text
class="subtitle-1 font-weight-bold black--text"
style="text-align:center"
>English Last Name:</v-card-text>
</v-col>
</v-row>
<v-row>
<v-col sm="6">
<v-text-field
:color="editedItemParts.FarsiLastNameParts0.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.FarsiLastNameParts0.includes('?') }"
v-model="editedItemParts.FarsiLastNameParts0"
></v-text-field>
</v-col>
<v-col sm="6">
<v-text-field
:color="editedItemParts.EnglishLastNameParts0.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.EnglishLastNameParts0.includes('?') }"
v-model="editedItemParts.EnglishLastNameParts0"
></v-text-field>
</v-col>
</v-row>
<v-row>
<v-col sm="6">
<v-text-field
:color="editedItemParts.FarsiLastNameParts1.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.FarsiLastNameParts1.includes('?') }"
v-model="editedItemParts.FarsiLastNameParts1"
></v-text-field>
</v-col>
<v-col sm="6">
<v-text-field
:color="editedItemParts.EnglishLastNameParts1.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.EnglishLastNameParts1.includes('?') }"
v-model="editedItemParts.EnglishLastNameParts1"
></v-text-field>
</v-col>
</v-row>
<v-row>
<v-col sm="6">
<v-text-field
:color="editedItemParts.FarsiLastNameParts2.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.FarsiLastNameParts2.includes('?') }"
v-model="editedItemParts.FarsiLastNameParts2"
></v-text-field>
</v-col>
<v-col sm="6">
<v-text-field
:color="editedItemParts.EnglishLastNameParts2.includes('?')==true?'red':''"
:class="{ 'unknownInput': editedItemParts.EnglishLastNameParts2.includes('?') }"
v-model="editedItemParts.EnglishLastNameParts2"
></v-text-field>
</v-col>
</v-row>
</v-card>
</v-container>
</v-card-text>
<v-card-actions class="justify-center align-center">
<v-btn depressed color="blue darken-1" text>
<v-icon color="blue darken-1">keyboard_arrow_left</v-icon>
</v-btn>
<v-btn color="blue darken-1" text @click="savePatient">
<v-icon>save</v-icon>
</v-btn>
<v-btn depressed color="blue darken-1" text>
<v-icon color="blue darken-1">keyboard_arrow_right</v-icon>
</v-btn>
</v-card-actions>
</v-card>
</v-dialog>
</v-toolbar> </v-toolbar>
</template> </template>
<template v-slot:item.Action="{ item }"> <template v-slot:item.Action="{ item }">
<v-icon small>edit</v-icon> <v-icon small @click="editPatients(item)">edit</v-icon>
</template> </template>
</v-data-table> </v-data-table>
</v-col> </v-col>
...@@ -109,6 +395,84 @@ export default { ...@@ -109,6 +395,84 @@ export default {
if (this.selectedDevice == undefined || this.selectedDevice == null) { if (this.selectedDevice == undefined || this.selectedDevice == null) {
alert("لطفا یک مقدار را انتخاب نمایید"); alert("لطفا یک مقدار را انتخاب نمایید");
} }
},
editPatients(item) {
this.editedItemParts = {
EnglishFirstNameParts0: "",
EnglishFirstNameParts1: "",
EnglishFirstNameParts2: "",
FarsiFirstNameParts0: "",
FarsiFirstNameParts1: "",
FarsiFirstNameParts2: "",
EnglishLastNameParts0: "",
EnglishLastNameParts1: "",
EnglishLastNameParts2: "",
FarsiLastNameParts0: "",
FarsiLastNameParts1: "",
FarsiLastNameParts2: ""
};
for (let element in item.FarsiFirstNameParts)
this.editedItemParts["FarsiFirstNameParts" + Number(element)] =
item.FarsiFirstNameParts[element];
for (let element in item.EnglishFirstNameParts)
this.editedItemParts["EnglishFirstNameParts" + Number(element)] =
item.EnglishFirstNameParts[element];
for (let element in item.EnglishLastNameParts)
this.editedItemParts["EnglishLastNameParts" + Number(element)] =
item.EnglishLastNameParts[element];
for (let element in item.FarsiLastNameParts)
this.editedItemParts["FarsiLastNameParts" + Number(element)] =
item.FarsiLastNameParts[element];
this.editDialog = true;
this.selectedItem = item;
this.selectedPatientInTable = [item];
},
close() {
this.editDialog = false;
},
savePatient() {
debugger;
this.selectedItem.EnglishFirstNameParts = [
this.editedItemParts.EnglishFirstNameParts0,
this.editedItemParts.EnglishFirstNameParts1,
this.editedItemParts.EnglishFirstNameParts2
].filter(elm => {
return elm && elm.length > 0;
});
this.selectedItem.FarsiFirstNameParts = [
this.editedItemParts.FarsiFirstNameParts0,
this.editedItemParts.FarsiFirstNameParts1,
this.editedItemParts.FarsiFirstNameParts2
].filter(elm => {
return elm && elm.length > 0;
});
this.selectedItem.EnglishLastNameParts = [
this.editedItemParts.EnglishLastNameParts0,
this.editedItemParts.EnglishLastNameParts1,
this.editedItemParts.EnglishLastNameParts2
].filter(elm => {
return elm && elm.length > 0;
});
this.selectedItem.FarsiLastNameParts = [
this.editedItemParts.FarsiLastNameParts0,
this.editedItemParts.FarsiLastNameParts1,
this.editedItemParts.FarsiLastNameParts2
].filter(elm => {
return elm && elm.length > 0;
});
Meteor.call("EditworklistItem", this.selectedItem, function(error) {
//alert(error);
});
} }
}, },
data: () => ({ data: () => ({
...@@ -120,7 +484,24 @@ export default { ...@@ -120,7 +484,24 @@ export default {
toggleAllOrUnknown: 0, toggleAllOrUnknown: 0,
selectedPatientInTable: undefined, selectedPatientInTable: undefined,
sortByTable: undefined, sortByTable: undefined,
sortDescTable: undefined sortDescTable: undefined,
editDialog: false,
editedItemParts: {
EnglishFirstNameParts0: "EnglishFirstNameParts0",
EnglishFirstNameParts1: "EnglishFirstNameParts1",
EnglishFirstNameParts2: "EnglishFirstNameParts2",
FarsiFirstNameParts0: "FarsiFirstNameParts0",
FarsiFirstNameParts1: "FarsiFirstNameParts1",
FarsiFirstNameParts2: "FarsiFirstNameParts2",
EnglishLastNameParts0: "EnglishLastNameParts0",
EnglishLastNameParts1: "EnglishLastNameParts1",
EnglishLastNameParts2: "EnglishLastNameParts2",
FarsiLastNameParts0: "FarsiLastNameParts0",
FarsiLastNameParts1: "FarsiLastNameParts1",
FarsiLastNameParts2: "FarsiLastNameParts2"
},
selectedItem: undefined,
sortedItems: undefined
}), }),
mounted() { mounted() {
Meteor.call("getDeviceCodes"); Meteor.call("getDeviceCodes");
...@@ -203,13 +584,8 @@ export default { ...@@ -203,13 +584,8 @@ export default {
this.btnDisabled = !ready; this.btnDisabled = !ready;
}, },
selectedPatientInTable(newSelected, oldSelected) { selectedPatientInTable(newSelected, oldSelected) {
// console.log(this.desserts);
// console.log(this.sortByTable);
// console.log(this.sortDescTable);
// console.log(newSelected);
if (this.sortByTable && this.sortByTable.length > 0) { if (this.sortByTable && this.sortByTable.length > 0) {
const items = this.desserts.sort((a, b) => { const items = this.patientsOfTable.sort((a, b) => {
const sortA = a[this.sortByTable[0]]; const sortA = a[this.sortByTable[0]];
const sortB = b[this.sortByTable[0]]; const sortB = b[this.sortByTable[0]];
...@@ -224,6 +600,9 @@ export default { ...@@ -224,6 +600,9 @@ export default {
} }
}); });
console.log(items); console.log(items);
this.sortedItems = items;
} else {
this.sortedItems = this.patientsOfTable;
} }
} }
} }
...@@ -239,4 +618,10 @@ td, ...@@ -239,4 +618,10 @@ td,
th { th {
width: 50px !important; width: 50px !important;
} }
</style>
<style scoped>
.unknownInput >>> .v-text-field__slot input {
color: red;
}
</style> </style>
\ No newline at end of file
<head> <head>
<meta charset="utf-8"> <link rel="shortcut icon" type="image/png" href="/img/logo.png" />
<meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>کارنامه</title> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
<title>کارنامه</title>
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
</body> </body>
\ No newline at end of file
html { html {
overflow-y: hidden !important; overflow-y: auto !important;
} }
body { body {
......
import SimpleSchema from 'simpl-schema';
const workListItemSchema = new SimpleSchema({
"Accession": String,
"AdmissionID": String,
"EnglishFirstName": String,
"EnglishFirstNameParts": [String],
"EnglishLastName": String,
"EnglishLastNameParts": [String],
"FarsiFirstName": String,
"FarsiFirstNameParts": [String],
"FarsiLastName": String,
"FarsiLastNameParts": [String],
"FarsiName": String,
"HISID": SimpleSchema.oneOf(String, Number),
"InstitutionAddress": String,
"InstitutionName": String,
"Modality": SimpleSchema.oneOf(String, Number),
"PPSStatus": Number,
"PatientAge": SimpleSchema.oneOf(String, Number),
"PatientBirthDate": String,
"PatientID": SimpleSchema.oneOf(String, Number),
"PatientWeight": SimpleSchema.oneOf(String, Number),
"PatinetSex": SimpleSchema.oneOf(String, Number),
"PatinetSize": SimpleSchema.oneOf(String, Number),
"PregnancyStatus": SimpleSchema.oneOf(String, Number),
"ProcedureID": SimpleSchema.oneOf(String, Number),
"ProcedureSteps": [String],
"ReferringPhysicianName": SimpleSchema.oneOf(String, Number),
"RequestedProcedureID": SimpleSchema.oneOf(String, Number),
"ScheduledStartDate": SimpleSchema.oneOf(String, Number),
"Smoking": Number,
"StudyInstanceUID": String
}, { requiredByDefault: false });
export default workListItemSchema;
\ No newline at end of file
...@@ -9,6 +9,9 @@ import { Accounts } from 'meteor/accounts-base'; ...@@ -9,6 +9,9 @@ import { Accounts } from 'meteor/accounts-base';
import Worklist from '../collections/worklist.js'; import Worklist from '../collections/worklist.js';
import workListItemSchema from '../collections/worklistItemSchema.js';
Meteor.methods({ Meteor.methods({
'Fetchworklist' (devicemap) { 'Fetchworklist' (devicemap) {
...@@ -23,13 +26,6 @@ Meteor.methods({ ...@@ -23,13 +26,6 @@ Meteor.methods({
Worklist.remove({ _userid: this.userId, _devicemap: devicemap }); Worklist.remove({ _userid: this.userId, _devicemap: devicemap });
// worklist.forEach((patient) => {
// Worklist.insert({ PatientID: worklist.PatientID, _userid: worklist._userid, _devicemap: devicemap }, {
// $set: {
// ...patient
// }
// });
// })
worklistHttp.WorkListItems.forEach((patient) => { worklistHttp.WorkListItems.forEach((patient) => {
...@@ -40,15 +36,82 @@ Meteor.methods({ ...@@ -40,15 +36,82 @@ Meteor.methods({
}); });
}) })
// worklist._userid = this.userId;
// worklist._devicemap = devicemap;
// Worklist.upsert({ _userid: worklist._userid, _devicemap: devicemap }, { $set: worklist });
return true return true
} catch (e) { } catch (e) {
// Got a network error, timeout, or HTTP error in the 400 or 500 range. // Got a network error, timeout, or HTTP error in the 400 or 500 range.
return false; return false;
} }
} }
},
"EditworklistItem" (item) {
// debugger;
// const item = {
// "Accession": "",
// "AdmissionID": "1501",
// "EnglishFirstName": "SHOOSHAN",
// "EnglishFirstNameParts": [
// "SHOOSHAN"
// ],
// "EnglishLastName": "????? KHAZER ABADI",
// "EnglishLastNameParts": [
// "KHASHILO",
// "KHAZER",
// "ABADI"
// ],
// "FarsiFirstName": "شوشان",
// "FarsiFirstNameParts": [
// "شوشان"
// ],
// "FarsiLastName": "خشيلو خزر ابادي",
// "FarsiLastNameParts": [
// "خشيلو",
// "خزر",
// "ابادي"
// ],
// "FarsiName": "شوشان^خشيلو خزر ابادي",
// "HISID": null,
// "InstitutionAddress": null,
// "InstitutionName": null,
// "Modality": "",
// "PPSStatus": 0,
// "PatientAge": "67",
// "PatientBirthDate": "1990/01/01",
// "PatientID": "132748",
// "PatientWeight": 0,
// "PatinetSex": "0",
// "PatinetSize": 0,
// "PregnancyStatus": 4,
// "ProcedureID": null,
// "ProcedureSteps": [],
// "ReferringPhysicianName": null,
// "RequestedProcedureID": "1501",
// "ScheduledStartDate": null,
// "Smoking": 2,
// "StudyInstanceUID": "1.3.12.2.1107.5.2.30.26719.6.8122118808"
// }
// try {
debugger;
delete item._id;
workListItemSchema.validate(item);
var options = {
data: item,
headers: {
'content-type': 'application/json',
'Accept': 'application/json'
}
}
const result = HTTP.call('POST', `http://192.168.0.156/Broker/HISIntegration.svc/rest/EditworklistItem`, options);
// console.log(result);
let update = Worklist.update({ AdmissionID: item.AdmissionID }, { $set: JSON.parse(result.content) });
console.log(update);
return true;
// }
// catch (e) {
// }
} }
}); });
\ No newline at end of file
...@@ -1344,6 +1344,12 @@ ...@@ -1344,6 +1344,12 @@
"object.assign": "^4.1.0" "object.assign": "^4.1.0"
} }
}, },
"babel-plugin-transform-remove-console": {
"version": "6.9.4",
"resolved": "https://registry.npmjs.org/babel-plugin-transform-remove-console/-/babel-plugin-transform-remove-console-6.9.4.tgz",
"integrity": "sha1-uYA2DAZzhOJLNXpYjYB9PINSd4A=",
"dev": true
},
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz", "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",
...@@ -1802,8 +1808,7 @@ ...@@ -1802,8 +1808,7 @@
"clone": { "clone": {
"version": "2.1.2", "version": "2.1.2",
"resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz", "resolved": "https://registry.npmjs.org/clone/-/clone-2.1.2.tgz",
"integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18=", "integrity": "sha1-G39Ln1kfHo+DZwQBYANFoCiHQ18="
"dev": true
}, },
"clone-deep": { "clone-deep": {
"version": "4.0.1", "version": "4.0.1",
...@@ -2576,9 +2581,7 @@ ...@@ -2576,9 +2581,7 @@
"extend": { "extend": {
"version": "3.0.2", "version": "3.0.2",
"resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz", "resolved": "https://registry.npmjs.org/extend/-/extend-3.0.2.tgz",
"integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g==", "integrity": "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="
"dev": true,
"optional": true
}, },
"extend-shallow": { "extend-shallow": {
"version": "3.0.2", "version": "3.0.2",
...@@ -3734,11 +3737,184 @@ ...@@ -3734,11 +3737,184 @@
"resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz", "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.15.tgz",
"integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==" "integrity": "sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A=="
}, },
"lodash._basecallback": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/lodash._basecallback/-/lodash._basecallback-3.3.1.tgz",
"integrity": "sha1-t7K7Q9whYEJKIczybFfkQ3cqjic=",
"requires": {
"lodash._baseisequal": "^3.0.0",
"lodash._bindcallback": "^3.0.0",
"lodash.isarray": "^3.0.0",
"lodash.pairs": "^3.0.0"
}
},
"lodash._baseeach": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/lodash._baseeach/-/lodash._baseeach-3.0.4.tgz",
"integrity": "sha1-z4cGVyyhROjZ11InyZDamC+TKvM=",
"requires": {
"lodash.keys": "^3.0.0"
}
},
"lodash._basefind": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/lodash._basefind/-/lodash._basefind-3.0.0.tgz",
"integrity": "sha1-srugXMZF+XLeLPkl+iv2Og9gyK4="
},
"lodash._basefindindex": {
"version": "3.6.0",
"resolved": "https://registry.npmjs.org/lodash._basefindindex/-/lodash._basefindindex-3.6.0.tgz",
"integrity": "sha1-8IM2ChsCJBjtgbyJm+sxLiHnSk8="
},
"lodash._baseisequal": {
"version": "3.0.7",
"resolved": "https://registry.npmjs.org/lodash._baseisequal/-/lodash._baseisequal-3.0.7.tgz",
"integrity": "sha1-2AJfdjOdKTQnZ9zIh85cuVpbUfE=",
"requires": {
"lodash.isarray": "^3.0.0",
"lodash.istypedarray": "^3.0.0",
"lodash.keys": "^3.0.0"
}
},
"lodash._baseismatch": {
"version": "3.1.3",
"resolved": "https://registry.npmjs.org/lodash._baseismatch/-/lodash._baseismatch-3.1.3.tgz",
"integrity": "sha1-Byj8SO+hFpnT1fLXMEnyqxPED9U=",
"requires": {
"lodash._baseisequal": "^3.0.0"
}
},
"lodash._basematches": {
"version": "3.2.0",
"resolved": "https://registry.npmjs.org/lodash._basematches/-/lodash._basematches-3.2.0.tgz",
"integrity": "sha1-9H4D8H7CB4SrCWjQy2y1l+IQEVg=",
"requires": {
"lodash._baseismatch": "^3.0.0",
"lodash.pairs": "^3.0.0"
}
},
"lodash._bindcallback": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz",
"integrity": "sha1-5THCdkTPi1epnhftlbNcdIeJOS4="
},
"lodash._getnative": {
"version": "3.9.1",
"resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz",
"integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U="
},
"lodash.every": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.every/-/lodash.every-4.6.0.tgz",
"integrity": "sha1-64mYS+vENkJ5uzrvu9HKGb+mxqc="
},
"lodash.find": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.find/-/lodash.find-4.6.0.tgz",
"integrity": "sha1-ywcE1Hq3F4n/oN6Ll92Sb7iLE7E="
},
"lodash.findwhere": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/lodash.findwhere/-/lodash.findwhere-3.1.0.tgz",
"integrity": "sha1-eTfTTz6sgY3sf6lOjKXib9uhz8E=",
"requires": {
"lodash._basematches": "^3.0.0",
"lodash.find": "^3.0.0"
},
"dependencies": {
"lodash.find": {
"version": "3.2.1",
"resolved": "https://registry.npmjs.org/lodash.find/-/lodash.find-3.2.1.tgz",
"integrity": "sha1-BG4xnzrOkSrGySRsf2g8XsB7Nq0=",
"requires": {
"lodash._basecallback": "^3.0.0",
"lodash._baseeach": "^3.0.0",
"lodash._basefind": "^3.0.0",
"lodash._basefindindex": "^3.0.0",
"lodash.isarray": "^3.0.0",
"lodash.keys": "^3.0.0"
}
}
}
},
"lodash.foreach": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.foreach/-/lodash.foreach-4.5.0.tgz",
"integrity": "sha1-Gmo16s5AEoDH8G3d7DUWWrJ+PlM="
},
"lodash.includes": {
"version": "4.3.0",
"resolved": "https://registry.npmjs.org/lodash.includes/-/lodash.includes-4.3.0.tgz",
"integrity": "sha1-YLuYqHy5I8aMoeUTJUgzFISfVT8="
},
"lodash.isarguments": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
"integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo="
},
"lodash.isarray": {
"version": "3.0.4",
"resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz",
"integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U="
},
"lodash.isempty": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.isempty/-/lodash.isempty-4.4.0.tgz",
"integrity": "sha1-b4bL7di+TsmHvpqvM8loTbGzHn4="
},
"lodash.isobject": {
"version": "3.0.2",
"resolved": "https://registry.npmjs.org/lodash.isobject/-/lodash.isobject-3.0.2.tgz",
"integrity": "sha1-PI+41bW/S/kK4G4U8qUwpO2TXh0="
},
"lodash.istypedarray": {
"version": "3.0.6",
"resolved": "https://registry.npmjs.org/lodash.istypedarray/-/lodash.istypedarray-3.0.6.tgz",
"integrity": "sha1-yaR3SYYHUB2OhJTSg7h8OSgc72I="
},
"lodash.keys": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz",
"integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=",
"requires": {
"lodash._getnative": "^3.0.0",
"lodash.isarguments": "^3.0.0",
"lodash.isarray": "^3.0.0"
}
},
"lodash.omit": { "lodash.omit": {
"version": "4.5.0", "version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz", "resolved": "https://registry.npmjs.org/lodash.omit/-/lodash.omit-4.5.0.tgz",
"integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA=" "integrity": "sha1-brGa5aHuHdnfC5aeZs4Lf6MLXmA="
}, },
"lodash.pairs": {
"version": "3.0.1",
"resolved": "https://registry.npmjs.org/lodash.pairs/-/lodash.pairs-3.0.1.tgz",
"integrity": "sha1-u+CNV4bu6qCaFckevw3LfSvjJqk=",
"requires": {
"lodash.keys": "^3.0.0"
}
},
"lodash.pick": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.pick/-/lodash.pick-4.4.0.tgz",
"integrity": "sha1-UvBWEP/53tQiYRRB7R/BI6AwAbM="
},
"lodash.union": {
"version": "4.6.0",
"resolved": "https://registry.npmjs.org/lodash.union/-/lodash.union-4.6.0.tgz",
"integrity": "sha1-SLtQiECfFvGCFmZkHETdGqrjzYg="
},
"lodash.uniq": {
"version": "4.5.0",
"resolved": "https://registry.npmjs.org/lodash.uniq/-/lodash.uniq-4.5.0.tgz",
"integrity": "sha1-0CJTc662Uq3BvILklFM5qEJ1R3M="
},
"lodash.without": {
"version": "4.4.0",
"resolved": "https://registry.npmjs.org/lodash.without/-/lodash.without-4.4.0.tgz",
"integrity": "sha1-PNRXSgC2e643OpS3SHcmQFB7eqw="
},
"loose-envify": { "loose-envify": {
"version": "1.4.0", "version": "1.4.0",
"resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz", "resolved": "https://registry.npmjs.org/loose-envify/-/loose-envify-1.4.0.tgz",
...@@ -3858,6 +4034,14 @@ ...@@ -3858,6 +4034,14 @@
} }
} }
}, },
"message-box": {
"version": "0.2.2",
"resolved": "https://registry.npmjs.org/message-box/-/message-box-0.2.2.tgz",
"integrity": "sha512-A32m9D2ZaE08ZaXoE74AjcKwjtwwEhDT2EeY7A3YMAEB4ypL0uMZw7HegwZ806GIWyY4VLwe3kGO9reIdjwiRg==",
"requires": {
"lodash": "^4.17.14"
}
},
"meteor-node-stubs": { "meteor-node-stubs": {
"version": "1.0.0", "version": "1.0.0",
"resolved": "https://registry.npmjs.org/meteor-node-stubs/-/meteor-node-stubs-1.0.0.tgz", "resolved": "https://registry.npmjs.org/meteor-node-stubs/-/meteor-node-stubs-1.0.0.tgz",
...@@ -4652,6 +4836,17 @@ ...@@ -4652,6 +4836,17 @@
"minimist": "0.0.8" "minimist": "0.0.8"
} }
}, },
"mongo-object": {
"version": "0.1.3",
"resolved": "https://registry.npmjs.org/mongo-object/-/mongo-object-0.1.3.tgz",
"integrity": "sha512-m3vs+a1JkvRXELJMe2ieMmBe03NUy6bctGjWicRhReYj8brDi0ojKHLKLmXWr/RupNaFP8Q7/x8xG8GpFtp9wg==",
"requires": {
"lodash.foreach": "^4.5.0",
"lodash.isempty": "^4.4.0",
"lodash.isobject": "^3.0.2",
"lodash.without": "^4.4.0"
}
},
"move-concurrently": { "move-concurrently": {
"version": "1.0.1", "version": "1.0.1",
"resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz", "resolved": "https://registry.npmjs.org/move-concurrently/-/move-concurrently-1.0.1.tgz",
...@@ -5874,6 +6069,27 @@ ...@@ -5874,6 +6069,27 @@
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.2.tgz",
"integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0=" "integrity": "sha1-tf3AjxKH6hF4Yo5BXiUTK3NkbG0="
}, },
"simpl-schema": {
"version": "1.5.5",
"resolved": "https://registry.npmjs.org/simpl-schema/-/simpl-schema-1.5.5.tgz",
"integrity": "sha512-LEAKeqXS9VDpH7sVXmsIJsED7fdMj/WAP0roZw0u0IzOgQV7n3x7jcf722cl7WM6U5ANwI4wwv0dujLuwv266A==",
"requires": {
"clone": "^2.1.1",
"extend": "^3.0.1",
"lodash.every": "^4.6.0",
"lodash.find": "^4.6.0",
"lodash.findwhere": "^3.1.0",
"lodash.includes": "^4.3.0",
"lodash.isempty": "^4.4.0",
"lodash.isobject": "^3.0.2",
"lodash.omit": "^4.5.0",
"lodash.pick": "^4.4.0",
"lodash.union": "^4.6.0",
"lodash.uniq": "^4.5.0",
"message-box": "^0.2.0",
"mongo-object": "^0.1.3"
}
},
"snapdragon": { "snapdragon": {
"version": "0.8.2", "version": "0.8.2",
"resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz", "resolved": "https://registry.npmjs.org/snapdragon/-/snapdragon-0.8.2.tgz",
......
...@@ -15,6 +15,7 @@ ...@@ -15,6 +15,7 @@
"connect-route": "^0.1.5", "connect-route": "^0.1.5",
"fibers": "^4.0.1", "fibers": "^4.0.1",
"meteor-node-stubs": "^1.0.0", "meteor-node-stubs": "^1.0.0",
"simpl-schema": "^1.5.5",
"valid-url": "^1.0.9", "valid-url": "^1.0.9",
"vue": "^2.6.10", "vue": "^2.6.10",
"vue-fragment": "^1.5.1", "vue-fragment": "^1.5.1",
...@@ -37,6 +38,7 @@ ...@@ -37,6 +38,7 @@
"@babel/register": "^7.5.5", "@babel/register": "^7.5.5",
"@mdi/font": "^3.9.97", "@mdi/font": "^3.9.97",
"babel-loader": "^8.0.6", "babel-loader": "^8.0.6",
"babel-plugin-transform-remove-console": "^6.9.4",
"cross-env": "^5.2.0", "cross-env": "^5.2.0",
"css-loader": "^3.2.0", "css-loader": "^3.2.0",
"deepmerge": "^4.0.0", "deepmerge": "^4.0.0",
......
...@@ -3,6 +3,9 @@ import { Meteor } from 'meteor/meteor'; ...@@ -3,6 +3,9 @@ import { Meteor } from 'meteor/meteor';
import '../imports/api/methods/worklist.js'; import '../imports/api/methods/worklist.js';
import '../imports/api/methods/changePassword.js'; import '../imports/api/methods/changePassword.js';
import '../imports/api/methods/devicecode.js'; import '../imports/api/methods/devicecode.js';
import '../imports/api/server/publications/worklist.js'; import '../imports/api/server/publications/worklist.js';
import '../imports/api/server/publications/devicecode.js'; import '../imports/api/server/publications/devicecode.js';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment