Commit 3a087e12 authored by miaojiale's avatar miaojiale

修改不符合筛查条件

parent 33a90636
<template>
<el-row :gutter="options.gutter" class="form-content">
<template
v-for="(item, columnIndex) in columns.column || columns.children.column"
>
<el-row
:gutter="options.gutter"
class="form-content"
>
<template v-for="(item, columnIndex) in columns.column || columns.children.column">
<div
v-if="item.type === 'dynamic'"
v-show="item.display"
......@@ -95,7 +96,10 @@
:md="item.md || 24"
:lg="item.span || 12"
>
<div class="form_title" :style="item.styles">
<div
class="form_title"
:style="item.styles"
>
<span>{{ item.value }}</span>
</div>
</el-col>
......@@ -167,47 +171,47 @@ export default {
default: false,
},
},
data() {
data () {
return {}
},
computed: {
isShowIm() {
isShowIm () {
return function (val) {
return !this.isShowImportant ? true : val
}
},
paddingLeft() {
paddingLeft () {
const columns = this.columns
return columns.labelWidth ? `${columns.labelWidth}px` : ""
},
},
methods: {
clearAge() {
clearAge () {
for (let i = 0; i < this.$refs.formSelf.length; i++) {
this.$refs.formSelf[i].age = ""
}
},
validateForm() {
validateForm () {
this.$emit("validateForm")
},
validUpload(prop) {
validUpload (prop) {
this.$emit("validUpload", prop)
},
handleChange(key, val) {
handleChange (key, val) {
if (this.form.hasOwnProperty(key)) this.form[key] = val
},
// 切换不符合筛查条件的显示
formChange() {
formChange () {
// 入选,排除标准,一个填写是就不符合筛查条件
let arr = [
"is_one_year",
"is_subtotal_history",
"is_ppi",
"is_symptom",
"is_subtotal_history",
"is_disease",
"is_tumour",
"is_Incomplete"
]
let flag = 0
for (let i = 0; i < arr.length; i++) {
......
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