管道基础大数据平台系统开发-【前端】-新系統界面
1
Surpriseplus
2023-02-13 6d5f52522f19ff17991e2ffe90a52e42ace416b9
src/views/datamanage/styleManage.vue
@@ -1029,7 +1029,7 @@
        let val = document.getElementById("insertimageFile").files;
        this.insertViewGuid = val[0].name;
          this.insertViewName = val[0].name;
        this.insertViewName = val[0].name;
      }
    },
    async setinsertFile(res) {
@@ -1245,9 +1245,9 @@
      }
      if (this.viewFile != null) {
        this.insertform.viewGuid = this.viewFile;
         this.insertform.vname = this.insertViewName;
        this.insertform.vname = this.insertViewName;
      }
      const data = await insertStyle(this.insertform);
      if (data.code == 200) {
        this.InsertFormdialog = false;
@@ -1276,7 +1276,7 @@
      }
      this.listData.name = this.ruleForm.name;
      const data = await select_Style_ByPageAndCount(this.listData);
      debugger
      if (data.code != 200) {
        this.$message.error("列表调用失败");
      }
@@ -1435,9 +1435,11 @@
        this.upform.status = this.statusFormat(this.upform.status);
      }
      if (this.guidFile != null) {
        this.upform.fname = this.upform.fileGuid;
        this.upform.fileGuid = this.guidFile;
      }
      if (this.viewFile != null) {
        this.upform.vname = this.upform.viewGuid;
        this.upform.viewGuid = this.viewFile;
      }
      const data = await updateStyle(this.upform);
@@ -1482,7 +1484,7 @@
    showDetail(index, row) {
      var token = getToken();
      this.showinfoBox = true;
      this.itemdetail = row;
      this.itemdetail.createTime = this.formomentTime(
        this.itemdetail.createTime
@@ -1505,6 +1507,8 @@
      this.upform = row;
      this.upform.depValue = row.depName;
      this.upform.dirValue = row.dirName;
      this.upform.fileGuid = row.fname;
      this.upform.viewGuid = row.vname;
      this.upform.status = this.forMontStatus(row.status);
    },
    handleDelete(index, row) {