| | |
| | | iconfontVersion.forEach(ele => { |
| | | loadStyle(iconfontUrl.replace('$key', ele)); |
| | | }); |
| | | |
| | | Vue.config.productionTip = false; |
| | | |
| | | new Vue({ |
| | |
| | | :append-to-body="true" |
| | | :close-on-press-escape="false" |
| | | :close-on-click-modal="false" |
| | | @opened="videoConversationReal = true" |
| | | @opened="onDialogTableVisible" |
| | | @close="closeDialog" |
| | | > |
| | | <el-form |
| | |
| | | `https://web.byisf.com:18000/GetPlayUrl?deviceCode=${that.form.serialNumber}&chl=${that.form.channelNumber}` |
| | | ) |
| | | .then((result) => { |
| | | console.log(result); |
| | | axios({ |
| | | method: "post", |
| | | url: `/api/blade-jfpts/rvideo/rVoid`, |
| | |
| | | that.peopleName = that.form.oneContacts; |
| | | that.peoplePhone = that.form.onePhone; |
| | | that.dialogTableVisible = true; |
| | | |
| | | console.log(Recorder) |
| | | |
| | | if (Recorder) Recorder.getPermiRecorderssion().then(() => {}); |
| | | |
| | | that.ofX = null; |
| | | that.ofY = null; |
| | |
| | | }, |
| | | |
| | | aKeyToCall() { |
| | | this.isActive = true; |
| | | |
| | | var that = this; |
| | | if (this.recorder == null) { |
| | | this.recorder = new Recorder({ |
| | |
| | | // compiling: false,(0.x版本中生效,1.x增加中) // 是否边录边转换,默认是false |
| | | }); |
| | | } |
| | | this.isActive = true; |
| | | |
| | | // 一键呼叫相关函数 |
| | | that.recorder.start().then( |
| | |
| | | |
| | | // 序列号后期待修改 |
| | | aKeyStopCall() { |
| | | this.isActive = false; |
| | | |
| | | var newCallAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com:18000", |
| | | withCredentials: false, |
| | |
| | | }, |
| | | }); |
| | | var that = this; |
| | | that.isActive = false; |
| | | |
| | | newCallAxios |
| | | .post( |
| | |
| | | } |
| | | }, 3000); |
| | | }, |
| | | |
| | | onDialogTableVisible() { |
| | | Recorder.getPermission().then(() => {}); |
| | | this.videoConversationReal = true; |
| | | }, |
| | | }, |
| | | }; |
| | | </script> |
| | |
| | | }) |
| | | .then(() => { |
| | | this.$store.commit("CLEAR_LOGS"); |
| | | window.console.log(this); |
| | | this.$parent.$parent.box = false; |
| | | this.$message({ |
| | | type: "success", |
| | |
| | | cancelButtonText: "取消", |
| | | type: "warning" |
| | | }).then(() => { |
| | | console.log(this.search) |
| | | window.open(`/api/blade-jfpts/attendance/export-Attendance?name=${this.search.name}&beginTime=${this.search.releaseTimeRange[0]} |
| | | &endTime=${this.search.releaseTimeRange[1]}&attendancetype=${this.search.attendancetype}`); |
| | | }); |
| | |
| | | }); |
| | | }, |
| | | uploadAfter(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.excelBox = false; |
| | | this.initTree(); |
| | | done(); |
| | |
| | | label: "权属", |
| | | prop: "ownership", |
| | | width: 150 |
| | | }, |
| | | { |
| | | label: "负责人", |
| | | prop: "oneContacts", |
| | | width: 72 |
| | | }, |
| | | { |
| | | label: "负责人联系方式", |
| | | prop: "onePhone", |
| | | width: 110 |
| | | }, { |
| | | label: "街道", |
| | | prop: "street", |
| | |
| | | this.form = this.$route.query; |
| | | this.form.handletype = 0; |
| | | |
| | | console.log(this.form) |
| | | |
| | | if (this.form.type == 0) { |
| | | this.form.handleP = ""; |
| | |
| | | watch: { |
| | | text: { |
| | | handler (val) { |
| | | console.log(val) |
| | | this.address = val; |
| | | }, |
| | | deep: true, |
| | |
| | | }, |
| | | methods: { |
| | | beforeOpen(done, type) { |
| | | console.log(type); |
| | | if (["view"].includes(type)) { |
| | | getDetail(this.form.imgUrl).then(res => { |
| | | this.form = res.data.data; |
| | |
| | | } |
| | | }); |
| | | this.$store.state.tags.tagList = arr; |
| | | console.log(data) |
| | | this.$router.push({path: "/distribution/index", query: data}); |
| | | }, |
| | | handleMap(row) { |
| | |
| | | * @Author: Morpheus |
| | | * @Date: 2021-03-17 15:21:33 |
| | | * @Last Modified by: Morpheus |
| | | * @Last Modified time: 2021-03-26 14:56:01 |
| | | * @Last Modified time: 2021-03-29 10:19:55 |
| | | */ |
| | | <template> |
| | | <basic-container> |
| | |
| | | }, |
| | | |
| | | aKeyToCall() { |
| | | this.isActive = true; |
| | | var that = this; |
| | | if (this.recorder == null) { |
| | | this.recorder = new Recorder({ |
| | |
| | | // compiling: false,(0.x版本中生效,1.x增加中) // 是否边录边转换,默认是false |
| | | }); |
| | | } |
| | | this.isActive = true; |
| | | |
| | | // 一键呼叫相关函数 |
| | | that.recorder.start().then( |
| | |
| | | |
| | | // 序列号后期待修改 |
| | | aKeyStopCall() { |
| | | this.isActive = false; |
| | | var newCallAxios = axios.create({ |
| | | baseURL: "https://web.byisf.com:18000", |
| | | withCredentials: false, |
| | |
| | | }, |
| | | }); |
| | | var that = this; |
| | | that.isActive = false; |
| | | |
| | | newCallAxios |
| | | .post( |
| | |
| | | } |
| | | |
| | | .el-button.active { |
| | | background: #ff0000; |
| | | background: #ff0000 !important; |
| | | } |
| | | |
| | | .el-button.btn-color { |
| | |
| | | this.attachBox = true; |
| | | }, |
| | | uploadAfter(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.attachBox = false; |
| | | this.refreshChange(); |
| | | done(); |
| | |
| | | message: "发送成功!" |
| | | }); |
| | | done(); |
| | | window.console.log(res); |
| | | this.box = false; |
| | | }, error => { |
| | | window.console.log(error); |
| | |
| | | }, |
| | | handleMap(row) { |
| | | this.showMap = true; |
| | | console.log("row.id="+row.id); |
| | | console.log("row.wd="+row.wd); |
| | | this.$nextTick(() => { |
| | | this.$refs.mapDiv.onload = () => { |
| | | window.frames[0].init("SecurityMap", { |
| | |
| | | span: 24, |
| | | component: "avueMap", |
| | | clickChild: (obj) => { |
| | | console.log(123,obj) |
| | | this.form.jd = obj.latitude |
| | | this.form.wd = obj.longitude |
| | | }, |
| | |
| | | this.excelBox = true; |
| | | }, |
| | | uploadAfter(res, done, loading, column) { |
| | | window.console.log(column); |
| | | this.excelBox = false; |
| | | this.refreshChange(); |
| | | done(); |
| | |
| | | }, |
| | | getAll(params = {}) { |
| | | const list = getAllStore(params); |
| | | window.console.log(list); |
| | | this.$message(`结果已经打印到控制台`); |
| | | } |
| | | } |