| | |
| | | >删 除 |
| | | </el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="scope" slot="menuLeft"> |
| | | <el-button type="danger" icon="el-icon-plus" size="small" plain @click.stop="$refs.crud.rowAdd()">新增</el-button> |
| | | </template> |
| | | |
| | | <template slot-scope="{type,size, row}" slot="menu"> |
| | | <el-button icon="el-icon-check" :size="size" :type="type" @click="setReal(row)">接收</el-button> |
| | | </template> |
| | | |
| | | </avue-crud> |
| | | </basic-container> |
| | | </template> |
| | |
| | | option: { |
| | | height: "auto", |
| | | calcHeight: 54, |
| | | menuWidth: 330, |
| | | tip: false, |
| | | searchShow: true, |
| | | searchMenuSpan: 6, |
| | |
| | | trigger: "blur", |
| | | }, |
| | | ], |
| | | }, |
| | | { |
| | | label: "经度", |
| | | prop: "jd", |
| | | }, |
| | | { |
| | | label: "纬度", |
| | | prop: "wd", |
| | | }, |
| | | { |
| | | label: "备注", |
| | |
| | | ...mapGetters(["permission"]), |
| | | permissionList() { |
| | | return { |
| | | addBtn: this.vaildData(this.permission.feedback_add, false), |
| | | addBtn: this.vaildData(this.permission.feedback_add, true), |
| | | viewBtn: this.vaildData(this.permission.feedback_view, true), |
| | | delBtn: this.vaildData(this.permission.feedback_delete, true), |
| | | editBtn: this.vaildData(this.permission.feedback_edit, true), |
| | |
| | | this.query = {}; |
| | | this.onLoad(this.page); |
| | | }, |
| | | //派遣任务 |
| | | setReal(row) { |
| | | var arr = []; |
| | | this.$store.state.tags.tagList.forEach((item) => { |
| | | if (item.label != "任务下发") { |
| | | arr.push(item); |
| | | } |
| | | }); |
| | | this.$store.state.tags.tagList = arr; |
| | | |
| | | row.bz = row.result; |
| | | row.sjsb = 1; |
| | | |
| | | window.sessionStorage.setItem('sjsb', 1) |
| | | |
| | | this.$router.push({ |
| | | path: `/realTimePolice/index`, |
| | | query: row |
| | | }); |
| | | }, |
| | | searchChange(params, done) { |
| | | this.query = params; |
| | | this.page.currentPage = 1; |