| | |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" icon="el-icon-edit" size="mini" :disabled="single" |
| | | @click="handleEdit(row = rowForm, OperationType = 2)">复制</el-button> |
| | | @click="handleEdit(row = rowForm, copyType = 1)">复制</el-button> |
| | | </el-col> |
| | | <el-col :span="1.5"> |
| | | <el-button type="primary" icon="el-icon-delete" size="mini" :disabled="single" @click="handleDelete">删除 |
| | |
| | | } |
| | | // this.sWhere += this.addSWhereByOpenType() |
| | | // this.sWhere += this.getOrgIDByUser() |
| | | this.clearData() |
| | | this.getList() |
| | | |
| | | }, |
| | |
| | | ColContent2: '', |
| | | ColContent: '', |
| | | } |
| | | this.clearData() |
| | | this.resetForm("queryForm") |
| | | this.getList() |
| | | }, |
| | | |
| | | clearData() { |
| | | this.single = true |
| | | this.multiple = true |
| | | this.OperationType = 0 |
| | | this.copyType = 0 |
| | | this.ids = [] |
| | | }, |
| | | //退出 |
| | | close() { |
| | | this.tableShow = true |
| | | this.single = true |
| | | this.openEdit = false |
| | | this.editShow = false |
| | | this.clearData() |
| | | this.getList() |
| | | }, |
| | | //打开新增组件弹窗 |
| | |
| | | editGyClose(val) { |
| | | this.editShow = false |
| | | this.openEdit = false |
| | | this.single = true |
| | | this.multiple = true |
| | | this.clearData() |
| | | this.getList() |
| | | }, |
| | | /** 删除按钮操作 */ |
| | |
| | | else { |
| | | this.$modal.msgError("错误:" + result.code + result.Message,); |
| | | } |
| | | this.clearData() |
| | | }).catch(error => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |
| | | }, |
| | | // 反禁用/禁用数据 |
| | | set_De_Stop(num, form) { |
| | | var InterID = form.HItemID || form.HInterID |
| | | var InterID = form.HItemID.toString() || form.HInterID.toString() |
| | | //逻辑审核方法 |
| | | axios.get(this.baseURL + "/Gy_Source/StopGy_Source", { |
| | | axios.get(this.baseURL + "/Gy_Department/StopGy_Department", { |
| | | params: { "HInterID": InterID, "IsStop": num, "CurUserName": sessionStorage["HUserName"] } |
| | | }).then(response => { |
| | | let result = response.data |
| | |
| | | else { |
| | | this.$modal.msgError("错误:" + result.code + result.Message,); |
| | | } |
| | | this.clearData() |
| | | }).catch(error => { |
| | | this.$modal.msgError("接口请求失败!"); |
| | | }); |