|
@@ -170,6 +170,7 @@ export default {
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
+ staff_num:"",
|
|
|
token: "",
|
|
|
// token: sessionStorage.getItem("mytoken")
|
|
|
// ? sessionStorage.getItem("mytoken")
|
|
@@ -619,6 +620,7 @@ export default {
|
|
|
{
|
|
|
completion_time: timeup,
|
|
|
picture_id: picid,
|
|
|
+ staff_num:this.staff_num
|
|
|
}
|
|
|
)
|
|
|
.then((res) => {
|
|
@@ -640,6 +642,7 @@ export default {
|
|
|
"http://ningdongyunying.nxjiewei.com:8011/api/jigsawPuzzle/pictureList",
|
|
|
{
|
|
|
special_id: id,
|
|
|
+ staff_num:this.staff_num
|
|
|
}
|
|
|
)
|
|
|
.then((res) => {
|
|
@@ -655,6 +658,7 @@ export default {
|
|
|
"http://ningdongyunying.nxjiewei.com:8011/api/jigsawPuzzle/getPercentCompleteData",
|
|
|
{
|
|
|
special_id: id,
|
|
|
+ staff_num:this.staff_num
|
|
|
}
|
|
|
)
|
|
|
.then((res) => {
|
|
@@ -695,7 +699,9 @@ export default {
|
|
|
mounted() {
|
|
|
document.body.style.backgroundColor = "#39f"; //背景色
|
|
|
this.gettoken = getAllUrlParams(window.location.href).token;
|
|
|
- this.token = `Bearer ${this.gettoken}`; //获取token值
|
|
|
+ // this.token = `Bearer ${this.gettoken}`; //获取token值
|
|
|
+ this.staff_num = getAllUrlParams(window.location.href).staff_num;
|
|
|
+
|
|
|
// this.token=getAllUrlParams(window.location.href).token;
|
|
|
// console.log(this.token);
|
|
|
// this.token =
|