|
@@ -622,7 +622,7 @@ export default {
|
622
|
622
|
};
|
623
|
623
|
|
624
|
624
|
|
625
|
|
- axios.get('http://127.0.0.1:9532/test/net',{}).then(function(response) {
|
|
625
|
+ axios.get('http://127.0.0.1:9531/test/net',{}).then(function(response) {
|
626
|
626
|
if (response.data.state == 0) {
|
627
|
627
|
that.isloading = false
|
628
|
628
|
|
|
@@ -638,8 +638,10 @@ export default {
|
638
|
638
|
.catch(() => {});
|
639
|
639
|
return false
|
640
|
640
|
} else {
|
641
|
|
-
|
|
641
|
+ console.log("-------ssajsnaskjnajska")
|
642
|
642
|
that.tableData = []
|
|
643
|
+ console.log(that.stock_type)
|
|
644
|
+
|
643
|
645
|
if(that.stock_type == 1){
|
644
|
646
|
axios.get('http://127.0.0.1:9532/api/3508',{params:params}).then(function(response) {
|
645
|
647
|
if (response.data.state == 0) {
|
|
@@ -751,7 +753,8 @@ export default {
|
751
|
753
|
}).catch(function(error) {
|
752
|
754
|
})
|
753
|
755
|
|
754
|
|
- }else if(this.stock_type == 6){
|
|
756
|
+ }else if(that.stock_type == 6){
|
|
757
|
+
|
755
|
758
|
axios.get('http://127.0.0.1:9532/api/35081',{params:params}).then(function(response) {
|
756
|
759
|
if (response.data.state == 0) {
|
757
|
760
|
that.$message.error(response.data.data.msg);
|