| | |
| | | </van-nav-bar> |
| | | </van-sticky> |
| | | |
| | | <div class="head"> |
| | | |
| | | |
| | | <div v-if="messageArr.length===0"> |
| | | <div class="sacnBody"> |
| | | <div class="box"> |
| | | <div class="boxImg"></div> |
| | | </div> |
| | | <div class="scanText">暂无消息</div> |
| | | </div> |
| | | </div> |
| | | <div v-else class="head"> |
| | | <div class="head_block"> |
| | | <div class="head_left"> |
| | | <div class="head_bar"></div> |
| | |
| | | <div slot="finish-icon"> |
| | | <div class="messageIndex">{{index+1}}</div> |
| | | </div> |
| | | <div style="margin-left: 5px;">工位名称:{{item.gwmc}}</div> |
| | | <div style="margin-left: 5px;">生产车间:{{item.sccj}}</div> |
| | | <div style="margin-left: 5px;">呼叫类型:{{item.hjlx}}</div> |
| | | <div style="margin-left: 5px;">发起人员:{{item.fqry}}</div> |
| | | <div style="margin-left: 5px;">发起时间:{{item.fqsj}}</div> |
| | | <div style="margin-left: 5px;">工位名称:{{item.eqp_name}}</div> |
| | | <div style="margin-left: 5px;">生产车间:{{item.wkshp_name}}</div> |
| | | <div style="margin-left: 5px;">呼叫类型:{{item.typename}}</div> |
| | | <div style="margin-left: 5px;">发起人员:{{item.start_user}}</div> |
| | | <div style="margin-left: 5px;">发起时间:{{item.start_date}}</div> |
| | | </van-step> |
| | | </van-steps> |
| | | </div> |
| | |
| | | text: '退出登录' |
| | | }, |
| | | ], |
| | | messageArr: [{ |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, { |
| | | gwmc: '机加01工位', |
| | | sccj: '机加车间', |
| | | hjlx: '呼叫设备', |
| | | fqry: '张三', |
| | | fqsj: '2022-10-10 11:12:12' |
| | | }, |
| | | |
| | | ] |
| | | messageArr: [] |
| | | |
| | | |
| | | } |
| | |
| | | |
| | | }, |
| | | mounted() { |
| | | |
| | | this.getLoginAppAnDonMessage() |
| | | }, |
| | | methods: { |
| | | async getLoginAppAnDonMessage() { |
| | | const data = { |
| | | userid: localStorage.getItem('userid'), |
| | | usercode: localStorage.getItem('usercode'), |
| | | username: localStorage.getItem('username'), |
| | | usertype: localStorage.getItem('usertype'), |
| | | } |
| | | |
| | | const res = await post('Login/LoginAppAnDonMessage' + formatParams(data)) |
| | | this.messageArr = res.data |
| | | }, |
| | | onClickleft() { |
| | | history.back() |
| | | }, |