Commit b9bf0f9a4d0b5f6fedff24a67daf907f8ecbf281

Authored by 芋道源码
Committed by Gitee
2 parents 24d46ad2 d7b19327

!173 fix ui-admin warning

Merge pull request !173 from supine-win/master
yudao-ui-admin/src/views/bpm/processInstance/index.vue
@@ -58,7 +58,7 @@ @@ -58,7 +58,7 @@
58 </el-table-column> 58 </el-table-column>
59 <el-table-column label="当前审批任务" align="center" prop="tasks"> 59 <el-table-column label="当前审批任务" align="center" prop="tasks">
60 <template slot-scope="scope"> 60 <template slot-scope="scope">
61 - <el-button v-for="task in scope.row.tasks" type="text" @click="handleFormDetail(task.id)"> 61 + <el-button v-for="task in scope.row.tasks" :key="task.id" type="text" @click="handleFormDetail(task.id)">
62 <span>{{ task.name }}</span> 62 <span>{{ task.name }}</span>
63 </el-button> 63 </el-button>
64 </template> 64 </template>
yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
@@ -12,7 +12,7 @@ @@ -12,7 +12,7 @@
12 </el-table-column> 12 </el-table-column>
13 <el-table-column label="规则范围" align="center" prop="options" width="440px"> 13 <el-table-column label="规则范围" align="center" prop="options" width="440px">
14 <template slot-scope="scope"> 14 <template slot-scope="scope">
15 - <el-tag size="medium" v-if="scope.row.options" v-for="option in scope.row.options"> 15 + <el-tag size="medium" v-if="scope.row.options" :key="option" v-for="option in scope.row.options">
16 {{ getAssignRuleOptionName(scope.row.type, option) }} 16 {{ getAssignRuleOptionName(scope.row.type, option) }}
17 </el-tag> 17 </el-tag>
18 </template> 18 </template>
yudao-ui-admin/src/views/pay/refund/index.vue
@@ -74,7 +74,7 @@ @@ -74,7 +74,7 @@
74 <!-- <el-table-column label="商户名称" align="center" prop="merchantName" width="120"/>--> 74 <!-- <el-table-column label="商户名称" align="center" prop="merchantName" width="120"/>-->
75 <!-- <el-table-column label="应用名称" align="center" prop="appName" width="120"/>--> 75 <!-- <el-table-column label="应用名称" align="center" prop="appName" width="120"/>-->
76 <el-table-column label="支付渠道" align="center" width="130"> 76 <el-table-column label="支付渠道" align="center" width="130">
77 - <template v-slot="scope"> 77 + <template slot-scope="scope">
78 <el-popover trigger="hover" placement="top"> 78 <el-popover trigger="hover" placement="top">
79 <p>商户名称: {{ scope.row.merchantName }}</p> 79 <p>商户名称: {{ scope.row.merchantName }}</p>
80 <p>应用名称: {{ scope.row.appName }}</p> 80 <p>应用名称: {{ scope.row.appName }}</p>
@@ -88,7 +88,7 @@ @@ -88,7 +88,7 @@
88 <!-- <el-table-column label="交易订单号" align="center" prop="tradeNo" width="140"/>--> 88 <!-- <el-table-column label="交易订单号" align="center" prop="tradeNo" width="140"/>-->
89 <!-- <el-table-column label="商户订单编号" align="center" prop="merchantOrderId" width="140"/>--> 89 <!-- <el-table-column label="商户订单编号" align="center" prop="merchantOrderId" width="140"/>-->
90 <el-table-column label="商户订单号" align="left" width="230"> 90 <el-table-column label="商户订单号" align="left" width="230">
91 - <template v-slot="scope"> 91 + <template slot-scope="scope">
92 <p class="order-font"> 92 <p class="order-font">
93 <el-tag size="mini">退款</el-tag> 93 <el-tag size="mini">退款</el-tag>
94 {{ scope.row.merchantRefundNo }} 94 {{ scope.row.merchantRefundNo }}
@@ -100,7 +100,7 @@ @@ -100,7 +100,7 @@
100 </template> 100 </template>
101 </el-table-column> 101 </el-table-column>
102 <el-table-column label="支付订单号" align="center" prop="merchantRefundNo" width="250"> 102 <el-table-column label="支付订单号" align="center" prop="merchantRefundNo" width="250">
103 - <template v-slot="scope"> 103 + <template slot-scope="scope">
104 <p class="order-font"> 104 <p class="order-font">
105 <el-tag size="mini">交易</el-tag> 105 <el-tag size="mini">交易</el-tag>
106 {{ scope.row.tradeNo }} 106 {{ scope.row.tradeNo }}
@@ -112,7 +112,7 @@ @@ -112,7 +112,7 @@
112 </template> 112 </template>
113 </el-table-column> 113 </el-table-column>
114 <el-table-column label="支付金额(元)" align="center" prop="payAmount" width="100"> 114 <el-table-column label="支付金额(元)" align="center" prop="payAmount" width="100">
115 - <template v-slot="scope" class=""> 115 + <template slot-scope="scope" class="">
116 ¥{{ parseFloat(scope.row.payAmount / 100).toFixed(2) }} 116 ¥{{ parseFloat(scope.row.payAmount / 100).toFixed(2) }}
117 </template> 117 </template>
118 </el-table-column> 118 </el-table-column>
@@ -122,17 +122,17 @@ @@ -122,17 +122,17 @@
122 </template> 122 </template>
123 </el-table-column> 123 </el-table-column>
124 <el-table-column label="退款类型" align="center" prop="type" width="80"> 124 <el-table-column label="退款类型" align="center" prop="type" width="80">
125 - <template v-slot="scope"> 125 + <template slot-scope="scope">
126 <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="scope.row.type" /> 126 <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="scope.row.type" />
127 </template> 127 </template>
128 </el-table-column> 128 </el-table-column>
129 <el-table-column label="退款状态" align="center" prop="status"> 129 <el-table-column label="退款状态" align="center" prop="status">
130 - <template v-slot="scope"> 130 + <template slot-scope="scope">
131 <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_STATUS" :value="scope.row.status" /> 131 <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_STATUS" :value="scope.row.status" />
132 </template> 132 </template>
133 </el-table-column> 133 </el-table-column>
134 <el-table-column label="回调状态" align="center" prop="notifyStatus"> 134 <el-table-column label="回调状态" align="center" prop="notifyStatus">
135 - <template v-slot="scope"> 135 + <template slot-scope="scope">
136 <dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" /> 136 <dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" />
137 </template> 137 </template>
138 </el-table-column> 138 </el-table-column>
@@ -183,7 +183,7 @@ @@ -183,7 +183,7 @@
183 <el-tag class="tag-purple" size="mini">{{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}</el-tag> 183 <el-tag class="tag-purple" size="mini">{{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}</el-tag>
184 </el-descriptions-item> 184 </el-descriptions-item>
185 <el-descriptions-item label="退款类型"> 185 <el-descriptions-item label="退款类型">
186 - <template v-slot="scope"> 186 + <template slot-scope="scope">
187 <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="refundDetail.type" /> 187 <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="refundDetail.type" />
188 </template> 188 </template>
189 </el-descriptions-item> 189 </el-descriptions-item>
yudao-ui-admin/src/views/system/oauth2/client/index.vue
@@ -50,7 +50,7 @@ @@ -50,7 +50,7 @@
50 </el-table-column> 50 </el-table-column>
51 <el-table-column label="授权类型" align="center" prop="authorizedGrantTypes"> 51 <el-table-column label="授权类型" align="center" prop="authorizedGrantTypes">
52 <template slot-scope="scope"> 52 <template slot-scope="scope">
53 - <el-tag :disable-transitions="true" v-for="(authorizedGrantType, index) in scope.row.authorizedGrantTypes" :index="index"> 53 + <el-tag :disable-transitions="true" :key="index" v-for="(authorizedGrantType, index) in scope.row.authorizedGrantTypes" :index="index">
54 {{ authorizedGrantType }} 54 {{ authorizedGrantType }}
55 </el-tag> 55 </el-tag>
56 </template> 56 </template>
yudao-ui-admin/src/views/system/sensitiveWord/index.vue
@@ -54,7 +54,7 @@ @@ -54,7 +54,7 @@
54 <el-table-column label="描述" align="center" prop="description"/> 54 <el-table-column label="描述" align="center" prop="description"/>
55 <el-table-column label="标签" align="center" prop="tags"> 55 <el-table-column label="标签" align="center" prop="tags">
56 <template slot-scope="scope"> 56 <template slot-scope="scope">
57 - <el-tag :disable-transitions="true" v-for="(tag, index) in scope.row.tags" :index="index"> 57 + <el-tag :disable-transitions="true" :key="index" v-for="(tag, index) in scope.row.tags" :index="index">
58 {{ tag }} 58 {{ tag }}
59 </el-tag> 59 </el-tag>
60 </template> 60 </template>
yudao-ui-admin/src/views/system/sms/smsTemplate.vue
@@ -147,7 +147,7 @@ @@ -147,7 +147,7 @@
147 <el-form-item label="手机号" prop="mobile"> 147 <el-form-item label="手机号" prop="mobile">
148 <el-input v-model="sendSmsForm.mobile" placeholder="请输入手机号" /> 148 <el-input v-model="sendSmsForm.mobile" placeholder="请输入手机号" />
149 </el-form-item> 149 </el-form-item>
150 - <el-form-item v-for="param in sendSmsForm.params" :label="'参数 {' + param + '}'" :prop="'templateParams.' + param"> 150 + <el-form-item v-for="param in sendSmsForm.params" :key="param" :label="'参数 {' + param + '}'" :prop="'templateParams.' + param">
151 <el-input v-model="sendSmsForm.templateParams[param]" :placeholder="'请输入 ' + param + ' 参数'" /> 151 <el-input v-model="sendSmsForm.templateParams[param]" :placeholder="'请输入 ' + param + ' 参数'" />
152 </el-form-item> 152 </el-form-item>
153 </el-form> 153 </el-form>