更改导出

lijinlong
李劲龙 10 months ago
parent 1b4370d8ad
commit 53e1336bda

@ -40,7 +40,7 @@ export default {
cd /usr/share/nginx/html/ggfw-dangan 移动到文件夹下 cd /usr/share/nginx/html/ggfw-dangan 移动到文件夹下
unzip ggfw-dangan.zip -d . 解压 解压
*/ */
}, },
}; };

@ -3,7 +3,7 @@ import request from "@/utils/request";
//获取用户信息 //获取用户信息
export function getselfInfo() { export function getselfInfo() {
return request({ return request({
baseURL: location.origin, // baseURL: location.origin,
url: "/api/admin/user/getSelfInfo", url: "/api/admin/user/getSelfInfo",
method: "GET", method: "GET",
}); });

@ -1,6 +1,6 @@
<template> <template>
<div> <div>
<el-col :span="8" v-if="false"> <el-col :span="8" >
<el-form-item label="产品标签" :disabled="$store.getters.usersort"> <el-form-item label="产品标签" :disabled="$store.getters.usersort">
<el-select v-model="form1.cpbq" placeholder="请选择产品标签" clearable @clear="isclear" multiple> <el-select v-model="form1.cpbq" placeholder="请选择产品标签" clearable @clear="isclear" multiple>
<el-option v-for="item in options" :key="item" :label="item" :value="item"> <el-option v-for="item in options" :key="item" :label="item" :value="item">

@ -399,7 +399,6 @@ export default {
scxkz: "", scxkz: "",
zzjyjl: "", zzjyjl: "",
cpbq: "",// cpbq: "",//
area: this.$store.getters.usersort area: this.$store.getters.usersort
}, },
form: { form: {
@ -500,7 +499,7 @@ export default {
// //
babm: this.form1.babm, babm: this.form1.babm,
}; };
dchzpsj(query1) dchzpsj({...this.form1,type: this.types,})
.then((res) => { .then((res) => {
const blob = new Blob([res], { type: res.type }); const blob = new Blob([res], { type: res.type });
// blob.text().then((res11) => console.log(res11)); // blob.text().then((res11) => console.log(res11));

@ -496,7 +496,7 @@ export default {
// //
babm: this.form1.babm, babm: this.form1.babm,
}; };
dchzpsj(query1) dchzpsj({...this.form1,type: this.types,})
.then((res) => { .then((res) => {
const blob = new Blob([res], { type: res.type }); const blob = new Blob([res], { type: res.type });
// blob.text().then((res11) => console.log(res11)); // blob.text().then((res11) => console.log(res11));

@ -494,7 +494,7 @@ export default {
// //
babm: this.form1.babm, babm: this.form1.babm,
}; };
dchzpsj(query1) dchzpsj({...this.form1,type: this.types,})
.then((res) => { .then((res) => {
const blob = new Blob([res], { type: res.type }); const blob = new Blob([res], { type: res.type });
// blob.text().then((res11) => console.log(res11)); // blob.text().then((res11) => console.log(res11));

@ -494,7 +494,7 @@ export default {
// //
babm: this.form1.babm, babm: this.form1.babm,
}; };
dchzpsj(query1) dchzpsj({...this.form1,type: this.types,})
.then((res) => { .then((res) => {
const blob = new Blob([res], { type: res.type }); const blob = new Blob([res], { type: res.type });
// blob.text().then((res11) => console.log(res11)); // blob.text().then((res11) => console.log(res11));

@ -47,7 +47,7 @@ export default {
}&flag=${this.$route.query.flag}&data=${this.$route.query.data }&flag=${this.$route.query.flag}&data=${this.$route.query.data
}&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}` }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`
// this.Url = `http://localhost:81?type=${this.$route.query.type // this.Url = `http://localhost:82?type=${this.$route.query.type
// }&flag=${this.$route.query.flag}&data=${this.$route.query.data // }&flag=${this.$route.query.flag}&data=${this.$route.query.data
// }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}` // }&token=${localStorage.getItem("MSSM-LIAONING__TOKEN")}&bah=${this.$route.query.bah}`

@ -251,9 +251,6 @@ import { Notification, MessageBox, Message, Loading } from "element-ui";
import MapCars from "@/views/components/MapCars.vue"; import MapCars from "@/views/components/MapCars.vue";
import cpbq from "@/views/components/AdvancedSearch/cpbq.vue"; import cpbq from "@/views/components/AdvancedSearch/cpbq.vue";
/*
*/
export default { export default {
components: { MapCars,cpbq }, components: { MapCars,cpbq },
data() { data() {
@ -380,7 +377,7 @@ export default {
// //
babm: this.form1.babm, babm: this.form1.babm,
}; };
entrustedEnterexport(query1) entrustedEnterexport(this.form1)
.then((res) => { .then((res) => {
const blob = new Blob([res], { type: res.type }); const blob = new Blob([res], { type: res.type });
// blob.text().then((res11) => console.log(res11)); // blob.text().then((res11) => console.log(res11));
@ -403,7 +400,6 @@ export default {
message: "导出失败", message: "导出失败",
}); });
this.loadA.close(); this.loadA.close();
}); });
}, },
closeDC() { closeDC() {

Loading…
Cancel
Save