Commit d7b19327ab204176e79fc902837d0f083b1fff52

Authored by supine-win
1 parent 24d46ad2

fix ui-admin warning

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