Merge branch 'dev' of http://git.xayunmei.com/SH-Arbitrate/Mediation-Frontend into gyj
This commit is contained in:
@@ -118,9 +118,10 @@
|
||||
<el-button @click="cancel" class="endbutton1" round>
|
||||
<span>取 消</span>
|
||||
</el-button>
|
||||
<el-button v-if="isSecretaryRole" @click="submitMediation" :disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1'"
|
||||
class="endbutton1" type="primary" round>
|
||||
<span>提 交</span>
|
||||
<el-button v-if="isSecretaryRole" :loading="loadingSubmit" @click="submitMediation"
|
||||
:disabled="this.recordArrMediate.length <= 0 && mediationData.mediationMethod == '1'" class="endbutton1"
|
||||
type="primary" round>
|
||||
提 交
|
||||
</el-button>
|
||||
</div>
|
||||
</el-dialog>
|
||||
@@ -169,6 +170,7 @@ export default {
|
||||
fileList: [],
|
||||
attachList: [],
|
||||
isSecretaryRole: true,
|
||||
loadingSubmit: false
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
@@ -293,16 +295,19 @@ export default {
|
||||
this.$modal.msgSuccess("成功");
|
||||
this.$emit("cancelMediation");
|
||||
this.$emit("getList", this.queryParams);
|
||||
this.loadingSubmit = false;
|
||||
});
|
||||
},
|
||||
cancel() {
|
||||
this.$emit("cancelMediation");
|
||||
},
|
||||
|
||||
submitMediation: _.debounce(function() {
|
||||
|
||||
submitMediation() {
|
||||
if (this.fileList.length < 1 && !this.mediationType && this.mediationData.mediationMethod == "2") {
|
||||
this.$modal.msgError("请上传调解书");
|
||||
return
|
||||
} else {
|
||||
this.loadingSubmit = true;
|
||||
}
|
||||
let mediationVal = {}
|
||||
if (this.codes == 200) {
|
||||
@@ -321,7 +326,7 @@ export default {
|
||||
}
|
||||
}
|
||||
this.mediationFn(mediationVal);
|
||||
},5000),
|
||||
},
|
||||
resultsMediation() {
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user