| | |
| | | tableTotal: 0, |
| | | PageSize: 8, |
| | | organizeData: [], |
| | | checkedOrg: '', |
| | | checkedOrgID: '', |
| | | checkedOrgName:"", |
| | | organizeKeyword: '', |
| | | memberEditDialogVisible: false, |
| | | toggleOrganizeDialogVisible: false, |
| | |
| | | this.renderMemberTable(); |
| | | }, |
| | | isPhone (rule, value, callback) { |
| | | if (value.trim()) { |
| | | if (!value) { |
| | | return callback() |
| | | } else if (value.trim()) { |
| | | var pattern = /^1[345789]\d{9}$/ |
| | | if (pattern.test(value)) { |
| | | return callback() |
| | | } |
| | | return callback(new Error('输入的手机号错误')) |
| | | } |
| | | // if (value.trim()) { |
| | | // var pattern = /^1[345789]\d{9}$/ |
| | | // if (pattern.test(value)) { |
| | | // return callback() |
| | | // } |
| | | // return callback(new Error('输入的手机号错误')) |
| | | // } |
| | | }, |
| | | nodeContextMenu (e, data, node, comp) { |
| | | this.showMenu = true; |
| | |
| | | this.menuLeft = e.pageX; |
| | | }, |
| | | checkOrgNode (a, b, c) { |
| | | this.checkedOrg = a.id |
| | | this.checkedOrgID = a.id |
| | | this.checkedOrgName = a.label |
| | | }, |
| | | updateOrg () { |
| | | let ids = this.multipleTableSelection.map(row => { |
| | | return row.ID |
| | | }); |
| | | let params = { |
| | | DeptID: this.checkedOrg, |
| | | DeptID: this.checkedOrgID, |
| | | DeptName:this.checkedOrgName, |
| | | Users: ids.join(',') |
| | | } |
| | | updateUnit(params).then(res => { |
| | |
| | | }); |
| | | this.toggleOrganizeDialogVisible = false; |
| | | this.renderMemberTable(); |
| | | this.searchLeftTreeData() |
| | | } |
| | | }) |
| | | |
| | |
| | | //formData.append('files', this.$refs['directoryInput'].files) |
| | | |
| | | uploadDirectory(formData).then(res => { |
| | | debugger |
| | | _this.batchImportTableData = res.data; |
| | | _this.renderMemberTable(); |
| | | }) |
| | |
| | | }, |
| | | watch: { |
| | | taskType (n, o) { |
| | | debugger |
| | | // debugger |
| | | this.renderTaskTable(); |
| | | } |
| | | }, |
| | |
| | | obj.checked = false; |
| | | arr.push(obj); |
| | | } |
| | | debugger |
| | | _this.trainNoList = arr; |
| | | _this.trainNoTotal = res.total; |
| | | }); |
| | |
| | | findDeviceIfo () { |
| | | let _this = this; |
| | | getDeviceInfoById({ DeviceID: this.actTab }).then(res => { |
| | | debugger |
| | | // debugger |
| | | _this.tableData = res.data; |
| | | //统计当前插槽状态 |
| | | let dx = _this.generalIndicators.find(indicator => indicator.id == 'dx'); |
| | |
| | | <el-table-column prop="tranferDevice" label="转储设备名称"> |
| | | <template slot-scope="scope"> |
| | | <div> |
| | | 设备{{scope.$index}} |
| | | 设备{{scope.row.DeviceID}} |
| | | </div> |
| | | </template> |
| | | </el-table-column> |
| | |
| | | <!-- {{curVideo.ID}} --> |
| | | <!-- <img :src="curVideo.VideoCover" style="width:100px" /> --> |
| | | <ali-player |
| | | :source="'http://' + curVideo.VideoPath" |
| | | :source="curVideo.VideoPath" |
| | | :markers="curVideo.marks" |
| | | :ref="`player_${curVideo.ID}`" |
| | | /> |
| | |
| | | style="width:100px" |
| | | />--> |
| | | <ali-player |
| | | :source="'http://' + videoArrs[index].VideoPath" |
| | | :source="videoArrs[index].VideoPath" |
| | | :markers="videoArrs[index].marks" |
| | | :ref="`player_${videoArrs[index].ID}`" |
| | | /> |
| | |
| | | // } |
| | | // }, |
| | | "/api-c": { |
| | | target: 'http://192.168.20.10:8004', |
| | | target: 'http://192.168.20.113:8004', |
| | | changeOrigin: true |
| | | }, |
| | | "/api-v": { |