luobisheng
2022-12-07 8e367b87b978d20a30a6ca900d95c25c9eb82b0e
src/views/operate/rectification/surveyList/components/createInterface/index.vue
@@ -165,34 +165,18 @@
  methods: {
    // 关闭弹窗
    handleCancel() {
        console.log(1);
      this.$emit("closeDialog", { flag: false, index: 0 });
    },
    //保存
    handleSave() {
      const { myInterface } = this;
        this.$refs.survey.validate((flag)=>{
            console.log(flag)
            if(flag){
            }else{
                return false
            }
        })
    //   this.$axios
    //     .post("sccg/system/portal/thirdApp/add", {
    //       websiteUrl: myInterface.websiteUrl,
    //       applicationIconUrl: myInterface.applicationIconUrl,
    //       applicationType: 0,
    //       description: myInterface.description,
    //       applicationName: myInterface.applicationName,
    //     })
    //     .then((res) => {
    //       console.log(res);
    //       // if (res.code === 200) {
    //       //     this.refresh();
    //       // }
    //     });
    },
  },
  props: ['refresh','closeDialog'],