修复问题

zhangtao
laozt 1 year ago
parent 65f556d5c4
commit 443bf5b667

@ -59,6 +59,15 @@ export function businessList(data) {
params: data, params: data,
}); });
} }
// 查询计划企业详细
export function getByUuto(id) {
return request({
url: "/pharmaceuticals/info/getByUuto?uuto=" + id,
method: "get",
});
}
//查询执法列表 //查询执法列表
export function enforcingDetail(data) { export function enforcingDetail(data) {
return request({ return request({

@ -212,7 +212,7 @@
</template> </template>
<script> <script>
import { businessList } from "@/api/yingji/keyEnterprise"; import { getByUuto } from "@/api/yingji/keyEnterprise";
import { listNew, getNew, delNew, addNew, updateNew } from "@/api/yingji/new"; import { listNew, getNew, delNew, addNew, updateNew } from "@/api/yingji/new";
import executive from "./echarts/executive"; import executive from "./echarts/executive";
import dictzh from "@/utils/dictzh.js"; import dictzh from "@/utils/dictzh.js";
@ -409,12 +409,9 @@ export default {
this.addShow = false; this.addShow = false;
}, },
handleInfo(row) { handleInfo(row) {
let queryParams = { getByUuto(row.enterpriseId.trim()).then((res) => {
uuitNo: row.enterpriseId, // console.log(res.data);
}; let infoObj = res.data;
businessList(queryParams).then((res) => {
// console.log(res.rows[0]);
let infoObj = res.rows[0];
// //
this.addShow = true; this.addShow = true;
infoObj["aboveDesignated"] = infoObj["aboveDesignated"] =

Loading…
Cancel
Save