Commit 7e62c38f7f0d43547ff5494183ed8647862aff2b

Authored by monkeyhouyi
1 parent 12fba5f0

优化

src/views/DisposalSuggestions/index.vue
@@ -286,6 +286,25 @@ export default { @@ -286,6 +286,25 @@ export default {
286 this.ReportFormVisible = false; 286 this.ReportFormVisible = false;
287 if (isrRefresh) this.reset(); 287 if (isrRefresh) this.reset();
288 }, 288 },
  289 + handleDel(id) {
  290 + this.$confirm('此操作将永久删除该数据, 是否继续?', '提示', {
  291 + type: 'warning'
  292 + }).then(() => {
  293 + request({
  294 + url: `/Extend/BaseInspectionReport/${id}`,
  295 + method: 'DELETE'
  296 + }).then(res => {
  297 + this.$message({
  298 + type: 'success',
  299 + message: res.msg,
  300 + onClose: () => {
  301 + this.initData()
  302 + }
  303 + });
  304 + })
  305 + }).catch(() => {
  306 + });
  307 + },
289 // 处理 308 // 处理
290 toHandle(id, isDetail) { 309 toHandle(id, isDetail) {
291 this.HandleFormVisible = true; 310 this.HandleFormVisible = true;
src/views/baseCaseHandling/Form.vue
@@ -617,14 +617,12 @@ export default { @@ -617,14 +617,12 @@ export default {
617 !res.data.closingReportFileModel && (res.data.closingReportFileModel = []); 617 !res.data.closingReportFileModel && (res.data.closingReportFileModel = []);
618 this.isEmpty(res.data.other) && (res.data.other = ''); 618 this.isEmpty(res.data.other) && (res.data.other = '');
619 !res.data.otherFileModel && (res.data.otherFileModel = []); 619 !res.data.otherFileModel && (res.data.otherFileModel = []);
620 - res.data.registeredEntity && (res.data.registeredEntity = res.data.registeredEntityStr);  
621 - res.data.systemName && (res.data.systemName = res.data.systemNameStr); 620 + // res.data.registeredEntity && (res.data.registeredEntity = res.data.registeredEntityStr);
  621 + // res.data.systemName && (res.data.systemName = res.data.systemNameStr);
622 // this.companyChange(res.data.registeredEntity, 'change'); 622 // this.companyChange(res.data.registeredEntity, 'change');
  623 + this.getSystemSelect(res.data.registeredEntity)
623 this.dataForm = res.data; 624 this.dataForm = res.data;
624 this.loading = false; 625 this.loading = false;
625 - // this.$nextTick(() => {  
626 - // this.getSystemSelect(res.data.registeredEntity)  
627 - // })  
628 }).catch(() => { 626 }).catch(() => {
629 this.loading = false; 627 this.loading = false;
630 }); 628 });