Pārlūkot izejas kodu

春耕

rongxin_prod
zhao pirms 2 gadiem
vecāks
revīzija
0bf284eb99
4 mainītis faili ar 6 papildinājumiem un 3 dzēšanām
  1. +2
    -1
      src/views/chungengFarmerSSOLogin.vue
  2. +1
    -1
      src/views/chungengUserSSOLogin.vue
  3. +3
    -0
      src/views/sunVillage_info/index_code.vue
  4. +0
    -1
      src/views/sunVillage_info/index_code_rights.vue

+ 2
- 1
src/views/chungengFarmerSSOLogin.vue Parādīt failu

@@ -27,7 +27,7 @@ export default {
let idcard = 'e49446695d1e82935bbc0cc7e440a8f739f2c015dc029dccb15380b896e7f71b';
// idcard = '8feee543fdf8c9cdca7928c9b501908b0b353515cbd0da854519651dafea96c8';
// name = '6e067f6d57682232cc32096e86487c5e';
let ts = '525e902f509a7147ad92e602139bd267';
let ts = '1234567890123';
return name + '#' + idcard + '#' + ts;
}
else
@@ -49,6 +49,7 @@ export default {
});
return false;
}
Cookies.set('bookId', '', { expires: 1 });
this.$store.dispatch("ChungengFarmerLogin", {code})
.then((data) => {
Cookies.set('deptId', data.deptId, { expires: 30 });


+ 1
- 1
src/views/chungengUserSSOLogin.vue Parādīt failu

@@ -24,7 +24,7 @@ export default {
return this.$route.query.s;
let phone = '704d238d95b61f8304ce9e9c2d70e0bf';
//phone = '525e902f509a7147ad92e602139bd267'
let ts = '525e902f509a7147ad92e602139bd267';
let ts = '1234567890123';
return phone + '#' + ts;
}
else


+ 3
- 0
src/views/sunVillage_info/index_code.vue Parādīt failu

@@ -100,6 +100,8 @@
},
created() {

if(this.$route.query.bookId)
{
bookInfo(this.$route.query.bookId).then((res) => {
if (res.code == 200) {
Cookies.set("bookName", res.data.bookName, {
@@ -115,6 +117,7 @@
Cookies.set("bookId", this.$route.query.bookId, {
expires: 30,
});
}
Cookies.set("deptId", this.$route.query.deptId, {
expires: 30,
});


+ 0
- 1
src/views/sunVillage_info/index_code_rights.vue Parādīt failu

@@ -75,7 +75,6 @@
created() {
this.deptId = Cookies.get('deptId')
this.bookId = Cookies.get('bookId')
console.log(this.bookId);
if(this.bookId)
{
bookInfo(this.bookId).then((res) => {


Notiek ielāde…
Atcelt
Saglabāt