首页异常日志可点开,异常日志重新推送
This commit is contained in:
parent
1f5d588c75
commit
da598bc3ee
|
@ -311,7 +311,7 @@ export default {
|
||||||
this.requirementList[1].options = res.attribute.list
|
this.requirementList[1].options = res.attribute.list
|
||||||
this.queryModel = {
|
this.queryModel = {
|
||||||
receiveApp:this.appId,
|
receiveApp:this.appId,
|
||||||
status: "4"
|
status:"4"
|
||||||
}
|
}
|
||||||
this.resetTable();
|
this.resetTable();
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
>
|
>
|
||||||
</base-form>
|
</base-form>
|
||||||
<el-button v-if="showSignButton" type="success" @click="signSuccess">标记成功</el-button>
|
<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>
|
</base-right-dialog>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -37,6 +37,8 @@ import baseTable from '@/components/base/baseTable'
|
||||||
import configData from './configData'
|
import configData from './configData'
|
||||||
import { authApi } from '@/api/apis/auth'
|
import { authApi } from '@/api/apis/auth'
|
||||||
import { getApiModuleApi } from '@/api/apiChunks/index.js'
|
import { getApiModuleApi } from '@/api/apiChunks/index.js'
|
||||||
|
import axios from "axios";
|
||||||
|
import request from "@/utils/request";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
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) {
|
openDialog(type, row) {
|
||||||
console.log(row.id)
|
console.log(row.id)
|
||||||
this.querysysAppService()
|
this.querysysAppService()
|
||||||
|
|
Loading…
Reference in New Issue