新增分享二维码

This commit is contained in:
zdx
2020-12-31 13:15:31 +08:00
parent cff94e05f6
commit aa94413f67
12 changed files with 422 additions and 145 deletions

View File

@@ -46,7 +46,7 @@ Page({
// 获取企业风采列表
graces() {
wx.$api.companyModule.graces(this.data.company_id, this.data.page).then(res => {
wx.$api.companyModule.graces(wx.getStorageSync('company_id'), this.data.page).then(res => {
console.log(res);
var lists = this.data.lists.concat(res.data)
if (res.page.has_more) {
@@ -65,7 +65,7 @@ Page({
},
// 获取企业宣传视频列表
videos() {
wx.$api.companyModule.videos(this.data.company_id, this.data.page).then(res => {
wx.$api.companyModule.videos(wx.getStorageSync('company_id'), this.data.page).then(res => {
console.log(res);
var lists = this.data.lists.concat(res.data)
if (res.page.has_more) {
@@ -84,7 +84,7 @@ Page({
},
// 获取企业员工页面
users() {
wx.$api.companyModule.users(this.data.company_id, this.data.page).then(res => {
wx.$api.companyModule.users(wx.getStorageSync('company_id'), this.data.page).then(res => {
console.log(res);
var lists = this.data.lists.concat(res.data)
if (res.page.has_more) {