| | |
| | | }, |
| | | loadMember () { |
| | | allList({ |
| | | type: 2 |
| | | type: 2, |
| | | companyType: 1 |
| | | }) |
| | | .then(res => { |
| | | this.memberList = res |
| | |
| | | <!-- --> |
| | | <template v-slot:footer> |
| | | <el-button @click="agreeOpen" type="primary" v-if="model.approveDateVO!=null&& model.approveDateVO.canBeApproved!=null &&model.approveDateVO.canBeApproved ==1 " class="status-red">同意</el-button> |
| | | <el-button @click="isBackProblem=true" type="danger" v-if="model.approveDateVO!=null&& model.approveDateVO.canBeApproved!=null &&model.approveDateVO.canBeApproved ==1 " >拒绝</el-button> |
| | | <el-button @click="jectOpen" type="danger" v-if="model.approveDateVO!=null&& model.approveDateVO.canBeApproved!=null &&model.approveDateVO.canBeApproved ==1 " >拒绝</el-button> |
| | | <el-button @click="visible=false">返回</el-button> |
| | | </template> |
| | | <el-dialog |
| | |
| | | }, |
| | | agreeOpen () { |
| | | this.isShowProblem = true |
| | | this.dealForm = { |
| | | driveId: null, |
| | | checkInfo: null |
| | | } |
| | | this.loadMemberList() |
| | | }, |
| | | jectOpen () { |
| | | this.isBackProblem = true |
| | | this.dealForm = { |
| | | driveId: null, |
| | | checkInfo: null |
| | | } |
| | | }, |
| | | backDo () { |
| | | this.$refs.backForm.validate((valid) => { |
| | | if (!valid) { |
| | |
| | | }, |
| | | loadMember () { |
| | | allList({ |
| | | type: 2 |
| | | type: 2, |
| | | companyType: 1 |
| | | }) |
| | | .then(res => { |
| | | this.memberList = res |
| | |
| | | if (!valid) { |
| | | return |
| | | } |
| | | const { param } = this |
| | | if (param.starttime.slice(0, 10) !== param.endtime.slice(0, 10)) return this.$tip.error('入园时间和离园时间不可跨天') |
| | | // 调用新建接口 |
| | | this.isWorking = true |
| | | createFk({ |
| | |
| | | this.carsList = res |
| | | }) |
| | | findTypeMemberInfo({ |
| | | type: '2' |
| | | type: '2', |
| | | companyType: 1 |
| | | }).then(res => { |
| | | this.memberList = res || [] |
| | | }) |
| | |
| | | <div class="config_data_submit"> |
| | | <el-button |
| | | @click="onSubmit" |
| | | :loading="subLoading" |
| | | style="background: #435ebe" |
| | | type="primary" |
| | | >保存配置项</el-button |
| | |
| | | data () { |
| | | return { |
| | | activeType: '0', |
| | | subLoading: false, |
| | | apprList: [ |
| | | { remark: '审批人', active: false, type: '0', objIds: [] }, |
| | | { remark: '抄送人', active: false, type: '1', objIds: [] } |
| | |
| | | item.objIds = '' |
| | | } |
| | | }) |
| | | this.subLoading = true |
| | | approveTemplSave({ |
| | | type: activeType, |
| | | paramList: temp |
| | | }).then(res => { |
| | | // if (res.code === 200) { |
| | | this.$message.success('保存成功') |
| | | // } |
| | | this.subLoading = false |
| | | this.$tip.success('保存成功') |
| | | }, () => { |
| | | this.subLoading = false |
| | | }) |
| | | }, |
| | | handleDel () { |
| | |
| | | <div class="head">{{ item.remark }}</div> |
| | | <div class="content"> |
| | | <div v-if="item.objIds && item.objIds.length === 1 "> |
| | | <span>{{ item.objIds[0].name }} {{ item.objIds[0].companyName }}</span> |
| | | <span v-if="item.approveType == 0 && item.type == '0'"> 或签</span> |
| | | <span v-if="item.approveType == 1 && item.type == '0'"> 会签</span> |
| | | <span |
| | | >{{ item.objIds[0].name }} |
| | | {{ item.objIds[0].companyName }}</span |
| | | > |
| | | <span v-if="item.approveType == 0 && item.type == '0'"> |
| | | 或签</span |
| | | > |
| | | <span v-if="item.approveType == 1 && item.type == '0'"> |
| | | 会签</span |
| | | > |
| | | </div> |
| | | <div v-else-if="item.objIds && item.objIds.length > 1"> |
| | | <span>{{ item.objIds[0].name }} 等</span> |
| | | <span v-if="item.approveType == 0 && item.type == '0'"> 或签</span> |
| | | <span v-if="item.approveType == 1 && item.type == '0'"> 会签</span> |
| | | <span v-if="item.approveType == 0 && item.type == '0'"> |
| | | 或签</span |
| | | > |
| | | <span v-if="item.approveType == 1 && item.type == '0'"> |
| | | 会签</span |
| | | > |
| | | </div> |
| | | <div v-else>请选择</div> |
| | | <i class="el-icon-arrow-right"></i> |
| | |
| | | </div> |
| | | <div class="config_data_item_reviewed_content"> |
| | | <div |
| | | v-for="mem,memIndex in apprList[activeIndex].objIds" |
| | | v-for="(mem, memIndex) in apprList[activeIndex].objIds" |
| | | :key="mem.id" |
| | | class="config_data_item_reviewed_content_item" |
| | | > |
| | |
| | | <div class="config_data_item_reviewed_r"> |
| | | <span>被访人的</span> |
| | | <el-select |
| | | v-model="apprList[activeIndex].level" |
| | | v-model="apprList[activeIndex].objLevel" |
| | | placeholder="请选择" |
| | | style="margin: 0 20px 0 10px" |
| | | > |
| | |
| | | <div class="config_data_submit"> |
| | | <el-button |
| | | @click="onSubmit" |
| | | :loading="subLoading" |
| | | style="background: #435ebe" |
| | | type="primary" |
| | | >保存配置项</el-button |
| | |
| | | data () { |
| | | return { |
| | | activeType: '2', |
| | | subLoading: false, |
| | | apprList: [ |
| | | { remark: '审批人', active: false, type: '0', objIds: [] }, |
| | | { remark: '抄送人', active: false, type: '1', objIds: [] } |
| | |
| | | item.objIds = '' |
| | | } |
| | | }) |
| | | this.subLoading = true |
| | | approveTemplSave({ |
| | | type: activeType, |
| | | paramList: temp |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | this.$message.success('保存成功') |
| | | } |
| | | this.subLoading = false |
| | | this.$tip.success('保存成功') |
| | | }, () => { |
| | | this.subLoading = false |
| | | }) |
| | | }, |
| | | handleDel () { |
| | |
| | | </el-form-item> |
| | | <el-form-item label="会议状态" prop="status"> |
| | | <el-select |
| | | v-model="searchForm.status" |
| | | v-model="searchForm.meetingStatus" |
| | | filterable |
| | | clearable |
| | | placeholder="请选择状态" |
| | |
| | | align="center" |
| | | min-width="100px" |
| | | ></el-table-column> |
| | | <el-table-column label="状态" align="center" min-width="60px"> |
| | | <el-table-column label="会议状态" align="center" min-width="60px"> |
| | | <template slot-scope="{ row }"> |
| | | <span v-if="row.status == 0" style="color: rgb(127, 178, 53)" |
| | | >正常</span |
| | | > |
| | | <span v-else style="color: rgb(234, 54, 38)">取消</span> |
| | | <span v-if="row.meetingStatus == 1">未开始</span> |
| | | <span v-if="row.meetingStatus == 2">进行中</span> |
| | | <span v-if="row.meetingStatus == 3">已结束</span> |
| | | <span v-if="row.meetingStatus == 4">即将开始</span> |
| | | <span v-if="row.meetingStatus == 5">已撤销</span> |
| | | <!-- {{ row.status==0 ? '正常' : '取消' }} --> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | prop="createDate" |
| | | label="创建时间" |
| | | align="center" |
| | | min-width="100px" |
| | | min-width="150px" |
| | | ></el-table-column> |
| | | <!-- <el-table-column prop="content" label="会议内容" min-width="100px"></el-table-column> --> |
| | | <el-table-column |
| | |
| | | @click="$refs.operaBookingsDetailWindow.open('会议详情', row)" |
| | | >查看详情</el-button |
| | | > |
| | | <!-- <el-button v-if="row.flag == 0" type="text" @click="$refs.operaBookingsWindow.open('编辑会议预约', row)" v-permissions="['business:bookings:update']">修改</el-button> --> |
| | | <el-button v-if="row.meetingStatus == '1'" type="text" @click="$refs.operaBookingsWindow.open('编辑会议预约', row)" v-permissions="['business:bookings:update']">编辑</el-button> |
| | | <!-- <el-button type="text" @click="copy(row)">复制</el-button> --> |
| | | <!-- <el-button v-if="row.flag == 0" type="text" @click="cancelMeeting(row.id)" v-permissions="['business:bookings:update']">取消</el-button> --> |
| | | <el-button v-if="row.meetingStatus == '1'" type="text" @click="cancelMeeting(row.id)" v-permissions="['business:bookings:update']">撤回</el-button> |
| | | </template> |
| | | <!-- <el-button v-else type="text" @click="deleteById(row)" v-permissions="['business:bookings:delete']">删除</el-button> --> |
| | | </template> |
| | |
| | | // departmentId: [], |
| | | department: [], |
| | | realName: '', |
| | | status: '', |
| | | meetingStatus: '', |
| | | createDate: '', |
| | | editor: '', |
| | | editDate: '', |
| | |
| | | { name: '开发部门', id: '0' } |
| | | ], |
| | | status: [ |
| | | { name: '全部', id: '' }, |
| | | { name: '正常', id: '0' }, |
| | | { name: '取消', id: '1' } |
| | | { name: '未开始', id: 1 }, |
| | | { name: '即将开始', id: 4 }, |
| | | { name: '进行中', id: 2 }, |
| | | { name: '已撤销', id: 5 }, |
| | | { name: '已结束', id: 3 } |
| | | ], |
| | | link: 'https://dmtest.ahapp.net/meeting_h5/' // H5_LINK_ADDR |
| | | } |
| | |
| | | userList({ |
| | | page: 1, |
| | | capacity: 9999, |
| | | model: { realname: this.filterText } |
| | | model: { realname: this.filterText, memberType: 2 } |
| | | }) |
| | | .then(res => { |
| | | console.log('userList', res) |
| | |
| | | userList({ |
| | | page: 1, |
| | | capacity: 9999, |
| | | memberType: 2, |
| | | model: { realname: this.filterText } |
| | | }) |
| | | .then(res => { |
| | |
| | | <div class="config_data_item_reviewed_r"> |
| | | <span>被访人的</span> |
| | | <el-select |
| | | v-model="apprList[activeIndex].level" |
| | | v-model="apprList[activeIndex].objLevel" |
| | | placeholder="请选择" |
| | | style="margin: 0 20px 0 10px" |
| | | > |
| | |
| | | <div class="config_data_submit"> |
| | | <el-button |
| | | @click="onSubmit" |
| | | :loading="subLoading" |
| | | style="background: #435ebe" |
| | | type="primary" |
| | | >保存配置项</el-button |
| | |
| | | data () { |
| | | return { |
| | | activeType: '3', |
| | | subLoading: false, |
| | | apprList: [ |
| | | { remark: '审批人', active: false, type: '0', objIds: [] }, |
| | | { remark: '抄送人', active: false, type: '1', objIds: [] } |
| | |
| | | item.objIds = '' |
| | | } |
| | | }) |
| | | this.subLoading = true |
| | | approveTemplSave({ |
| | | type: activeType, |
| | | paramList: temp |
| | | }).then(res => { |
| | | // if (res.code === 200) { |
| | | this.subLoading = false |
| | | this.$tip.success('保存成功') |
| | | // } |
| | | }, () => { |
| | | this.subLoading = false |
| | | }) |
| | | }, |
| | | handleDel () { |
| | |
| | | }) |
| | | } |
| | | if (row.objType === 2) { |
| | | this.$refs.OperaDetailsWindow.open('公务车申请详情', row) |
| | | this.$refs.OperaDetailsWindow.open('公务车申请详情', { ...row, id: row.objId }) |
| | | return |
| | | } |
| | | if (row.objType === 1) { |
| | |
| | | <!-- 同意/拒绝 --> |
| | | <el-dialog |
| | | append-to-body |
| | | :title="apprTitle" |
| | | :title="param.status == 2 ? '同意' : '拒绝'" |
| | | :visible.sync="isShowAppr" |
| | | width="480px" |
| | | > |
| | |
| | | handleAppr (val) { |
| | | this.$set(this.param, 'status', val) |
| | | this.isShowAppr = true |
| | | this.$nextTick(() => { |
| | | this.$refs.ruleForm.clearValidate() |
| | | }) |
| | | }, |
| | | confirm () { |
| | | console.log('--') |
| | |
| | | import { wxAuthorize, refreshToken } from '@/api' |
| | | export default { |
| | | onLaunch: function () { |
| | | var that = this |
| | | if (!that.$store.state.openid) { |
| | | let url = window.location.href |
| | | let code = '' |
| | | let source = '' |
| | | if (url.indexOf('code=') !== -1) { |
| | | const query = url.split('?') |
| | | console.log('app-app', url) |
| | | for (const q of query) { |
| | | if (q.indexOf('code=') !== -1) { |
| | | code = q.substring(q.indexOf('code=') + 5, q.length) |
| | | } |
| | | if (q.indexOf('source=') !== -1) { |
| | | source = q.substring(q.indexOf('source=') + 7,q.indexOf('source=') + 8 ) |
| | | } |
| | | } |
| | | wxAuthorize({ |
| | | code: code, |
| | | source |
| | | }).then(res => { |
| | | console.log('app_ress', res) |
| | | if (res.code === 200) { |
| | | that.$store.commit('setOpenId', res.data.openid) |
| | | if (res.data.member) { |
| | | that.$store.commit('setMember', res.data.member) |
| | | } |
| | | } |
| | | }) |
| | | } else { |
| | | // const appID = 'wx4d7c10bdec51942b' |
| | | // let uri = encodeURIComponent(url) |
| | | // let authURL = |
| | | // `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appID}&redirect_uri=${uri}&response_type=code&scope=snsapi_base&state=123#wechat_redirect` |
| | | // window.location.href = authURL |
| | | } |
| | | } |
| | | // 刷新token |
| | | const token = uni.getStorageSync('token') |
| | | // if (token) { |
| | | // refreshToken().then(res => { |
| | | // if(res.code && res.code === 200){ |
| | | // this.$store.commit('setToken', res.data) |
| | | // } |
| | | // }) |
| | | // } |
| | | |
| | | }, |
| | | onShow: function () { |
| | | console.log('App Show') |
| | |
| | | import './uni.promisify.adaptor' |
| | | import uView from "uview-ui" |
| | | import store from './store/index.js' |
| | | |
| | | import Tabbar from '@/components/tarbar.vue' |
| | | import navigation from '@/components/Header.vue' |
| | | |
| | | Vue.config.productionTip = false |
| | | |
| | | // 异步hook |
| | | |
| | | // Vue.prototype.$baseUrl = 'https://dmtest.ahapp.net/h5_api/'; |
| | | // Vue.prototype.$baseUrl = 'http://facepay.huasunsolar.com/web_interface/'; |
| | | // Vue.prototype.$baseUrl = 'http://218.23.218.228:8018/web_interface/' |
| | | Vue.use(uView) |
| | | Vue.component('Tabbar', Tabbar) |
| | | Vue.component('navigation', navigation) |
| | | Vue.prototype.$store = store |
| | | Vue.prototype.$jump = (url) => { |
| | | uni.navigateTo({ |
| | | url |
| | | }) |
| | | } |
| | | Vue.prototype.$jump = (url) => {uni.navigateTo({url})} |
| | | Vue.prototype.$goBack = () => { uni.navigateBack() } |
| | | Vue.prototype.$eventBus = new Vue() |
| | | Vue.prototype.$onWait = new Promise((resolve) => { |
| | |
| | | item.status = '0' |
| | | item.selAnswer = null |
| | | }) |
| | | console.log(res.data) |
| | | this.list = res.data |
| | | } |
| | | // res.param.problemsDOList.forEach(item => { |
| | |
| | | }, |
| | | // 单选选择中题目 |
| | | select(line, i) { |
| | | if (this.status === '2') return |
| | | if (this.status != '0') return |
| | | this.list.forEach((item, index) => { |
| | | if (index === i) { |
| | | item.selAnswer = line.code |
| | |
| | | // this.problemIndex = index |
| | | }, |
| | | changeBox(index, jeck) { |
| | | if (this.status === '2') return |
| | | if (this.status != '0') return |
| | | this.list.forEach((item, i) => { |
| | | if (index === i) { |
| | | item.options.forEach((item2, j) => { |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import image from 'uview-ui/libs/config/props/image' |
| | | |
| | | import { wxAuthorize } from '@/api' |
| | | export default { |
| | | |
| | | data() { |
| | |
| | | }) |
| | | return true |
| | | }, |
| | | onLoad() { |
| | | var that = this |
| | | // if (!that.$store.state.openid) { |
| | | let url = window.location.href |
| | | let code = '' |
| | | let source = '' |
| | | if (url.indexOf('code=') !== -1) { |
| | | const query = url.split('?') |
| | | console.log('app-app', url) |
| | | for (const q of query) { |
| | | if (q.indexOf('code=') !== -1) { |
| | | code = q.substring(q.indexOf('code=') + 5, q.length) |
| | | } |
| | | // if (q.indexOf('source=') !== -1) { |
| | | // source = q.substring(q.indexOf('source=') + 7, q.indexOf('source=') + 8) |
| | | // } |
| | | // 来源:0=司机;1=访客;2=内部员工 |
| | | } |
| | | wxAuthorize({ |
| | | code: code, |
| | | source: 1 |
| | | }).then(res => { |
| | | console.log('app_ress', res) |
| | | if (res.code === 200) { |
| | | that.$store.commit('setOpenId', res.data.openid) |
| | | if (res.data.member) { |
| | | that.$store.commit('setMember', res.data.member) |
| | | } |
| | | } |
| | | }) |
| | | } else { |
| | | // const appID = 'wx4d7c10bdec51942b' |
| | | // let uri = encodeURIComponent(url) |
| | | // let authURL = |
| | | // `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appID}&redirect_uri=${uri}&response_type=code&scope=snsapi_base&state=123#wechat_redirect` |
| | | // window.location.href = authURL |
| | | } |
| | | // } |
| | | }, |
| | | methods: { |
| | | jump(type) { |
| | | switch (type) { |
| | |
| | | if (!this.$store.state.openId) { |
| | | this.initToken() |
| | | } |
| | | timer = setInterval(() => { |
| | | this.num-- |
| | | if (this.num === 0) { |
| | | clearInterval(timer) |
| | | } |
| | | }, 1000) |
| | | }, |
| | | methods: { |
| | | initToken() { |
| | |
| | | this.content = res.data.code |
| | | } |
| | | }) |
| | | // 倒计时时间 |
| | | getSystemDictData({ |
| | | dictCode: 'SYSTEM', |
| | | label: 'NOTICE_CUTNTDOWN' |
| | | }).then(res => { |
| | | if (res.code === 200) { |
| | | this.num = res.data.code |
| | | timer = setInterval(() => { |
| | | this.num-- |
| | | if (this.num === 0) { |
| | | clearInterval(timer) |
| | | } |
| | | }, 1000) |
| | | } |
| | | }) |
| | | // 是否需要答题 |
| | | getSystemDictData({ |
| | | dictCode: 'SYSTEM', |
| | |
| | | <image class="img" src="@/static/staff/ic_renwuzhongxin.png"></image> |
| | | <view class="h1">任务中心</view> |
| | | <view class="h2">TASK CENTER</view> |
| | | <view class="task_num">{{ taskInfo.noticeWaitNum + taskInfo.noticeCopyNum }}</view> |
| | | <view class="task_num">{{ |
| | | taskInfo.noticeWaitNum + taskInfo.noticeCopyNum |
| | | }}</view> |
| | | </view> |
| | | <view class="img_wrap" @click="jump('/pages/staff/meetingCalendar')"> |
| | | <image class="img" src="@/static/staff/ic_wodehuiyi.png"></image> |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { logoutPost, stagingHead } from '@/api' |
| | | import { logoutPost, stagingHead, wxAuthorize, refreshToken } from '@/api' |
| | | export default { |
| | | data() { |
| | | return { |
| | |
| | | } |
| | | }, |
| | | onLoad() { |
| | | }, |
| | | onShow() { |
| | | if (this.userInfo && this.userInfo.memberId) { |
| | | this.getTaskInfo() |
| | | var that = this |
| | | // if (!that.$store.state.openid) { |
| | | let url = window.location.href |
| | | let code = '' |
| | | let source = '' |
| | | if (url.indexOf('code=') !== -1) { |
| | | const query = url.split('?') |
| | | console.log('app-app', url) |
| | | for (const q of query) { |
| | | if (q.indexOf('code=') !== -1) { |
| | | code = q.substring(q.indexOf('code=') + 5, q.length) |
| | | } |
| | | // if (q.indexOf('source=') !== -1) { |
| | | // source = q.substring(q.indexOf('source=') + 7, q.indexOf('source=') + 8) |
| | | // } |
| | | // 来源:0=司机;1=访客;2=内部员工 |
| | | } |
| | | wxAuthorize({ |
| | | code: code, |
| | | source: 2 |
| | | }).then(res => { |
| | | console.log('app_ress', res) |
| | | if (res.code === 200) { |
| | | that.$store.commit('setOpenId', res.data.openid) |
| | | if (res.data.member) { |
| | | that.$store.commit('setMember', res.data.member) |
| | | } |
| | | } |
| | | }) |
| | | } else { |
| | | // const appID = 'wx4d7c10bdec51942b' |
| | | // let uri = encodeURIComponent(url) |
| | | // let authURL = |
| | | // `https://open.weixin.qq.com/connect/oauth2/authorize?appid=${appID}&redirect_uri=${uri}&response_type=code&scope=snsapi_base&state=123#wechat_redirect` |
| | | // window.location.href = authURL |
| | | } |
| | | // } |
| | | this.getTaskInfo() |
| | | // 刷新token |
| | | // const token = uni.getStorageSync('token') |
| | | // if (token) { |
| | | // refreshToken().then(res => { |
| | | // if (res.code && res.code === 200) { |
| | | // this.$store.commit('setToken', res.data) |
| | | // console.log('res', res.data); |
| | | // // setTimeout(() => { |
| | | // // this.getTaskInfo() |
| | | // // }, 1000) |
| | | // } |
| | | // }) |
| | | // } |
| | | }, |
| | | mounted() { |
| | | this.$eventBus.$on('taskBack', () => { |
| | | this.getTaskInfo() |
| | | }) |
| | | }, |
| | | methods: { |
| | | jump(path) { |
| | |
| | | // this.dataList = [] |
| | | this.getList() |
| | | }, |
| | | onBackPress(options) { |
| | | setTimeout(()=>{ |
| | | this.$eventBus.$emit('taskBack') |
| | | }) |
| | | return false |
| | | }, |
| | | onShow() { |
| | | this.pagination.page = 0 |
| | | this.dataList = [] |
| | |
| | | i.param1 = JSON.parse(i.param1) |
| | | } |
| | | }) |
| | | console.log('dataList', this.dataList) |
| | | }) |
| | | }, |
| | | getHeadList() { |
| | |
| | | }, |
| | | methods: { |
| | | initData() { |
| | | const { param, pagination } = this |
| | | const { param } = this |
| | | findTypeMemberInfo({ |
| | | // model: { |
| | | name: param.name, |
| | | // }, |
| | | type: '2', |
| | | ...pagination |
| | | companyType: 1, |
| | | }).then(res => { |
| | | this.memberList = res.data || [] |
| | | this.memberList.forEach(i => { |
| | |
| | | v-if="form1.starttime" |
| | | :show="show5" |
| | | :minDate="formatTimeStamp(form1.starttime)" |
| | | :maxDate="formatTimeStamp(form1.starttime.slice(0,10) + ' 23:59')" |
| | | mode="datetime" |
| | | @cancel="show5 = false" |
| | | @confirm="setendtime" |
| | |
| | | this.form1.starttime = uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM') |
| | | // this.maxTime = getDaysAfterDate(uni.$u.timeFormat(e.value, 'yyyy-mm-dd hh:MM'), this.day) |
| | | this.maxTime = this.form1.starttime |
| | | console.log(this.form1.starttime) |
| | | console.log(this.form1.starttime.slice(0,10)) |
| | | this.show4 = false |
| | | }, |
| | | setendtime(e) { |
| | |
| | | state.sessionKey = val |
| | | uni.setStorageSync('sessionKey', val) |
| | | }, |
| | | // 清空所有缓存 |
| | | // 清空登录缓存 |
| | | empty(state) { |
| | | state.token = '' |
| | | state.userInfo = {} |