|
|
@@ -202,7 +202,7 @@
|
|
|
import Modal from "./components/UploadLinkEditModal";
|
|
|
import TablePage from "../../components/TablePage";
|
|
|
import deleteModal from "../data/components/UploadLinkModalDelete";
|
|
|
-import { env_url } from "../../config/env";
|
|
|
+import { env_url , php_url } from "../../config/env";
|
|
|
import axiosTest from 'axios';
|
|
|
export default {
|
|
|
props: {
|
|
|
@@ -283,7 +283,8 @@ export default {
|
|
|
},
|
|
|
file: "",
|
|
|
dictList: [],
|
|
|
- onlineUrl: env_url, //'http://8.140.188.129:8080'线上 //http://8.136.230.133:8080 //测试
|
|
|
+ onlineUrl: env_url, //'http://8.140.188.129:8080'线上 //http://8.136.230.133:8080 //测试,
|
|
|
+ otherUrl:php_url,
|
|
|
userId: '',
|
|
|
//截止日期
|
|
|
endTime: "",
|
|
|
@@ -431,7 +432,7 @@ export default {
|
|
|
},
|
|
|
testRequest:function(config){
|
|
|
axiosTest({
|
|
|
- url:'http://8.136.230.133/lexus_php/api/mytask.php',
|
|
|
+ url: this.otherUrl + '/lexus_php/api/mytask.php',
|
|
|
method: "post",
|
|
|
data: {
|
|
|
Page: config.Page,
|
|
|
@@ -456,9 +457,9 @@ export default {
|
|
|
},
|
|
|
//获取资料列表
|
|
|
getDataList: function (config) {
|
|
|
- this.$http({
|
|
|
+ axiosTest({
|
|
|
// url: "/firmsLinkUpload",
|
|
|
- url:'lexus_php/api/mytask.php',
|
|
|
+ url: this.otherUrl + '/lexus_php/api/mytask.php',
|
|
|
method: "post",
|
|
|
data: {
|
|
|
Page: config.Page,
|
|
|
@@ -467,10 +468,8 @@ export default {
|
|
|
},
|
|
|
})
|
|
|
.then((res) => {
|
|
|
- console.log(res, 3333333333)
|
|
|
if (res.data.code === 200) {
|
|
|
let data = res.data.data;
|
|
|
- console.log(data);
|
|
|
this.sum = res.data.count;
|
|
|
this.tableData = [];
|
|
|
for (let i = 0, j = 0; j < data.length; i++, j++) {
|
|
|
@@ -527,7 +526,8 @@ export default {
|
|
|
}, */
|
|
|
//导出excel
|
|
|
onOutputExcel: function () {
|
|
|
- let url = this.onlineUrl + "/exportNoFactory";
|
|
|
+ //let url = this.onlineUrl + "/exportNoFactory";
|
|
|
+ let url = this.otherUrl + '/lexus_php/web/report_export.php'
|
|
|
console.log("导出excel:", url);
|
|
|
window.open(url);
|
|
|
},
|