|
@@ -49,8 +49,8 @@ function downFile(blob, fileName) {
|
|
|
|
|
|
export default {
|
|
export default {
|
|
getJson: function (url, data, success, failed, err) {
|
|
getJson: function (url, data, success, failed, err) {
|
|
- // let ProjectId = localStorage.getItem("projectId")
|
|
|
|
- let ProjectId = "Pj1101050029"
|
|
|
|
|
|
+ let ProjectId = localStorage.getItem("projectId")
|
|
|
|
+ // let ProjectId = "Pj1101050029"
|
|
let userName = storage.get("user_name")
|
|
let userName = storage.get("user_name")
|
|
let vm = this;
|
|
let vm = this;
|
|
fetch({
|
|
fetch({
|
|
@@ -65,8 +65,8 @@ export default {
|
|
});
|
|
});
|
|
},
|
|
},
|
|
postJson: function (url, data, success, failed, err) {
|
|
postJson: function (url, data, success, failed, err) {
|
|
- // let ProjectId = localStorage.getItem("projectId")
|
|
|
|
- let ProjectId = "Pj1101050029"
|
|
|
|
|
|
+ let ProjectId = localStorage.getItem("projectId")
|
|
|
|
+ // let ProjectId = "Pj1101050029"
|
|
let userName = storage.get("user_name")
|
|
let userName = storage.get("user_name")
|
|
let vm = this;
|
|
let vm = this;
|
|
fetch({
|
|
fetch({
|