feat: 国家医保数据功能
parent
65a9892a40
commit
aa92b93ee3
@ -0,0 +1,31 @@
|
||||
import request from "@/utils/request";
|
||||
import { Loading } from 'element-ui';
|
||||
export function GetFile(path,fileName){
|
||||
const loading = Loading.service({
|
||||
lock: true,
|
||||
text: 'Loading',
|
||||
spinner: 'el-icon-loading',
|
||||
background: 'rgba(0, 0, 0, 0.7)'
|
||||
});
|
||||
request({
|
||||
method:"get",
|
||||
url:path,
|
||||
responseType: "blob"
|
||||
}).then(res=>{
|
||||
download(res,fileName);
|
||||
loading.close();
|
||||
}).catch((error)=>{console.log(error)})
|
||||
}
|
||||
|
||||
function download(data,fileName){
|
||||
if(!data) return;
|
||||
console.log(fileName);
|
||||
let url=window.URL.createObjectURL(new Blob([data]));
|
||||
let link = document.createElement("a");
|
||||
link.style.display = "none";
|
||||
link.href=url;
|
||||
link.setAttribute('download',fileName);
|
||||
document.body.appendChild(link);
|
||||
link.click();
|
||||
link.remove();
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
import request from "@/utils/request";
|
||||
import {GetFile} from "./common";
|
||||
|
||||
export function GetList(param){
|
||||
return request({
|
||||
url: "/udchs/ybHcfl/list",
|
||||
method: "post",
|
||||
data: param
|
||||
});
|
||||
}
|
||||
|
@ -0,0 +1,11 @@
|
||||
import request from "@/utils/request";
|
||||
import {GetFile} from "./common";
|
||||
|
||||
export function GetList(param){
|
||||
return request({
|
||||
url: "/udchs/ybHcxx/list",
|
||||
method: "post",
|
||||
data: param
|
||||
});
|
||||
}
|
||||
|
@ -0,0 +1,10 @@
|
||||
import request from "@/utils/request";
|
||||
import {GetFile} from "./common";
|
||||
|
||||
export function GetList(param){
|
||||
return request({
|
||||
url: "/udchs/ybHcxxGg/list",
|
||||
method: "post",
|
||||
data: param
|
||||
});
|
||||
}
|
@ -0,0 +1,73 @@
|
||||
export default {
|
||||
data(){
|
||||
return{
|
||||
dateRange: [],
|
||||
loading: false,
|
||||
list: [],
|
||||
total: 0,
|
||||
queryParams: {
|
||||
page: 1,
|
||||
limit: 10,
|
||||
specificationCode: "",
|
||||
codeShow: ""
|
||||
},
|
||||
pickerOptions: {
|
||||
shortcuts: [
|
||||
{
|
||||
text: "最近一周",
|
||||
onClick(picker) {
|
||||
const end = new Date();
|
||||
const start = new Date();
|
||||
start.setTime(start.getTime() - 3600 * 1000 * 24 * 7);
|
||||
picker.$emit("pick", [start, end]);
|
||||
},
|
||||
},
|
||||
{
|
||||
text: "最近一个月",
|
||||
onClick(picker) {
|
||||
const end = new Date();
|
||||
const start = new Date();
|
||||
start.setTime(start.getTime() - 3600 * 1000 * 24 * 30);
|
||||
picker.$emit("pick", [start, end]);
|
||||
},
|
||||
},
|
||||
{
|
||||
text: "最近三个月",
|
||||
onClick(picker) {
|
||||
const end = new Date();
|
||||
const start = new Date();
|
||||
start.setTime(start.getTime() - 3600 * 1000 * 24 * 90);
|
||||
picker.$emit("pick", [start, end]);
|
||||
},
|
||||
},
|
||||
],
|
||||
},
|
||||
}
|
||||
},
|
||||
created() {
|
||||
this.getList();
|
||||
},
|
||||
methods:{
|
||||
|
||||
handleCurrentChange(val) {
|
||||
this.queryParams.page = val;
|
||||
this.getList();
|
||||
},
|
||||
onReset() {
|
||||
this.$router.push({
|
||||
path: "",
|
||||
});
|
||||
this.queryParams = {
|
||||
page: 1,
|
||||
limit: 10,
|
||||
name: ""
|
||||
};
|
||||
this.dateRange = [];
|
||||
this.getList();
|
||||
},
|
||||
onSubmit() {
|
||||
this.queryParams.page = 1;
|
||||
this.getList();
|
||||
},
|
||||
}
|
||||
}
|
@ -0,0 +1,89 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-card class="el-card">
|
||||
<el-form
|
||||
:inline="true"
|
||||
:model="queryParams"
|
||||
size="mini"
|
||||
>
|
||||
<el-form-item label="医疗耗材分类代码">
|
||||
<el-input
|
||||
v-model="queryParams.specificationCode"
|
||||
size="mini"
|
||||
placeholder="医疗耗材分类代码"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button-group>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-refresh"
|
||||
@click="onReset"
|
||||
></el-button>
|
||||
<el-button type="primary" icon="search" @click="onSubmit"
|
||||
>查询
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-table-column label="序号" type="index"/>
|
||||
<el-table-column label="医用耗材分类代码" prop="specificationCode"/>
|
||||
<el-table-column label="三级分类代码" prop="catalogcode"/>
|
||||
<el-table-column label="一级分类名称(学科,品名)" prop="catalogname1"/>
|
||||
<el-table-column label="二级分类名称(用途、品目)" prop="catalogname2"/>
|
||||
|
||||
<el-table-column label="三级分类名称(部位、功能、品种)" prop="catalogname3"/>
|
||||
<el-table-column label="医保通用代码" prop="commonnamecode"/>
|
||||
<el-table-column label="医保通用名" prop="commonname"/>
|
||||
<el-table-column label="材质代码" prop="matrialcode"/>
|
||||
<el-table-column label="耗材材质" prop="matrial"/>
|
||||
|
||||
<el-table-column label="规格代码" prop="characteristiccode"/>
|
||||
<el-table-column label="规格(特征、参数)" prop="characteristic"/>
|
||||
|
||||
</el-table>
|
||||
<el-pagination
|
||||
:current-page="queryParams.page"
|
||||
:page-size="queryParams.limit"
|
||||
@current-change="handleCurrentChange"
|
||||
layout="prev, pager, next"
|
||||
:total="total"
|
||||
></el-pagination>
|
||||
</el-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {GetList} from "@/api/udchs/udchsYbHcfl";
|
||||
import myMinix from './minixs/commMinixs';
|
||||
export default {
|
||||
name: "udchsYbHcfl",
|
||||
mixins:[myMinix],
|
||||
methods:{
|
||||
getList() {
|
||||
this.loading = true;
|
||||
GetList(this.addDateRange(this.queryParams, this.dateRange)).then(res => {
|
||||
this.loading = false;
|
||||
this.list = res.data.list || [];
|
||||
this.total = res.data.total || 0;
|
||||
}).catch(error => {
|
||||
this.$message.error(error);
|
||||
this.loading = false;
|
||||
})
|
||||
},
|
||||
getFile(){
|
||||
// GetDistributorFile();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
@ -0,0 +1,81 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-card class="el-card">
|
||||
<el-form
|
||||
:inline="true"
|
||||
:model="queryParams"
|
||||
size="mini"
|
||||
>
|
||||
<el-form-item label="医用耗材代码">
|
||||
<el-input
|
||||
v-model="queryParams.specificationCode"
|
||||
size="mini"
|
||||
placeholder="医用耗材代码"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button-group>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-refresh"
|
||||
@click="onReset"
|
||||
></el-button>
|
||||
<el-button type="primary" icon="search" @click="onSubmit"
|
||||
>查询
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-table-column label="序号" type="index"/>
|
||||
<el-table-column label="医用耗材代码" prop="specificationCode"/>
|
||||
<el-table-column label="一级分类(学科,品类)" prop="catalogname1"/>
|
||||
<el-table-column label="二级分类(用途,品目)" prop="catalogname2"/>
|
||||
<el-table-column label="三级分类名称(部位、功能、品种)" prop="catalogname3"/>
|
||||
<el-table-column label="医保通用名" prop="commonname"/>
|
||||
|
||||
</el-table>
|
||||
<el-pagination
|
||||
:current-page="queryParams.page"
|
||||
:page-size="queryParams.limit"
|
||||
@current-change="handleCurrentChange"
|
||||
layout="prev, pager, next"
|
||||
:total="total"
|
||||
></el-pagination>
|
||||
</el-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {GetList} from "@/api/udchs/udchsYbHcxx";
|
||||
import myMinix from './minixs/commMinixs';
|
||||
export default {
|
||||
name: "udchsYbHcxx",
|
||||
mixins:[myMinix],
|
||||
methods:{
|
||||
getList() {
|
||||
this.loading = true;
|
||||
GetList(this.addDateRange(this.queryParams, this.dateRange)).then(res => {
|
||||
this.loading = false;
|
||||
this.list = res.data.list || [];
|
||||
this.total = res.data.total || 0;
|
||||
}).catch(error => {
|
||||
this.$message.error(error);
|
||||
this.loading = false;
|
||||
})
|
||||
},
|
||||
getFile(){
|
||||
// GetDistributorFile();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
@ -0,0 +1,86 @@
|
||||
<template>
|
||||
<div>
|
||||
<el-card class="el-card">
|
||||
<el-form
|
||||
:inline="true"
|
||||
:model="queryParams"
|
||||
size="mini"
|
||||
>
|
||||
<el-form-item label="医保耗材分类编码">
|
||||
<el-input
|
||||
v-model="queryParams.codeShow"
|
||||
size="mini"
|
||||
placeholder="医保耗材分类编码"
|
||||
></el-input>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button-group>
|
||||
<el-button
|
||||
type="primary"
|
||||
icon="el-icon-refresh"
|
||||
@click="onReset"
|
||||
></el-button>
|
||||
<el-button type="primary" icon="search" @click="onSubmit"
|
||||
>查询
|
||||
</el-button>
|
||||
</el-button-group>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
<el-table
|
||||
v-loading="loading"
|
||||
:data="list"
|
||||
style="width: 100%"
|
||||
>
|
||||
<el-table-column label="序号" type="index"/>
|
||||
<el-table-column label="注册备案号" prop="regcardnm"/>
|
||||
<el-table-column label="注册备案产品名称" prop="regcardName"/>
|
||||
<el-table-column label="医保耗材分类编码" prop="codeShow"/>
|
||||
<el-table-column label="注册备案人" prop="registrant"/>
|
||||
<el-table-column label="单间产品名称" prop="productName"/>
|
||||
|
||||
<el-table-column label="企业名称" prop="companyName"/>
|
||||
<el-table-column label="规格" prop="model"/>
|
||||
<el-table-column label="型号" prop="specification"/>
|
||||
<el-table-column label="UDI-DI" prop="udiCode"/>
|
||||
|
||||
</el-table>
|
||||
<el-pagination
|
||||
:current-page="queryParams.page"
|
||||
:page-size="queryParams.limit"
|
||||
@current-change="handleCurrentChange"
|
||||
layout="prev, pager, next"
|
||||
:total="total"
|
||||
></el-pagination>
|
||||
</el-card>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {GetList} from "@/api/udchs/udchsYbHcxxGg";
|
||||
import myMinix from './minixs/commMinixs';
|
||||
export default {
|
||||
name: "udchsYbHcxxGg",
|
||||
mixins:[myMinix],
|
||||
methods:{
|
||||
getList() {
|
||||
this.loading = true;
|
||||
GetList(this.addDateRange(this.queryParams, this.dateRange)).then(res => {
|
||||
this.loading = false;
|
||||
this.list = res.data.list || [];
|
||||
this.total = res.data.total || 0;
|
||||
}).catch(error => {
|
||||
this.$message.error(error);
|
||||
this.loading = false;
|
||||
})
|
||||
},
|
||||
getFile(){
|
||||
// GetDistributorFile();
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
Loading…
Reference in New Issue