| | |
| | | @refresh-change="refreshChange" |
| | | @on-load="onLoad" |
| | | @row-click="rowClick"> |
| | | |
| | | |
| | | <template slot="menuLeft"> |
| | | <el-button type="danger" |
| | | size="mini" |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-form> |
| | | |
| | | |
| | | </el-dialog> |
| | | |
| | | |
| | |
| | | }, |
| | | span:5, |
| | | }, |
| | | |
| | | |
| | | { |
| | | label: "主要负责人", |
| | | prop: "oneId", |
| | |
| | | var that = this; |
| | | //重新加载一次页面详情数据,解决新的省市区无法写入问题 |
| | | getclient(this.form.id).then(res => { |
| | | this.form = res.data.data; |
| | | //this.form = res.data.data; |
| | | //经纬度替换 |
| | | this.form.wd = val.latitude; |
| | | this.form.jd = val.longitude; |
| | |
| | | // this.initData(); |
| | | // } |
| | | // } |
| | | |
| | | |
| | | }, |
| | | computed: { |
| | | ...mapGetters(["permission"]), |
| | |
| | | }); |
| | | }, |
| | | |
| | | //初始化数据 |
| | | //初始化数据 |
| | | // initData() { |
| | | // //部门tree数据 |
| | | // getDeptTree().then(res => { |
| | |
| | | // column.dicData = res.data.data; |
| | | // }); |
| | | // }, |
| | | |
| | | |
| | | handleClick(row) { |
| | | this.form = row; |
| | | this.dialogTableVisible = true; |
| | |
| | | this.onLoad(this.page); |
| | | }, |
| | | rowSave(row, done, loading) { |
| | | row.deptId = row.deptId.join(","); |
| | | add(row).then(() => { |
| | | this.onLoad(this.page); |
| | | this.$message({ |
| | |
| | | }); |
| | | }, |
| | | rowUpdate(row, index, done, loading) { |
| | | row.deptId = row.deptId.join(","); |
| | | // row.jd=row.map.latitude; |
| | | // row.wd=row.map.longitude; |
| | | update(row).then(() => { |
| | |
| | | }); |
| | | |
| | | }, handleStart(row) { |
| | | |
| | | console.log(row,11111111111); |
| | | row = this.selectRow; |
| | | console.log(row,22222222222); |
| | | var arr = []; |
| | | console.log(this.$store.state.tags.tagList,3333333); |
| | | this.$store.state.tags.tagList.forEach(item => { |
| | | if (item.label != "视频") { |
| | | arr.push(item); |
| | | } |
| | | }); |
| | | this.$store.state.tags.tagList = arr; |
| | | console.log(arr) |
| | | console.log(arr,444444444444); |
| | | this.$router.push({ |
| | | path: `/real/video/`, query: row |
| | | }); |