下拉新内容
This commit is contained in:
parent
cb734240e2
commit
18591c6e3d
|
@ -219,6 +219,13 @@ export const asyncRoutes = [
|
||||||
component: () => import('@/views/testorg/testorgnotice'),
|
component: () => import('@/views/testorg/testorgnotice'),
|
||||||
meta: { title: '实验室通知公告', icon: 'example', perms: ['testorg_manage'] }
|
meta: { title: '实验室通知公告', icon: 'example', perms: ['testorg_manage'] }
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
path: 'issued',
|
||||||
|
name: 'Issued',
|
||||||
|
component: () => import('@/views/testorg/issued'),
|
||||||
|
meta: { title: '任务下达', icon: 'example', perms: ['testorg_manage'] }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
path: 'taskmanagement',
|
path: 'taskmanagement',
|
||||||
name: 'TaskManagement',
|
name: 'TaskManagement',
|
||||||
|
|
|
@ -68,7 +68,7 @@
|
||||||
</el-col>
|
</el-col>
|
||||||
|
|
||||||
<el-col :xs="24" :md="12">
|
<el-col :xs="24" :md="12">
|
||||||
<el-form-item label="认证性质" prop="testorg">
|
<el-form-item label="认证性质" prop="testorgs">
|
||||||
<el-select placeholder="请选择认证性质" clearable :style="{width: '100%'}">
|
<el-select placeholder="请选择认证性质" clearable :style="{width: '100%'}">
|
||||||
<el-option
|
<el-option
|
||||||
v-for="(item, index) in testorgOptions"
|
v-for="(item, index) in testorgOptions"
|
||||||
|
@ -160,10 +160,10 @@ import { getDictList } from "@/api/dict";
|
||||||
import { getCertunitList } from "@/api/certunit";
|
import { getCertunitList } from "@/api/certunit";
|
||||||
import { getCertappunitList, testtaskCertappunit,teststateCertappunit } from "@/api/certappunit";
|
import { getCertappunitList, testtaskCertappunit,teststateCertappunit } from "@/api/certappunit";
|
||||||
import Pagination from "@/components/Pagination";
|
import Pagination from "@/components/Pagination";
|
||||||
import checkPermission from "@/utils/permission";
|
import { genTree } from "@/utils";
|
||||||
|
import checkPermission from '@/utils/permission'
|
||||||
import Treeselect from "@riophae/vue-treeselect";
|
import Treeselect from "@riophae/vue-treeselect";
|
||||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
import { genTree } from "../../utils";
|
|
||||||
export default {
|
export default {
|
||||||
name: "Detectform",
|
name: "Detectform",
|
||||||
components: { Pagination, Treeselect },
|
components: { Pagination, Treeselect },
|
||||||
|
@ -201,6 +201,14 @@ export default {
|
||||||
}
|
}
|
||||||
|
|
||||||
],
|
],
|
||||||
|
testorgOptions:[ {
|
||||||
|
label: "初次申请",
|
||||||
|
value: "初次申请",
|
||||||
|
},
|
||||||
|
{
|
||||||
|
label: "复评",
|
||||||
|
value: "复评",
|
||||||
|
}],
|
||||||
chargeOptions:[
|
chargeOptions:[
|
||||||
{
|
{
|
||||||
label: "CTC代收",
|
label: "CTC代收",
|
||||||
|
|
|
@ -0,0 +1,76 @@
|
||||||
|
<template>
|
||||||
|
<div class="app-container">
|
||||||
|
|
||||||
|
|
||||||
|
<el-table v-loading="listLoading"
|
||||||
|
:data="detectoryList.results"
|
||||||
|
style="width: 100%;margin-top:10px;"
|
||||||
|
border
|
||||||
|
fit
|
||||||
|
stripe
|
||||||
|
highlight-current-row
|
||||||
|
max-height="600">
|
||||||
|
|
||||||
|
</el-table>
|
||||||
|
<pagination v-show="detectoryList.count>0"
|
||||||
|
:total="detectoryList.count"
|
||||||
|
:page.sync="listQuery.page"
|
||||||
|
:limit.sync="listQuery.page_size"
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
import { getTestOrgList} from "@/api/laboratory"
|
||||||
|
|
||||||
|
import Pagination from "@/components/Pagination"
|
||||||
|
import checkPermission from '@/utils/permission'
|
||||||
|
|
||||||
|
export default {
|
||||||
|
components: { Pagination },
|
||||||
|
data() {
|
||||||
|
return {
|
||||||
|
detectoryList: { count: 0 },
|
||||||
|
|
||||||
|
listLoading: true,
|
||||||
|
listQuery: {
|
||||||
|
page: 1,
|
||||||
|
page_size: 20
|
||||||
|
},
|
||||||
|
|
||||||
|
dialogVisible: false,
|
||||||
|
dialogType: 'create',
|
||||||
|
rule1: {
|
||||||
|
|
||||||
|
},
|
||||||
|
|
||||||
|
};
|
||||||
|
},
|
||||||
|
created() {
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
methods: {
|
||||||
|
checkPermission,
|
||||||
|
getList() {
|
||||||
|
this.listLoading = true;
|
||||||
|
getTestOrgList(this.listQuery).then(response => {
|
||||||
|
if (response.data) {
|
||||||
|
this.detectoryList = response.data
|
||||||
|
}
|
||||||
|
this.listLoading = false;
|
||||||
|
});
|
||||||
|
},
|
||||||
|
resetFilter() {
|
||||||
|
this.listQuery = {
|
||||||
|
page: 1,
|
||||||
|
page_size: 20
|
||||||
|
};
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
handleFilter() {
|
||||||
|
this.listQuery.page = 1;
|
||||||
|
this.getList();
|
||||||
|
},
|
||||||
|
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
|
@ -22,7 +22,6 @@
|
||||||
stripe
|
stripe
|
||||||
highlight-current-row
|
highlight-current-row
|
||||||
height="380"
|
height="380"
|
||||||
@row-click="rowClick"
|
|
||||||
>
|
>
|
||||||
|
|
||||||
<el-table-column type="index" width="50" />
|
<el-table-column type="index" width="50" />
|
||||||
|
@ -97,7 +96,6 @@ import Treeselect from "@riophae/vue-treeselect";
|
||||||
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
import "@riophae/vue-treeselect/dist/vue-treeselect.css";
|
||||||
import { genTree } from "../../utils";
|
import { genTree } from "../../utils";
|
||||||
export default {
|
export default {
|
||||||
name: "Detectform",
|
|
||||||
components: { Pagination, Treeselect },
|
components: { Pagination, Treeselect },
|
||||||
props:['certapp'],
|
props:['certapp'],
|
||||||
data() {
|
data() {
|
||||||
|
@ -131,8 +129,7 @@ export default {
|
||||||
},
|
},
|
||||||
created() {
|
created() {
|
||||||
this.getList();
|
this.getList();
|
||||||
this.getTestOptions();
|
this.getList()
|
||||||
this.gettunitList()
|
|
||||||
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
Loading…
Reference in New Issue