Commit c2d58f54 authored by sjf1256754123's avatar sjf1256754123

demo

parent 01df31be
...@@ -2011,7 +2011,6 @@ ...@@ -2011,7 +2011,6 @@
} }
// 复选框展示和隐藏 // 复选框展示和隐藏
if (type === 'pickerMore') { if (type === 'pickerMore') {
console.log(evt)
const nullList = ['无上述情况','以上均无'] const nullList = ['无上述情况','以上均无']
const checkList = item.opts const checkList = item.opts
let val = evt.detail.value; let val = evt.detail.value;
...@@ -2038,7 +2037,6 @@ ...@@ -2038,7 +2037,6 @@
}, },
isShowChild() { isShowChild() {
console.log(this.form['returnToWork'])
this.list[10].hidden = this.form['returnToWork'] == 'a' this.list[10].hidden = this.form['returnToWork'] == 'a'
}, },
...@@ -2051,7 +2049,6 @@ ...@@ -2051,7 +2049,6 @@
}, },
// 更新下拉框绑定的表单内容 // 更新下拉框绑定的表单内容
updatePickerVal(event, item) { updatePickerVal(event, item) {
console.log(event)
const opts = item.opts const opts = item.opts
const prop = item.value const prop = item.value
const val = event.detail.value const val = event.detail.value
...@@ -2072,7 +2069,6 @@ ...@@ -2072,7 +2069,6 @@
}, },
// 提交信息 // 提交信息
formSubmit() { formSubmit() {
console.log(this.form)
let flag = true let flag = true
let msg = '' let msg = ''
for (let i = 0; i < this.list.length; i++) { for (let i = 0; i < this.list.length; i++) {
......
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
<button class="btnStaff" type="primary" @click="staff">员工填报</button> <button class="btnStaff" type="primary" @click="staff">员工填报</button>
<button class="btnSecurity" type="primary" @click="security">安保测温</button> <button class="btnSecurity" type="primary" @click="security">安保测温</button>
<image class="img" src="../../static/22.jpg" mode="" ></image> <image class="img" src="../../static/22.jpg" mode="" ></image>
{{option.userId?option.userId:''}}
<view class="tips"> <view class="tips">
入园请向门卫出示健康码 入园请向门卫出示健康码
</view> </view>
...@@ -18,9 +19,15 @@ ...@@ -18,9 +19,15 @@
components: {}, components: {},
name: "home", name: "home",
data() { data() {
return {}; return {
option:{
userId:''
}
};
}, },
onLoad: function(option) { onLoad: function(option) {
console.log(option)
this.option = option
let that = this let that = this
// #ifdef MP-WEIXIN // #ifdef MP-WEIXIN
wx.login({ wx.login({
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
}; };
}, },
onLoad: function(option) { onLoad: function(option) {
console.log(option)
}, },
onShow() {}, onShow() {},
methods: { methods: {
...@@ -51,7 +51,6 @@ ...@@ -51,7 +51,6 @@
}).catch(err => { }).catch(err => {
console.log(err) console.log(err)
}) })
}, },
// 体温异常 // 体温异常
abnormal() { abnormal() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment