ludc
2023-10-27 a647b8fb3c96791c126dcf26c78676adc35c670f
Source/UBCS-WEB/src/components/MasterCrud/VciMasterCrud.vue
@@ -167,6 +167,7 @@
import {validatenull} from "@/util/validate";
import fileInHtml from "@/components/file/inHtml.vue";
import {getUserInfo} from "@/api/system/user";
import func from "@/util/func";
export default {
  components: {
@@ -328,7 +329,7 @@
        oids.push(ele.oid);
      });
      return oids;
    }
    },
  },
  created() {
    // const index = this.$route.query.id.indexOf('@name=') + '@name='.length;
@@ -881,8 +882,11 @@
    },
    //增加保存
    AddSumbit(val) {
      console.log(val)
      val.ts = val.ts.toISOString().replace("Z", "");
      //console.log(val)
      if(func.notEmpty(val.ts)) {
        val.ts = func.formattedDateTime(val.ts);
        //console.log(val.ts);
      }
      addSaveCode(val).then(res => {
        this.$nextTick(() => {
          this.addvisible = false;