|
@@ -1,98 +0,0 @@
|
|
-<template>
|
|
|
|
- <div>
|
|
|
|
- <crumbs
|
|
|
|
- title="未映射到标准术语的医院术语-检验"
|
|
|
|
- class="topBack"
|
|
|
|
- :param="$route.params"
|
|
|
|
- linkTo="KnowledgeMapRuleTest"
|
|
|
|
- >
|
|
|
|
- <el-form :inline="true" class="demo-form-inline">
|
|
|
|
- <el-form-item style="marginBottom: 0px">
|
|
|
|
- <el-button size="mini" @click="exportData">导出</el-button>
|
|
|
|
- </el-form-item>
|
|
|
|
- </el-form>
|
|
|
|
- </crumbs>
|
|
|
|
- <div style="margin: 60px 20px 0">
|
|
|
|
- <el-table :data="list" border >
|
|
|
|
- <el-table-column :resizable="false" type="index" :index="indexMethod" label="编号" width="80"></el-table-column>
|
|
|
|
- <el-table-column :resizable="false" prop="gmtModified" label="测试时间"></el-table-column>
|
|
|
|
- <el-table-column :resizable="false" prop="hisName" label="医院术语(检验套餐)" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column :resizable="false" prop="hisName" label="医院术语(检验细项)" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column :resizable="false" prop="hisName" label="标准术语" show-overflow-tooltip></el-table-column>
|
|
|
|
- <el-table-column :resizable="false" prop="hisName" label="静态知识标识" show-overflow-tooltip></el-table-column>
|
|
|
|
- </el-table>
|
|
|
|
- <div class="pagination pagepage">
|
|
|
|
- <el-pagination
|
|
|
|
- :current-page.sync="currentPage"
|
|
|
|
- @current-change="currentChange"
|
|
|
|
- background
|
|
|
|
- :page-size="pageSize"
|
|
|
|
- :page-sizes="pageSizeArr"
|
|
|
|
- @size-change="handleSizeChange"
|
|
|
|
- :layout="pageLayout"
|
|
|
|
- :total="total"
|
|
|
|
- ></el-pagination>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
- </div>
|
|
|
|
-</template>
|
|
|
|
-
|
|
|
|
-<script>
|
|
|
|
-import api from '@api/cdss.js';
|
|
|
|
-import config from '@api/config.js';
|
|
|
|
-import utils from '@api/utils.js';
|
|
|
|
-export default {
|
|
|
|
- data() {
|
|
|
|
- return {
|
|
|
|
- list: [],
|
|
|
|
- currentPage: 1,
|
|
|
|
- pageSize: config.pageSize,
|
|
|
|
- pageSizeArr: config.pageSizeArr,
|
|
|
|
- pageLayout: config.pageLayout,
|
|
|
|
- total: 0
|
|
|
|
- };
|
|
|
|
- },
|
|
|
|
- created() {
|
|
|
|
- this.getDataList()
|
|
|
|
- // 非首页 编辑页返回 设置 this.currentPage
|
|
|
|
- if (Object.keys(this.$route.params).length !== 0) {
|
|
|
|
- this.currentPage = this.$route.params.currentPage;
|
|
|
|
- }
|
|
|
|
- },
|
|
|
|
- beforeRouteEnter(to, from, next) {
|
|
|
|
- next(vm => {
|
|
|
|
- //const pm = to.param;
|
|
|
|
- Object.assign(vm, to.params);
|
|
|
|
- vm.inCurrentPage = to.params.currentPage;
|
|
|
|
- });
|
|
|
|
- },
|
|
|
|
- methods: {
|
|
|
|
- indexMethod(index) {
|
|
|
|
- return (this.currentPage - 1) * this.pageSize + index + 1;
|
|
|
|
- },
|
|
|
|
- currentChange(next) {
|
|
|
|
- this.currentPage = next;
|
|
|
|
- this.getDataList(true);
|
|
|
|
- },
|
|
|
|
- handleSizeChange(val) {
|
|
|
|
- this.pageSize = val;
|
|
|
|
- this.currentPage = utils.getCurrentPage(
|
|
|
|
- this.currentPage,
|
|
|
|
- this.total,
|
|
|
|
- this.pageSize
|
|
|
|
- );
|
|
|
|
- this.getDataList();
|
|
|
|
- },
|
|
|
|
-
|
|
|
|
- getDataList(){
|
|
|
|
-
|
|
|
|
- },
|
|
|
|
- // 导出
|
|
|
|
- exportData() {}
|
|
|
|
- }
|
|
|
|
-};
|
|
|
|
-</script>
|
|
|
|
-
|
|
|
|
-<style lang="less" scored>
|
|
|
|
-@import '../../../less/admin.less';
|
|
|
|
-</style>
|
|
|