|
@ -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 searchNblist" :key="item.code" :label="item.name" :value="item.code" /> |
|
|
<el-option v-for="item in $store.getters.allCategory" v-show="item.parentId" :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" /> |
|
@ -183,17 +183,10 @@ import Pagination from '@/components/Pagination' |
|
|
import Utils from '../../utils/contact.js' |
|
|
import Utils from '../../utils/contact.js' |
|
|
import { getOwnList, terminateRenwu, completeRenwuFn } from '@/api/renwu' |
|
|
import { getOwnList, terminateRenwu, completeRenwuFn } from '@/api/renwu' |
|
|
import { cancelRenwuFn } from '@/api/common' |
|
|
import { cancelRenwuFn } from '@/api/common' |
|
|
import { mapGetters } from 'vuex' |
|
|
|
|
|
import qs from 'qs' |
|
|
import qs from 'qs' |
|
|
export default { |
|
|
export default { |
|
|
name: 'MyTask', |
|
|
name: 'MyTask', |
|
|
components: { Sticky, Pagination }, |
|
|
components: { Sticky, Pagination }, |
|
|
filters: { |
|
|
|
|
|
screen(value) { |
|
|
|
|
|
console.log(value, 254444) |
|
|
|
|
|
return value.charAt(0).toUpperCase() + value.slice(1) |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
total: 0, |
|
|
total: 0, |
|
@ -244,21 +237,7 @@ export default { |
|
|
sbpzdm: '' |
|
|
sbpzdm: '' |
|
|
}, |
|
|
}, |
|
|
currentRenwuId: 0, |
|
|
currentRenwuId: 0, |
|
|
dialogEnclosureVisible: false, |
|
|
dialogEnclosureVisible: false |
|
|
isSysUser: this.$store.getters.clientType === 'System', |
|
|
|
|
|
searchNblist: [] |
|
|
|
|
|
} |
|
|
|
|
|
}, |
|
|
|
|
|
computed: { |
|
|
|
|
|
...mapGetters(['allCategory']) |
|
|
|
|
|
}, |
|
|
|
|
|
watch: { |
|
|
|
|
|
allCategory: { |
|
|
|
|
|
handler(n, o) { |
|
|
|
|
|
console.log(n.filter(item => item.parentId)) |
|
|
|
|
|
this.searchNblist = n.filter(item => item.parentId) |
|
|
|
|
|
}, |
|
|
|
|
|
deep: true |
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
created() { |
|
|
created() { |
|
|