|
|
|
@ -203,7 +203,7 @@
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { download, dcyp } from "../../../api/archives/updata";
|
|
|
|
|
import { download, vRdgYpwhGxwzexportYly } from "../../../api/archives/updata";
|
|
|
|
|
import { Notification, MessageBox, Message, Loading, TabPane } from "element-ui";
|
|
|
|
|
// import MapCars from "@/views/components/MapCars.vue";
|
|
|
|
|
|
|
|
|
@ -221,7 +221,7 @@ export default {
|
|
|
|
|
tableData: [],
|
|
|
|
|
total: 0,
|
|
|
|
|
form1: {
|
|
|
|
|
qymc:"",
|
|
|
|
|
qymc: "",
|
|
|
|
|
pzName: "", //产品名称
|
|
|
|
|
jx: "", //剂型
|
|
|
|
|
cpSource: "", //批准文号
|
|
|
|
@ -317,7 +317,7 @@ export default {
|
|
|
|
|
spinner: "el-icon-loading",
|
|
|
|
|
background: "rgba(0, 0, 0, 0.7)",
|
|
|
|
|
});
|
|
|
|
|
dcyp(this.form1).then((res) => {
|
|
|
|
|
vRdgYpwhGxwzexportYly(this.form1).then((res) => {
|
|
|
|
|
const blob = new Blob([res], { type: res.type });
|
|
|
|
|
const link = document.createElement("a");
|
|
|
|
|
link.href = window.URL.createObjectURL(blob);
|
|
|
|
@ -347,8 +347,9 @@ export default {
|
|
|
|
|
// 导出按钮
|
|
|
|
|
exportList() {
|
|
|
|
|
this.src = `确定导出${this.form1.pzName ? `产品名称为${this.form1.pzName}、` : ""
|
|
|
|
|
}${this.form1.ypfl ? `药品分类为${this.form1.ypfl}、` : ""}${this.form1.cpSource ? `批准文号为${this.form1.cpSource}、` : ""
|
|
|
|
|
}${this.form1.djh ? `生产单位为${this.form1.djh}、` : ""}${this.form1.jx ? `剂型为${this.form1.jx}、` : ""
|
|
|
|
|
}${this.form1.ypfl ? `产品来源为${this.form1.cpSource}、` : ""}${this.form1.cpSource ? `登记号为${this.form1.djh}、` : ""
|
|
|
|
|
}${this.form1.djh ? `企业名称${this.form1.qymc}、` : ""}${this.form1.jx ? `生产许可证
|
|
|
|
|
${this.form1.scxkz}、` : ""
|
|
|
|
|
}数据吗?`;
|
|
|
|
|
this.showCK = true;
|
|
|
|
|
},
|
|
|
|
@ -391,7 +392,7 @@ export default {
|
|
|
|
|
reset(type) {
|
|
|
|
|
this.form1 = {
|
|
|
|
|
|
|
|
|
|
qymc:"",
|
|
|
|
|
qymc: "",
|
|
|
|
|
//产品名称
|
|
|
|
|
pzName: "",
|
|
|
|
|
//剂型
|
|
|
|
|