|
|
@@ -203,7 +203,7 @@ import Modal from "./components/UploadLinkEditModal";
|
|
|
import TablePage from "../../components/TablePage";
|
|
|
import deleteModal from "../data/components/UploadLinkModalDelete";
|
|
|
import { env_url } from "../../config/env";
|
|
|
-
|
|
|
+import axiosTest from 'axios';
|
|
|
export default {
|
|
|
props: {
|
|
|
isManufacturer: {
|
|
|
@@ -429,10 +429,36 @@ export default {
|
|
|
};
|
|
|
this.getDataList(config);
|
|
|
},
|
|
|
+ testRequest:function(config){
|
|
|
+ axiosTest({
|
|
|
+ url:'http://8.136.230.133/lexus_php/api/mytask.php',
|
|
|
+ method: "post",
|
|
|
+ data: {
|
|
|
+ Page: config.Page,
|
|
|
+ Rows: config.Rows,
|
|
|
+ agentId:config.agentId,
|
|
|
+ },
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ 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++) {
|
|
|
+ this.$set(this.tableData, i, data[j]);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .catch((err) => {
|
|
|
+ console.log(err);
|
|
|
+ });
|
|
|
+ },
|
|
|
//获取资料列表
|
|
|
getDataList: function (config) {
|
|
|
this.$http({
|
|
|
- url: "/firmsLinkUpload",
|
|
|
+ // url: "/firmsLinkUpload",
|
|
|
+ url:'lexus_php/api/mytask.php',
|
|
|
method: "post",
|
|
|
data: {
|
|
|
Page: config.Page,
|
|
|
@@ -728,6 +754,7 @@ export default {
|
|
|
agentId: this.userId,
|
|
|
};
|
|
|
this.getDataList(config);
|
|
|
+ //this.testRequest(config);
|
|
|
},
|
|
|
created() {
|
|
|
/* this.selectSysDataDictList()
|