| | |
| | | </el-form-item> |
| | | </el-form> |
| | | <div slot="footer" class="dialog-footer2"> |
| | | <el-button type="primary" @click="submitType">确 定</el-button> |
| | | <el-button type="primary" @click="submitType" >确 定</el-button> |
| | | <el-button @click="cancel">取 消</el-button> |
| | | </div> |
| | | </el-dialog> |
| | |
| | | import { addComp, |
| | | addPlOrderAndDetail } from "@/api/system/comp"; |
| | | import Big from "big.js"; |
| | | |
| | | import { Loading } from 'element-ui'; |
| | | import { |
| | | listReservation, |
| | | gettjCancel, |
| | |
| | | // this.selectList.forEach((item) => { |
| | | // cusIds.push(item.idCard); |
| | | // }); |
| | | let loadingInstance1 = Loading.service({ fullscreen: true,text:"签到中" }); |
| | | let data = { |
| | | cusIds: this.cusIds, |
| | | tjCategory: this.forms.tjCategory, |
| | | }; |
| | | this.open2 = false; |
| | | addPlOrderAndDetail(data).then((res) => { |
| | | this.open2 = false; |
| | | if(res.code == 200){ |
| | | this.open2 = false; |
| | | this.$modal.msgSuccess("签到成功"); |
| | | if (res.file) { |
| | | let base64 = res.file; |
| | |
| | | }); |
| | | }else{ |
| | | let _this = this; |
| | | this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 |
| | | loadingInstance1.close(); |
| | | }); |
| | | var websocket = null; |
| | | var url = _this.valueUrls; |
| | | if ("WebSocket" in window) { |
| | |
| | | |
| | | this.getList() |
| | | } |
| | | }else{ |
| | | this.$nextTick(() => { // 以服务的方式调用的 Loading 需要异步关闭 |
| | | loadingInstance1.close(); |
| | | }); |
| | | } |
| | | |
| | | }); |
| | | }, |
| | | |