zhangtao
laozt 1 year ago
parent b84ee37001
commit d26fc58d9b

@ -9,6 +9,15 @@ export function listNew(query) {
}) })
} }
// 查询企业新列表
export function listGetNew(query) {
return request({
url: '/pharmaceuticals/new/getList',
method: 'get',
params: query
})
}
// 查询企业新详细 // 查询企业新详细
export function getNew(id) { export function getNew(id) {
return request({ return request({

@ -180,7 +180,7 @@ import firmDialog from "@/views/components/firmDialog/index.vue";
import dictzh from "@/utils/dictzh.js"; import dictzh from "@/utils/dictzh.js";
// //
import executive from "../../yingji/echarts/executive.vue"; import executive from "../../yingji/echarts/executive.vue";
import { listNew, getNew, delNew, addNew, updateNew } from "@/api/yingji/new"; import { listNew, listGetNew ,getNew, delNew, addNew, updateNew } from "@/api/yingji/new";
import { import {
listEnterprise, listEnterprise,
getEnterprise, getEnterprise,
@ -290,7 +290,7 @@ export default {
/** 查询企业新列表 */ /** 查询企业新列表 */
getList() { getList() {
this.loading = true; this.loading = true;
listNew(this.queryParams).then((response) => { listGetNew(this.queryParams).then((response) => {
this.newList = response.rows; this.newList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;

@ -180,7 +180,14 @@ import firmDialog from "@/views/components/firmDialog/index.vue";
import dictzh from "@/utils/dictzh.js"; import dictzh from "@/utils/dictzh.js";
// //
import executive from "../../yingji/echarts/executive.vue"; import executive from "../../yingji/echarts/executive.vue";
import { listNew, getNew, delNew, addNew, updateNew } from "@/api/yingji/new"; import {
listNew,
listGetNew,
getNew,
delNew,
addNew,
updateNew,
} from "@/api/yingji/new";
import { import {
listEnterprise, listEnterprise,
getEnterprise, getEnterprise,
@ -290,7 +297,7 @@ export default {
/** 查询企业新列表 */ /** 查询企业新列表 */
getList() { getList() {
this.loading = true; this.loading = true;
listNew(this.queryParams).then((response) => { listGetNew(this.queryParams).then((response) => {
this.newList = response.rows; this.newList = response.rows;
this.total = response.total; this.total = response.total;
this.loading = false; this.loading = false;

Loading…
Cancel
Save