首页异常日志可点开,异常日志重新推送
This commit is contained in:
parent
1f5d588c75
commit
da598bc3ee
|
@ -311,7 +311,7 @@ export default {
|
|||
this.requirementList[1].options = res.attribute.list
|
||||
this.queryModel = {
|
||||
receiveApp:this.appId,
|
||||
status: "4"
|
||||
status:"4"
|
||||
}
|
||||
this.resetTable();
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
>
|
||||
</base-form>
|
||||
<el-button v-if="showSignButton" type="success" @click="signSuccess">标记成功</el-button>
|
||||
<el-button v-if="showSignButton" type="primary" @click="repush">重新推送</el-button>
|
||||
<el-button v-if="showSignButton" type="primary" @click="resend">重新推送</el-button>
|
||||
</base-right-dialog>
|
||||
|
||||
</div>
|
||||
|
@ -37,6 +37,8 @@ import baseTable from '@/components/base/baseTable'
|
|||
import configData from './configData'
|
||||
import { authApi } from '@/api/apis/auth'
|
||||
import { getApiModuleApi } from '@/api/apiChunks/index.js'
|
||||
import axios from "axios";
|
||||
import request from "@/utils/request";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
|
@ -83,6 +85,30 @@ export default {
|
|||
}
|
||||
},
|
||||
|
||||
async resend(){
|
||||
// sourceData:this.$refs.basicsForm.ruleForm.sourceData,
|
||||
// targetData:this.$refs.basicsForm.ruleForm.targetData,
|
||||
let formData = new FormData();
|
||||
formData.append("id", this.logid);
|
||||
formData.append("sourceData",this.$refs.basicsForm.ruleForm.sourceData)
|
||||
|
||||
|
||||
let res = await request({
|
||||
url: 'kangarooDataCenterV3/entranceController/externalCallInterfaceResend',
|
||||
method: 'post',
|
||||
data: formData
|
||||
});
|
||||
console.log(res)
|
||||
if (res.status == '200') {
|
||||
this.handleDialogClose()
|
||||
if(res.msg == '重推成功'){this.$vmNews(res.msg, 'success')}
|
||||
if(res.msg == '重推失败'){this.$vmNews(res.msg, 'error')}
|
||||
this.$emit('resetTable')
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
|
||||
openDialog(type, row) {
|
||||
console.log(row.id)
|
||||
this.querysysAppService()
|
||||
|
|
Loading…
Reference in New Issue