Browse Source

提交修改

master
xiaobai 3 years ago
parent
commit
500b29c404
  1. 8
      src/views/task/list.vue

8
src/views/task/list.vue

@ -32,7 +32,7 @@
<el-option v-for="item in sbzlList" :key="item.value" :label="item.label" :value="item.value" /> <el-option v-for="item in sbzlList" :key="item.value" :label="item.label" :value="item.value" />
</el-select> </el-select>
<el-select v-model="listQuery.neibuleibie" placeholder="请选择检验类别" clearable> <el-select v-model="listQuery.neibuleibie" placeholder="请选择检验类别" clearable>
<el-option v-for="item in allCategory" :key="item.code" :label="item.name" :value="item.code" /> <el-option v-for="item in searchNblist" :key="item.code" :label="item.name" :value="item.code" />
</el-select> </el-select>
<el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位名称" clearable style="width: 340px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.shiyongdanwei" placeholder="使用单位名称" clearable style="width: 340px" @keyup.enter.native="handleFilter" />
<el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 230px" @keyup.enter.native="handleFilter" /> <el-input v-model="listQuery.zhucedaima" placeholder="注册代码" clearable style="width: 230px" @keyup.enter.native="handleFilter" />
@ -294,7 +294,8 @@ export default {
}, },
currentRenwuId: 0, currentRenwuId: 0,
dialogEnclosureVisible: false, dialogEnclosureVisible: false,
isSysUser: this.$store.getters.clientType === 'System' isSysUser: this.$store.getters.clientType === 'System',
searchNblist:[]
} }
}, },
computed: { computed: {
@ -303,7 +304,8 @@ export default {
watch: { watch: {
allCategory: { allCategory: {
handler(n, o) { handler(n, o) {
return n.filter(item=>item.parentId!==null) console.log(n.filter(item => item.parentId))
this.searchNblist = n.filter(item => item.parentId)
}, },
deep: true deep: true
} }

Loading…
Cancel
Save