fix ui-admin warning

This commit is contained in:
supine-win 2022-05-20 21:40:11 +08:00
parent 24d46ad23a
commit d7b19327ab
6 changed files with 13 additions and 13 deletions

View File

@ -58,7 +58,7 @@
</el-table-column> </el-table-column>
<el-table-column label="当前审批任务" align="center" prop="tasks"> <el-table-column label="当前审批任务" align="center" prop="tasks">
<template slot-scope="scope"> <template slot-scope="scope">
<el-button v-for="task in scope.row.tasks" type="text" @click="handleFormDetail(task.id)"> <el-button v-for="task in scope.row.tasks" :key="task.id" type="text" @click="handleFormDetail(task.id)">
<span>{{ task.name }}</span> <span>{{ task.name }}</span>
</el-button> </el-button>
</template> </template>

View File

@ -12,7 +12,7 @@
</el-table-column> </el-table-column>
<el-table-column label="规则范围" align="center" prop="options" width="440px"> <el-table-column label="规则范围" align="center" prop="options" width="440px">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag size="medium" v-if="scope.row.options" v-for="option in scope.row.options"> <el-tag size="medium" v-if="scope.row.options" :key="option" v-for="option in scope.row.options">
{{ getAssignRuleOptionName(scope.row.type, option) }} {{ getAssignRuleOptionName(scope.row.type, option) }}
</el-tag> </el-tag>
</template> </template>

View File

@ -74,7 +74,7 @@
<!-- <el-table-column label="商户名称" align="center" prop="merchantName" width="120"/>--> <!-- <el-table-column label="商户名称" align="center" prop="merchantName" width="120"/>-->
<!-- <el-table-column label="应用名称" align="center" prop="appName" width="120"/>--> <!-- <el-table-column label="应用名称" align="center" prop="appName" width="120"/>-->
<el-table-column label="支付渠道" align="center" width="130"> <el-table-column label="支付渠道" align="center" width="130">
<template v-slot="scope"> <template slot-scope="scope">
<el-popover trigger="hover" placement="top"> <el-popover trigger="hover" placement="top">
<p>商户名称: {{ scope.row.merchantName }}</p> <p>商户名称: {{ scope.row.merchantName }}</p>
<p>应用名称: {{ scope.row.appName }}</p> <p>应用名称: {{ scope.row.appName }}</p>
@ -88,7 +88,7 @@
<!-- <el-table-column label="交易订单号" align="center" prop="tradeNo" width="140"/>--> <!-- <el-table-column label="交易订单号" align="center" prop="tradeNo" width="140"/>-->
<!-- <el-table-column label="商户订单编号" align="center" prop="merchantOrderId" width="140"/>--> <!-- <el-table-column label="商户订单编号" align="center" prop="merchantOrderId" width="140"/>-->
<el-table-column label="商户订单号" align="left" width="230"> <el-table-column label="商户订单号" align="left" width="230">
<template v-slot="scope"> <template slot-scope="scope">
<p class="order-font"> <p class="order-font">
<el-tag size="mini">退款</el-tag> <el-tag size="mini">退款</el-tag>
{{ scope.row.merchantRefundNo }} {{ scope.row.merchantRefundNo }}
@ -100,7 +100,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="支付订单号" align="center" prop="merchantRefundNo" width="250"> <el-table-column label="支付订单号" align="center" prop="merchantRefundNo" width="250">
<template v-slot="scope"> <template slot-scope="scope">
<p class="order-font"> <p class="order-font">
<el-tag size="mini">交易</el-tag> <el-tag size="mini">交易</el-tag>
{{ scope.row.tradeNo }} {{ scope.row.tradeNo }}
@ -112,7 +112,7 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="支付金额(元)" align="center" prop="payAmount" width="100"> <el-table-column label="支付金额(元)" align="center" prop="payAmount" width="100">
<template v-slot="scope" class=""> <template slot-scope="scope" class="">
{{ parseFloat(scope.row.payAmount / 100).toFixed(2) }} {{ parseFloat(scope.row.payAmount / 100).toFixed(2) }}
</template> </template>
</el-table-column> </el-table-column>
@ -122,17 +122,17 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="退款类型" align="center" prop="type" width="80"> <el-table-column label="退款类型" align="center" prop="type" width="80">
<template v-slot="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="scope.row.type" /> <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="scope.row.type" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="退款状态" align="center" prop="status"> <el-table-column label="退款状态" align="center" prop="status">
<template v-slot="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_STATUS" :value="scope.row.status" /> <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_STATUS" :value="scope.row.status" />
</template> </template>
</el-table-column> </el-table-column>
<el-table-column label="回调状态" align="center" prop="notifyStatus"> <el-table-column label="回调状态" align="center" prop="notifyStatus">
<template v-slot="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" /> <dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" />
</template> </template>
</el-table-column> </el-table-column>
@ -183,7 +183,7 @@
<el-tag class="tag-purple" size="mini">{{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}</el-tag> <el-tag class="tag-purple" size="mini">{{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}</el-tag>
</el-descriptions-item> </el-descriptions-item>
<el-descriptions-item label="退款类型"> <el-descriptions-item label="退款类型">
<template v-slot="scope"> <template slot-scope="scope">
<dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="refundDetail.type" /> <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="refundDetail.type" />
</template> </template>
</el-descriptions-item> </el-descriptions-item>

View File

@ -50,7 +50,7 @@
</el-table-column> </el-table-column>
<el-table-column label="授权类型" align="center" prop="authorizedGrantTypes"> <el-table-column label="授权类型" align="center" prop="authorizedGrantTypes">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :disable-transitions="true" v-for="(authorizedGrantType, index) in scope.row.authorizedGrantTypes" :index="index"> <el-tag :disable-transitions="true" :key="index" v-for="(authorizedGrantType, index) in scope.row.authorizedGrantTypes" :index="index">
{{ authorizedGrantType }} {{ authorizedGrantType }}
</el-tag> </el-tag>
</template> </template>

View File

@ -54,7 +54,7 @@
<el-table-column label="描述" align="center" prop="description"/> <el-table-column label="描述" align="center" prop="description"/>
<el-table-column label="标签" align="center" prop="tags"> <el-table-column label="标签" align="center" prop="tags">
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :disable-transitions="true" v-for="(tag, index) in scope.row.tags" :index="index"> <el-tag :disable-transitions="true" :key="index" v-for="(tag, index) in scope.row.tags" :index="index">
{{ tag }} {{ tag }}
</el-tag> </el-tag>
</template> </template>

View File

@ -147,7 +147,7 @@
<el-form-item label="手机号" prop="mobile"> <el-form-item label="手机号" prop="mobile">
<el-input v-model="sendSmsForm.mobile" placeholder="请输入手机号" /> <el-input v-model="sendSmsForm.mobile" placeholder="请输入手机号" />
</el-form-item> </el-form-item>
<el-form-item v-for="param in sendSmsForm.params" :label="'参数 {' + param + '}'" :prop="'templateParams.' + param"> <el-form-item v-for="param in sendSmsForm.params" :key="param" :label="'参数 {' + param + '}'" :prop="'templateParams.' + param">
<el-input v-model="sendSmsForm.templateParams[param]" :placeholder="'请输入 ' + param + ' 参数'" /> <el-input v-model="sendSmsForm.templateParams[param]" :placeholder="'请输入 ' + param + ' 参数'" />
</el-form-item> </el-form-item>
</el-form> </el-form>