| | |
| | | // 浣跨敤鍒涙櫤瀹屾暣鎺ュ彛 |
| | | this.$u.post(value.CZFJiP + '/makerwit/insertTask', formDataParam).then(res => { |
| | | this.$t.message.closeLoading(); |
| | | console.log(formDataParam); |
| | | if (res.code == 200) { |
| | | this.$t.message.toast('鍛煎彨鎴愬姛'); |
| | | this.inputValue="", |
| | |
| | | this.$refs.popup.close(); |
| | | // this.submit(); |
| | | } else { |
| | | this.$t.message.toast(res.message); |
| | | this.$t.message.toast(res.msg); |
| | | } |
| | | }); |
| | | // this.submit(); |
| | | } else { |
| | | this.$t.message.toast(res.message); |
| | | this.$u.post('/api/PDA/DeleteCZTask', formDataParam).then(res=>{ |
| | | this.inputValue="", |
| | | this.numberValue="", |
| | | this.$refs.popup.close(); |
| | | }) |
| | | } |
| | | }).catch((err) => { |
| | | this.$t.message.toast(err.message); |