master
lion 1 month ago
parent 062daab840
commit cb3886a0e1

@ -210,7 +210,22 @@
this.userId = uni.getStorageSync('userInfo_Bd').id this.userId = uni.getStorageSync('userInfo_Bd').id
this.checkForm.visit_id = parseInt(options.id) this.checkForm.visit_id = parseInt(options.id)
this.loadDetail() this.loadDetail()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {
checkSubmit() { checkSubmit() {
let that = this let that = this

@ -155,7 +155,22 @@
onLoad() { onLoad() {
this.getBdInfo() this.getBdInfo()
this.loadList() this.loadList()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.select.page = 1 this.select.page = 1
this.loadList() this.loadList()

@ -105,7 +105,22 @@
this.nowadminID = uni.getStorageSync('userInfo_Bd').id this.nowadminID = uni.getStorageSync('userInfo_Bd').id
console.log("this.nowadminID",this.nowadminID) console.log("this.nowadminID",this.nowadminID)
this.loadList() this.loadList()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.select.page = 1 this.select.page = 1
this.loadList() this.loadList()

@ -36,7 +36,22 @@
this.id = options.id this.id = options.id
this.host = this.util.HOST this.host = this.util.HOST
this.loadDetail() this.loadDetail()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {
onClick(type) { onClick(type) {
if (type == 'save') { if (type == 'save') {

@ -51,6 +51,20 @@
onShow(){ onShow(){
this.isBd = uni.getStorageSync("userInfo_BD_token").token this.isBd = uni.getStorageSync("userInfo_BD_token").token
console.log("bd",this.isBd) console.log("bd",this.isBd)
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {
toUrl(type) { toUrl(type) {

@ -51,6 +51,20 @@
}, },
onLoad() { onLoad() {
this.winHeight = uni.getSystemInfoSync().screenHeight - uni.getSystemInfoSync().statusBarHeight * 2 - 20; this.winHeight = uni.getSystemInfoSync().screenHeight - uni.getSystemInfoSync().statusBarHeight * 2 - 20;
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {

@ -488,7 +488,22 @@
this.form = uni.getStorageSync('formdata') this.form = uni.getStorageSync('formdata')
} }
// this.getAdminList() // this.getAdminList()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
onReady() {}, onReady() {},
methods: { methods: {
init() { init() {

@ -188,7 +188,22 @@
onLoad(options) { onLoad(options) {
this.id = options.id this.id = options.id
this.loadDetail() this.loadDetail()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {
closeshowCodes() { closeshowCodes() {
this.showCodes = false this.showCodes = false

@ -94,7 +94,22 @@
}, 1000) }, 1000)
} }
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {
async getStudy() { async getStudy() {
let that = this let that = this

@ -23,7 +23,22 @@
onLoad(options) { onLoad(options) {
this.iscall=options.iscall?true:false this.iscall=options.iscall?true:false
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {
toHistory() { toHistory() {
let url = '/pages/visit/visithistory' let url = '/pages/visit/visithistory'

@ -64,7 +64,22 @@
this.getFormdata() this.getFormdata()
this.getStudy() this.getStudy()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
methods: { methods: {
getFormdata(){ getFormdata(){
// let res = uni.getStorageSync('formdata') // let res = uni.getStorageSync('formdata')

@ -102,6 +102,21 @@
this.form = res this.form = res
} }
}, },
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
methods:{ methods:{
onAgreePrivacy() { onAgreePrivacy() {
// //

@ -88,7 +88,22 @@
}, },
onLoad() { onLoad() {
this.loadList() this.loadList()
},
onShareAppMessage() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
},
onShareTimeline() {
return {
title: 'BD访客系统',
path: '/pages/index/index',
// imageUrl: this.logoIndex
}
}, },
onPullDownRefresh() { onPullDownRefresh() {
this.select.page = 1 this.select.page = 1
this.loadList() this.loadList()

@ -0,0 +1,25 @@
{
"setting": {
"es6": true,
"postcss": true,
"minified": true,
"uglifyFileName": false,
"enhance": true,
"packNpmRelationList": [],
"babelSetting": {
"ignore": [],
"disablePlugins": [],
"outputPath": ""
},
"useCompilerPlugins": false,
"minifyWXML": true
},
"compileType": "miniprogram",
"simulatorPluginLibVersion": {},
"packOptions": {
"ignore": [],
"include": []
},
"appid": "wx35190cc07e73eda1",
"editorSetting": {}
}

@ -0,0 +1,14 @@
{
"libVersion": "3.14.3",
"projectname": "szbd-vistor-wx",
"setting": {
"urlCheck": true,
"coverView": true,
"lazyloadPlaceholderEnable": false,
"skylineRenderEnable": false,
"preloadBackgroundData": false,
"autoAudits": false,
"showShadowRootInWxmlPanel": true,
"compileHotReLoad": true
}
}
Loading…
Cancel
Save