handleSaveUser(){
      debugger;
       let data = this.userDialog.eleList.Employee.map(e => {
        return {
          colName: e.colName,
          desc: e.desc,
          isShow:e.isShow
        };
      });
       fetch
        .post('/es/template/insertEle',data)
        .then(({ data, msg }) => {
          this.$loadingClose();
          this.$message({
            type: 'success',
            message: msg
          });
        })
        .catch(({ msg }) => {
          this.$loadingClose();
          this.$message({
            type: 'error',
            message: msg
          });
        });
      
      
      },
Logo

前往低代码交流专区

更多推荐