| | |
| | | <!--divided 是一个划分线--> |
| | | <el-dropdown-item icon="el-icon-edit" :size="size" :type="type" |
| | | :disabled="row.state >= 1" |
| | | @click.native="$refs.crud.rowEdit(row,index)">修 改</el-dropdown-item> |
| | | @click.native="$refs.crud.rowEdit(row,index)">编 辑</el-dropdown-item> |
| | | </el-col> |
| | | <el-col :span="12"> |
| | | <el-dropdown-item icon="el-icon-delete" :size="size" :type="type" |
| | |
| | | }, |
| | | beforeOpen(done, type) { |
| | | if (["edit", "view"].includes(type)) { |
| | | getDetail(this.form.id).then(res => { |
| | | this.form = res.data.data; |
| | | console.log( this.form.routeRange,123456) |
| | | |
| | | // this.form.routeRange = '\'' + this.form.routeRange + '\'' |
| | | }); |
| | | // getDetail(this.form.id).then(res => { |
| | | // this.form = res.data.data; |
| | | // // this.form.routeRange = '\'' + this.form.routeRange + '\'' |
| | | // }); |
| | | } else { |
| | | this.form.status = 2 |
| | | } |
| | |
| | | this.data = data.records; |
| | | this.loading = false; |
| | | this.selectionClear(); |
| | | console.log(this.data) |
| | | }); |
| | | }, |
| | | isChangeStatus(id,status) { |
| | |
| | | goToTaskplanUser(planId) { |
| | | // this.$router.push({ path: "/taskinfo/taskplanUser", query: {planId:planId} }); |
| | | this.$refs.taskplanUser.getUserList(); |
| | | this.$refs.taskplanUser.onLoad(); |
| | | this.setPlanUser() |
| | | }, |
| | | setPlanUser() { |