Commit 7828b009 by lichengming

修改了合同登记提交后刷新

parent c042669f
...@@ -184,16 +184,18 @@ export default { ...@@ -184,16 +184,18 @@ export default {
title: '提示', title: '提示',
content: '确定要把这 ' + ids.length + ' 条记录提交到' + cont + '?', content: '确定要把这 ' + ids.length + ' 条记录提交到' + cont + '?',
onOk: () => { onOk: () => {
const result = meterContract.submitToContractReview(ids) this._submit(ids)
if (result) {
this._resultChange('提交成功')
console.log(result)
}
// }) // })
} }
}) })
} }
}, },
_submit: async function(ids) {
const result = await meterContract.submitToContractReview(ids)
if (result) {
this._resultChange('提交成功')
}
},
_resultChange(msg) { _resultChange(msg) {
this.$Message.success(msg) this.$Message.success(msg)
this._page() this._page()
......
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
</div> </div>
</div> </div>
<!-- 添加、编辑 --> <!-- 添加、编辑 -->
<MeterAptitudeStandardEdit ref="editModal" @on-result-change="_page"></MeterAptitudeStandardEdit> <!-- <MeterAptitudeStandardEdit ref="editModal" @on-result-change="_page"></MeterAptitudeStandardEdit>-->
<!--导入资质项目--> <!--导入资质项目-->
<!-- <DownloadTemplateImport ref="sampleModal" @on-result-change="_page"></DownloadTemplateImport>--> <!-- <DownloadTemplateImport ref="sampleModal" @on-result-change="_page"></DownloadTemplateImport>-->
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment