|
|
@ -39,11 +39,6 @@ |
|
|
@current-change="handleCurrentChange" |
|
|
@current-change="handleCurrentChange" |
|
|
/> |
|
|
/> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div v-if="selectType==='9' || selectType==='11'" style="margin-top:10px"> |
|
|
|
|
|
<el-checkbox v-model="checked">其他</el-checkbox> |
|
|
|
|
|
<el-input v-model="inputVal" :placeholder="$t('form.placeholderInput')" v-if="checked" style="width:300px;margin-left:10px"></el-input> |
|
|
|
|
|
</div> |
|
|
|
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
|
@ -57,10 +52,6 @@ export default { |
|
|
type: Object, |
|
|
type: Object, |
|
|
default: () => {}, |
|
|
default: () => {}, |
|
|
}, |
|
|
}, |
|
|
selectType: {//选择的类型。细胞+细菌最下面有个复选框 |
|
|
|
|
|
type: String, |
|
|
|
|
|
default: "1", |
|
|
|
|
|
}, |
|
|
|
|
|
checkType: {//是否显示单选框或复选框 |
|
|
checkType: {//是否显示单选框或复选框 |
|
|
type: String, |
|
|
type: String, |
|
|
default: "radio", |
|
|
default: "radio", |
|
|
@ -108,10 +99,7 @@ export default { |
|
|
pageSize: 10, |
|
|
pageSize: 10, |
|
|
total: 0, |
|
|
total: 0, |
|
|
}, |
|
|
}, |
|
|
dataSource: [], |
|
|
|
|
|
|
|
|
|
|
|
checked:false, |
|
|
|
|
|
inputVal:'' |
|
|
|
|
|
|
|
|
dataSource: [] |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
watch: { |
|
|
watch: { |
|
|
@ -130,8 +118,6 @@ export default { |
|
|
this.localSelectedId = '' |
|
|
this.localSelectedId = '' |
|
|
this.initSearchForm(); |
|
|
this.initSearchForm(); |
|
|
this.getList(); |
|
|
this.getList(); |
|
|
this.checked = false |
|
|
|
|
|
this.inputVal = '' |
|
|
|
|
|
}, |
|
|
}, |
|
|
//初始化查询表单 |
|
|
//初始化查询表单 |
|
|
initSearchForm() { |
|
|
initSearchForm() { |
|
|
|