|
@@ -220,7 +220,7 @@ export default {
|
|
this.$refs['form'].validate(valid => {
|
|
this.$refs['form'].validate(valid => {
|
|
if (valid) {
|
|
if (valid) {
|
|
if (this.form.id != null) {
|
|
if (this.form.id != null) {
|
|
- this.form.type = 0;
|
|
+ this.form.type = 1;
|
|
updateLEAVEMESSAGE(this.form).then(response => {
|
|
updateLEAVEMESSAGE(this.form).then(response => {
|
|
this.$modal.msgSuccess('回复成功');
|
|
this.$modal.msgSuccess('回复成功');
|
|
this.open = false;
|
|
this.open = false;
|