mirror of
https://git.meshkee.com/cssd/cssd-back.git
synced 2026-10-12 19:51:07 +03:30
next Edit
This commit is contained in:
Vendored
+187
-38
@@ -121,22 +121,58 @@ function _asyncToGenerator(fn) { return function () { var self = this, args = ar
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
/* harmony default export */ __webpack_exports__["default"] = ({
|
||||
data: function data() {
|
||||
return {
|
||||
result: ['Accept', 'Reject'],
|
||||
result: ["Accept", "Reject"],
|
||||
testTypeNames: [],
|
||||
searchInput: '',
|
||||
searchInput: "",
|
||||
form: {
|
||||
autoclave_id: '',
|
||||
result: '',
|
||||
autoclave_id: "",
|
||||
result: "",
|
||||
data: []
|
||||
},
|
||||
filter: {
|
||||
name: '',
|
||||
unique_code: ''
|
||||
name: "",
|
||||
unique_code: ""
|
||||
}
|
||||
};
|
||||
},
|
||||
@@ -435,39 +471,152 @@ var render = function() {
|
||||
})
|
||||
: _vm._e(),
|
||||
_vm._v(" "),
|
||||
item.type == "CheckBox"
|
||||
? [
|
||||
_c("p", [_vm._v(_vm._s(item.name))]),
|
||||
_vm._v(" "),
|
||||
_vm._l(item.options, function(
|
||||
optionValue,
|
||||
keyOption
|
||||
) {
|
||||
return _c(
|
||||
"v-container",
|
||||
{ key: keyOption, attrs: { fluid: "" } },
|
||||
[
|
||||
_c("v-checkbox", {
|
||||
attrs: {
|
||||
label: _vm.option.title,
|
||||
value: optionValue
|
||||
item.type == "Checkbox"
|
||||
? _c(
|
||||
"v-container",
|
||||
{ attrs: { fluid: "" } },
|
||||
[
|
||||
_c("p", [_vm._v(_vm._s(item.name))]),
|
||||
_vm._v(" "),
|
||||
_vm._l(item.options, function(
|
||||
optionValue,
|
||||
keyOption
|
||||
) {
|
||||
return _c("v-checkbox", {
|
||||
key: keyOption,
|
||||
attrs: {
|
||||
label: optionValue.title,
|
||||
value: optionValue.title
|
||||
},
|
||||
model: {
|
||||
value: item[item.name],
|
||||
callback: function($$v) {
|
||||
_vm.$set(item, item.name, $$v)
|
||||
},
|
||||
model: {
|
||||
value: _vm.form.data[key][item.name],
|
||||
callback: function($$v) {
|
||||
_vm.$set(
|
||||
_vm.form.data[key],
|
||||
item.name,
|
||||
$$v
|
||||
)
|
||||
},
|
||||
expression: "form.data[key][item.name]"
|
||||
}
|
||||
})
|
||||
],
|
||||
1
|
||||
)
|
||||
})
|
||||
expression: "item[item.name]"
|
||||
}
|
||||
})
|
||||
})
|
||||
],
|
||||
2
|
||||
)
|
||||
: _vm._e(),
|
||||
_vm._v(" "),
|
||||
item.type == "Form"
|
||||
? [
|
||||
_c(
|
||||
"v-layout",
|
||||
{ attrs: { row: "", wrap: "" } },
|
||||
[
|
||||
_c("h3", [_vm._v(_vm._s(item.name))]),
|
||||
_vm._v(" "),
|
||||
_vm._l(item.children, function(
|
||||
children,
|
||||
keyChildren
|
||||
) {
|
||||
return _c(
|
||||
"v-flex",
|
||||
{ key: keyChildren },
|
||||
[
|
||||
children.type == "Text"
|
||||
? _c("v-text-field", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
label: children.name,
|
||||
color: "black"
|
||||
},
|
||||
model: {
|
||||
value: children[children.name],
|
||||
callback: function($$v) {
|
||||
_vm.$set(
|
||||
children,
|
||||
children.name,
|
||||
$$v
|
||||
)
|
||||
},
|
||||
expression:
|
||||
"children[children.name]"
|
||||
}
|
||||
})
|
||||
: _vm._e(),
|
||||
_vm._v(" "),
|
||||
children.type == "Select"
|
||||
? _c("v-select", {
|
||||
staticClass: "pa-2",
|
||||
attrs: {
|
||||
items: children.options,
|
||||
label: children.name,
|
||||
color: "black",
|
||||
"item-text": "title"
|
||||
},
|
||||
model: {
|
||||
value: children[children.name],
|
||||
callback: function($$v) {
|
||||
_vm.$set(
|
||||
children,
|
||||
children.name,
|
||||
$$v
|
||||
)
|
||||
},
|
||||
expression:
|
||||
"children[children.name]"
|
||||
}
|
||||
})
|
||||
: _vm._e(),
|
||||
_vm._v(" "),
|
||||
children.type == "Checkbox"
|
||||
? _c(
|
||||
"v-container",
|
||||
{ attrs: { fluid: "" } },
|
||||
[
|
||||
_c("p", [
|
||||
_vm._v(_vm._s(children.name))
|
||||
]),
|
||||
_vm._v(" "),
|
||||
_vm._l(
|
||||
children.options,
|
||||
function(
|
||||
optionValue,
|
||||
keyOption
|
||||
) {
|
||||
return _c("v-checkbox", {
|
||||
key: keyOption,
|
||||
attrs: {
|
||||
label:
|
||||
optionValue.title,
|
||||
value: optionValue.title
|
||||
},
|
||||
model: {
|
||||
value:
|
||||
children[
|
||||
children.name
|
||||
],
|
||||
callback: function(
|
||||
$$v
|
||||
) {
|
||||
_vm.$set(
|
||||
children,
|
||||
children.name,
|
||||
$$v
|
||||
)
|
||||
},
|
||||
expression:
|
||||
"children[children.name]"
|
||||
}
|
||||
})
|
||||
}
|
||||
)
|
||||
],
|
||||
2
|
||||
)
|
||||
: _vm._e()
|
||||
],
|
||||
1
|
||||
)
|
||||
})
|
||||
],
|
||||
2
|
||||
)
|
||||
]
|
||||
: _vm._e()
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user