常熟吴彦祖 3 months ago
parent
commit
bb9ab1ca01
  1. 18
      src/views/modules/warehouse/ifsCallErrorLog.vue

18
src/views/modules/warehouse/ifsCallErrorLog.vue

@ -118,6 +118,16 @@
<span v-else>{{ scope.row[item.columnProp] }}</span> <span v-else>{{ scope.row[item.columnProp] }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column
header-align="center"
align="center"
width="100"
label="操作">
<template slot-scope="scope">
<a type="text" size="small" v-if="scope.row.processStatus === 'PENDING'" @click="handleRetry(scope.row)">重试</a>
</template>
</el-table-column>
</el-table> </el-table>
<!-- 分页 --> <!-- 分页 -->
@ -138,7 +148,7 @@
width="70%" width="70%"
:close-on-click-modal="false" :close-on-click-modal="false"
v-drag> v-drag>
<el-form label-width="120px" style="padding: 10px;"> <el-form label-width="120px" style="padding: 10px;">
<!-- 基本信息 - rqrq --> <!-- 基本信息 - rqrq -->
<el-row> <el-row>
@ -451,7 +461,7 @@ export default {
headerAlign: "center", headerAlign: "center",
align: "center", align: "center",
columnLabel: "操作", columnLabel: "操作",
columnWidth: 150,
columnWidth: 300,
columnSortable: false, columnSortable: false,
showOverflowTooltip: true, showOverflowTooltip: true,
fixed: "right" fixed: "right"
@ -645,11 +655,11 @@ export default {
}).then(() => { }).then(() => {
// loading - rqrq // loading - rqrq
this.$set(row, '_retrying', true) this.$set(row, '_retrying', true)
const params = { const params = {
id: row.id id: row.id
} }
retryIfsCall(params).then(({data}) => { retryIfsCall(params).then(({data}) => {
if (data && data.code === 0) { if (data && data.code === 0) {
this.$message.success('重试成功,IFS接口调用完成') this.$message.success('重试成功,IFS接口调用完成')

Loading…
Cancel
Save