Commit c9e11e76360e1b5dbac6fabbe463c481e3d71143
1 parent
d730c50d
fix slot-scope
Showing
53 changed files
with
247 additions
and
247 deletions
yudao-ui-admin/src/views/bpm/definition/index.vue
| @@ -6,19 +6,19 @@ | @@ -6,19 +6,19 @@ | ||
| 6 | <el-table v-loading="loading" :data="list"> | 6 | <el-table v-loading="loading" :data="list"> |
| 7 | <el-table-column label="定义编号" align="center" prop="id" width="400" /> | 7 | <el-table-column label="定义编号" align="center" prop="id" width="400" /> |
| 8 | <el-table-column label="定义名称" align="center" prop="name" width="100"> | 8 | <el-table-column label="定义名称" align="center" prop="name" width="100"> |
| 9 | - <template slot-scope="scope"> | 9 | + <template v-slot="scope"> |
| 10 | <el-button type="text" @click="handleBpmnDetail(scope.row)"> | 10 | <el-button type="text" @click="handleBpmnDetail(scope.row)"> |
| 11 | <span>{{ scope.row.name }}</span> | 11 | <span>{{ scope.row.name }}</span> |
| 12 | </el-button> | 12 | </el-button> |
| 13 | </template> | 13 | </template> |
| 14 | </el-table-column> | 14 | </el-table-column> |
| 15 | <el-table-column label="定义分类" align="center" prop="category" width="100"> | 15 | <el-table-column label="定义分类" align="center" prop="category" width="100"> |
| 16 | - <template slot-scope="scope"> | 16 | + <template v-slot="scope"> |
| 17 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> | 17 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> |
| 18 | </template> | 18 | </template> |
| 19 | </el-table-column> | 19 | </el-table-column> |
| 20 | <el-table-column label="表单信息" align="center" prop="formType" width="200"> | 20 | <el-table-column label="表单信息" align="center" prop="formType" width="200"> |
| 21 | - <template slot-scope="scope"> | 21 | + <template v-slot="scope"> |
| 22 | <el-button v-if="scope.row.formId" type="text" @click="handleFormDetail(scope.row)"> | 22 | <el-button v-if="scope.row.formId" type="text" @click="handleFormDetail(scope.row)"> |
| 23 | <span>{{ scope.row.formName }}</span> | 23 | <span>{{ scope.row.formName }}</span> |
| 24 | </el-button> | 24 | </el-button> |
| @@ -29,25 +29,25 @@ | @@ -29,25 +29,25 @@ | ||
| 29 | </template> | 29 | </template> |
| 30 | </el-table-column> | 30 | </el-table-column> |
| 31 | <el-table-column label="流程版本" align="center" prop="processDefinition.version" width="80"> | 31 | <el-table-column label="流程版本" align="center" prop="processDefinition.version" width="80"> |
| 32 | - <template slot-scope="scope"> | 32 | + <template v-slot="scope"> |
| 33 | <el-tag size="medium" v-if="scope.row">v{{ scope.row.version }}</el-tag> | 33 | <el-tag size="medium" v-if="scope.row">v{{ scope.row.version }}</el-tag> |
| 34 | <el-tag size="medium" type="warning" v-else>未部署</el-tag> | 34 | <el-tag size="medium" type="warning" v-else>未部署</el-tag> |
| 35 | </template> | 35 | </template> |
| 36 | </el-table-column> | 36 | </el-table-column> |
| 37 | <el-table-column label="状态" align="center" prop="version" width="80"> | 37 | <el-table-column label="状态" align="center" prop="version" width="80"> |
| 38 | - <template slot-scope="scope"> | 38 | + <template v-slot="scope"> |
| 39 | <el-tag type="success" v-if="scope.row.suspensionState === 1">激活</el-tag> | 39 | <el-tag type="success" v-if="scope.row.suspensionState === 1">激活</el-tag> |
| 40 | <el-tag type="warning" v-if="scope.row.suspensionState === 2">挂起</el-tag> | 40 | <el-tag type="warning" v-if="scope.row.suspensionState === 2">挂起</el-tag> |
| 41 | </template> | 41 | </template> |
| 42 | </el-table-column> | 42 | </el-table-column> |
| 43 | <el-table-column label="部署时间" align="center" prop="deploymentTime" width="180"> | 43 | <el-table-column label="部署时间" align="center" prop="deploymentTime" width="180"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <span>{{ parseTime(scope.row.deploymentTime) }}</span> | 45 | <span>{{ parseTime(scope.row.deploymentTime) }}</span> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="定义描述" align="center" prop="description" width="300" show-overflow-tooltip /> | 48 | <el-table-column label="定义描述" align="center" prop="description" width="300" show-overflow-tooltip /> |
| 49 | <el-table-column label="操作" align="center" width="150" fixed="right"> | 49 | <el-table-column label="操作" align="center" width="150" fixed="right"> |
| 50 | - <template slot-scope="scope"> | 50 | + <template v-slot="scope"> |
| 51 | <el-button size="mini" type="text" icon="el-icon-s-custom" @click="handleAssignRule(scope.row)" | 51 | <el-button size="mini" type="text" icon="el-icon-s-custom" @click="handleAssignRule(scope.row)" |
| 52 | v-hasPermi="['bpm:task-assign-rule:update']">分配规则</el-button> | 52 | v-hasPermi="['bpm:task-assign-rule:update']">分配规则</el-button> |
| 53 | </template> | 53 | </template> |
yudao-ui-admin/src/views/bpm/form/index.vue
| @@ -27,18 +27,18 @@ | @@ -27,18 +27,18 @@ | ||
| 27 | <el-table-column label="编号" align="center" prop="id" /> | 27 | <el-table-column label="编号" align="center" prop="id" /> |
| 28 | <el-table-column label="表单名" align="center" prop="name" /> | 28 | <el-table-column label="表单名" align="center" prop="name" /> |
| 29 | <el-table-column label="开启状态" align="center" prop="status"> | 29 | <el-table-column label="开启状态" align="center" prop="status"> |
| 30 | - <template slot-scope="scope"> | 30 | + <template v-slot="scope"> |
| 31 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 31 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 32 | </template> | 32 | </template> |
| 33 | </el-table-column> | 33 | </el-table-column> |
| 34 | <el-table-column label="备注" align="center" prop="remark" /> | 34 | <el-table-column label="备注" align="center" prop="remark" /> |
| 35 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 35 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 36 | - <template slot-scope="scope"> | 36 | + <template v-slot="scope"> |
| 37 | <span>{{ parseTime(scope.row.createTime) }}</span> | 37 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 38 | </template> | 38 | </template> |
| 39 | </el-table-column> | 39 | </el-table-column> |
| 40 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 40 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)" | 42 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)" |
| 43 | v-hasPermi="['bpm:form:query']">详情</el-button> | 43 | v-hasPermi="['bpm:form:query']">详情</el-button> |
| 44 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 44 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
yudao-ui-admin/src/views/bpm/group/index.vue
| @@ -38,24 +38,24 @@ | @@ -38,24 +38,24 @@ | ||
| 38 | <el-table-column label="组名" align="center" prop="name" /> | 38 | <el-table-column label="组名" align="center" prop="name" /> |
| 39 | <el-table-column label="描述" align="center" prop="description" /> | 39 | <el-table-column label="描述" align="center" prop="description" /> |
| 40 | <el-table-column label="成员" align="center"> | 40 | <el-table-column label="成员" align="center"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <span v-for="userId in scope.row.memberUserIds"> | 42 | <span v-for="userId in scope.row.memberUserIds"> |
| 43 | {{ getUserNickname(userId) }} | 43 | {{ getUserNickname(userId) }} |
| 44 | </span> | 44 | </span> |
| 45 | </template> | 45 | </template> |
| 46 | </el-table-column> | 46 | </el-table-column> |
| 47 | <el-table-column label="状态" align="center" prop="status"> | 47 | <el-table-column label="状态" align="center" prop="status"> |
| 48 | - <template slot-scope="scope"> | 48 | + <template v-slot="scope"> |
| 49 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" /> | 49 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" /> |
| 50 | </template> | 50 | </template> |
| 51 | </el-table-column> | 51 | </el-table-column> |
| 52 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 52 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 53 | - <template slot-scope="scope"> | 53 | + <template v-slot="scope"> |
| 54 | <span>{{ parseTime(scope.row.createTime) }}</span> | 54 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 55 | </template> | 55 | </template> |
| 56 | </el-table-column> | 56 | </el-table-column> |
| 57 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 57 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 58 | - <template slot-scope="scope"> | 58 | + <template v-slot="scope"> |
| 59 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 59 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 60 | v-hasPermi="['bpm:user-group:update']">修改</el-button> | 60 | v-hasPermi="['bpm:user-group:update']">修改</el-button> |
| 61 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 61 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/bpm/model/index.vue
| @@ -40,19 +40,19 @@ | @@ -40,19 +40,19 @@ | ||
| 40 | <el-table v-loading="loading" :data="list"> | 40 | <el-table v-loading="loading" :data="list"> |
| 41 | <el-table-column label="流程标识" align="center" prop="key" /> | 41 | <el-table-column label="流程标识" align="center" prop="key" /> |
| 42 | <el-table-column label="流程名称" align="center" prop="name" width="200"> | 42 | <el-table-column label="流程名称" align="center" prop="name" width="200"> |
| 43 | - <template slot-scope="scope"> | 43 | + <template v-slot="scope"> |
| 44 | <el-button type="text" @click="handleBpmnDetail(scope.row)"> | 44 | <el-button type="text" @click="handleBpmnDetail(scope.row)"> |
| 45 | <span>{{ scope.row.name }}</span> | 45 | <span>{{ scope.row.name }}</span> |
| 46 | </el-button> | 46 | </el-button> |
| 47 | </template> | 47 | </template> |
| 48 | </el-table-column> | 48 | </el-table-column> |
| 49 | <el-table-column label="流程分类" align="center" prop="category" width="100"> | 49 | <el-table-column label="流程分类" align="center" prop="category" width="100"> |
| 50 | - <template slot-scope="scope"> | 50 | + <template v-slot="scope"> |
| 51 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> | 51 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> |
| 52 | </template> | 52 | </template> |
| 53 | </el-table-column> | 53 | </el-table-column> |
| 54 | <el-table-column label="表单信息" align="center" prop="formType" width="200"> | 54 | <el-table-column label="表单信息" align="center" prop="formType" width="200"> |
| 55 | - <template slot-scope="scope"> | 55 | + <template v-slot="scope"> |
| 56 | <el-button v-if="scope.row.formId" type="text" @click="handleFormDetail(scope.row)"> | 56 | <el-button v-if="scope.row.formId" type="text" @click="handleFormDetail(scope.row)"> |
| 57 | <span>{{ scope.row.formName }}</span> | 57 | <span>{{ scope.row.formName }}</span> |
| 58 | </el-button> | 58 | </el-button> |
| @@ -63,31 +63,31 @@ | @@ -63,31 +63,31 @@ | ||
| 63 | </template> | 63 | </template> |
| 64 | </el-table-column> | 64 | </el-table-column> |
| 65 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 65 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 66 | - <template slot-scope="scope"> | 66 | + <template v-slot="scope"> |
| 67 | <span>{{ parseTime(scope.row.createTime) }}</span> | 67 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 68 | </template> | 68 | </template> |
| 69 | </el-table-column> | 69 | </el-table-column> |
| 70 | <el-table-column label="最新部署的流程定义" align="center"> | 70 | <el-table-column label="最新部署的流程定义" align="center"> |
| 71 | <el-table-column label="流程版本" align="center" prop="processDefinition.version" width="80"> | 71 | <el-table-column label="流程版本" align="center" prop="processDefinition.version" width="80"> |
| 72 | - <template slot-scope="scope"> | 72 | + <template v-slot="scope"> |
| 73 | <el-tag size="medium" v-if="scope.row.processDefinition">v{{ scope.row.processDefinition.version }}</el-tag> | 73 | <el-tag size="medium" v-if="scope.row.processDefinition">v{{ scope.row.processDefinition.version }}</el-tag> |
| 74 | <el-tag size="medium" type="warning" v-else>未部署</el-tag> | 74 | <el-tag size="medium" type="warning" v-else>未部署</el-tag> |
| 75 | </template> | 75 | </template> |
| 76 | </el-table-column> | 76 | </el-table-column> |
| 77 | <el-table-column label="激活状态" align="center" prop="processDefinition.version" width="80"> | 77 | <el-table-column label="激活状态" align="center" prop="processDefinition.version" width="80"> |
| 78 | - <template slot-scope="scope"> | 78 | + <template v-slot="scope"> |
| 79 | <el-switch v-if="scope.row.processDefinition" v-model="scope.row.processDefinition.suspensionState" | 79 | <el-switch v-if="scope.row.processDefinition" v-model="scope.row.processDefinition.suspensionState" |
| 80 | :active-value="1" :inactive-value="2" @change="handleChangeState(scope.row)" /> | 80 | :active-value="1" :inactive-value="2" @change="handleChangeState(scope.row)" /> |
| 81 | </template> | 81 | </template> |
| 82 | </el-table-column> | 82 | </el-table-column> |
| 83 | <el-table-column label="部署时间" align="center" prop="deploymentTime" width="180"> | 83 | <el-table-column label="部署时间" align="center" prop="deploymentTime" width="180"> |
| 84 | - <template slot-scope="scope"> | 84 | + <template v-slot="scope"> |
| 85 | <span v-if="scope.row.processDefinition">{{ parseTime(scope.row.processDefinition.deploymentTime) }}</span> | 85 | <span v-if="scope.row.processDefinition">{{ parseTime(scope.row.processDefinition.deploymentTime) }}</span> |
| 86 | </template> | 86 | </template> |
| 87 | </el-table-column> | 87 | </el-table-column> |
| 88 | </el-table-column> | 88 | </el-table-column> |
| 89 | <el-table-column label="操作" align="center" width="450" fixed="right"> | 89 | <el-table-column label="操作" align="center" width="450" fixed="right"> |
| 90 | - <template slot-scope="scope"> | 90 | + <template v-slot="scope"> |
| 91 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 91 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 92 | v-hasPermi="['bpm:model:update']">修改流程</el-button> | 92 | v-hasPermi="['bpm:model:update']">修改流程</el-button> |
| 93 | <el-button size="mini" type="text" icon="el-icon-setting" @click="handleDesign(scope.row)" | 93 | <el-button size="mini" type="text" icon="el-icon-setting" @click="handleDesign(scope.row)" |
yudao-ui-admin/src/views/bpm/oa/leave/index.vue
| @@ -41,33 +41,33 @@ | @@ -41,33 +41,33 @@ | ||
| 41 | <el-table v-loading="loading" :data="list"> | 41 | <el-table v-loading="loading" :data="list"> |
| 42 | <el-table-column label="申请编号" align="center" prop="id" /> | 42 | <el-table-column label="申请编号" align="center" prop="id" /> |
| 43 | <el-table-column label="状态" align="center" prop="result"> | 43 | <el-table-column label="状态" align="center" prop="result"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT" :value="scope.row.result"/> | 45 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT" :value="scope.row.result"/> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="开始时间" align="center" prop="startTime" width="180"> | 48 | <el-table-column label="开始时间" align="center" prop="startTime" width="180"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <span>{{ parseTime(scope.row.startTime) }}</span> | 50 | <span>{{ parseTime(scope.row.startTime) }}</span> |
| 51 | </template> | 51 | </template> |
| 52 | </el-table-column> | 52 | </el-table-column> |
| 53 | <el-table-column label="结束时间" align="center" prop="endTime" width="180"> | 53 | <el-table-column label="结束时间" align="center" prop="endTime" width="180"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <span>{{ parseTime(scope.row.endTime) }}</span> | 55 | <span>{{ parseTime(scope.row.endTime) }}</span> |
| 56 | </template> | 56 | </template> |
| 57 | </el-table-column> | 57 | </el-table-column> |
| 58 | <el-table-column label="请假类型" align="center" prop="type"> | 58 | <el-table-column label="请假类型" align="center" prop="type"> |
| 59 | - <template slot-scope="scope"> | 59 | + <template v-slot="scope"> |
| 60 | <dict-tag :type="DICT_TYPE.BPM_OA_LEAVE_TYPE" :value="scope.row.type"/> | 60 | <dict-tag :type="DICT_TYPE.BPM_OA_LEAVE_TYPE" :value="scope.row.type"/> |
| 61 | </template> | 61 | </template> |
| 62 | </el-table-column> | 62 | </el-table-column> |
| 63 | <el-table-column label="原因" align="center" prop="reason" /> | 63 | <el-table-column label="原因" align="center" prop="reason" /> |
| 64 | <el-table-column label="申请时间" align="center" prop="applyTime" width="180"> | 64 | <el-table-column label="申请时间" align="center" prop="applyTime" width="180"> |
| 65 | - <template slot-scope="scope"> | 65 | + <template v-slot="scope"> |
| 66 | <span>{{ parseTime(scope.row.createTime) }}</span> | 66 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 67 | </template> | 67 | </template> |
| 68 | </el-table-column> | 68 | </el-table-column> |
| 69 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200"> | 69 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="200"> |
| 70 | - <template slot-scope="scope"> | 70 | + <template v-slot="scope"> |
| 71 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleCancel(scope.row)" | 71 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleCancel(scope.row)" |
| 72 | v-hasPermi="['bpm:oa-leave:create']" v-if="scope.row.result === 1">取消请假</el-button> | 72 | v-hasPermi="['bpm:oa-leave:create']" v-if="scope.row.result === 1">取消请假</el-button> |
| 73 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)" | 73 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleDetail(scope.row)" |
yudao-ui-admin/src/views/bpm/processInstance/create.vue
| @@ -4,25 +4,25 @@ | @@ -4,25 +4,25 @@ | ||
| 4 | <div v-if="!selectProcessInstance"> | 4 | <div v-if="!selectProcessInstance"> |
| 5 | <el-table v-loading="loading" :data="list"> | 5 | <el-table v-loading="loading" :data="list"> |
| 6 | <el-table-column label="流程名称" align="center" prop="name" width="200"> | 6 | <el-table-column label="流程名称" align="center" prop="name" width="200"> |
| 7 | - <template slot-scope="scope"> | 7 | + <template v-slot="scope"> |
| 8 | <el-button type="text" @click="handleBpmnDetail(scope.row)"> | 8 | <el-button type="text" @click="handleBpmnDetail(scope.row)"> |
| 9 | <span>{{ scope.row.name }}</span> | 9 | <span>{{ scope.row.name }}</span> |
| 10 | </el-button> | 10 | </el-button> |
| 11 | </template> | 11 | </template> |
| 12 | </el-table-column> | 12 | </el-table-column> |
| 13 | <el-table-column label="流程分类" align="center" prop="category" width="100"> | 13 | <el-table-column label="流程分类" align="center" prop="category" width="100"> |
| 14 | - <template slot-scope="scope"> | 14 | + <template v-slot="scope"> |
| 15 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> | 15 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> |
| 16 | </template> | 16 | </template> |
| 17 | </el-table-column> | 17 | </el-table-column> |
| 18 | <el-table-column label="流程版本" align="center" prop="processDefinition.version" width="80"> | 18 | <el-table-column label="流程版本" align="center" prop="processDefinition.version" width="80"> |
| 19 | - <template slot-scope="scope"> | 19 | + <template v-slot="scope"> |
| 20 | <el-tag size="medium" v-if="scope.row">v{{ scope.row.version }}</el-tag> | 20 | <el-tag size="medium" v-if="scope.row">v{{ scope.row.version }}</el-tag> |
| 21 | </template> | 21 | </template> |
| 22 | </el-table-column> | 22 | </el-table-column> |
| 23 | <el-table-column label="流程描述" align="center" prop="description" width="300" show-overflow-tooltip /> | 23 | <el-table-column label="流程描述" align="center" prop="description" width="300" show-overflow-tooltip /> |
| 24 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 24 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 25 | - <template slot-scope="scope"> | 25 | + <template v-slot="scope"> |
| 26 | <el-button type="text" size="small" icon="el-icon-plus" @click="handleSelect(scope.row)">选择</el-button> | 26 | <el-button type="text" size="small" icon="el-icon-plus" @click="handleSelect(scope.row)">选择</el-button> |
| 27 | </template> | 27 | </template> |
| 28 | </el-table-column> | 28 | </el-table-column> |
yudao-ui-admin/src/views/bpm/processInstance/index.vue
| @@ -52,39 +52,39 @@ | @@ -52,39 +52,39 @@ | ||
| 52 | <el-table-column label="编号" align="center" prop="id" width="320" /> | 52 | <el-table-column label="编号" align="center" prop="id" width="320" /> |
| 53 | <el-table-column label="流程名" align="center" prop="name" /> | 53 | <el-table-column label="流程名" align="center" prop="name" /> |
| 54 | <el-table-column label="流程分类" align="center" prop="category"> | 54 | <el-table-column label="流程分类" align="center" prop="category"> |
| 55 | - <template slot-scope="scope"> | 55 | + <template v-slot="scope"> |
| 56 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> | 56 | <dict-tag :type="DICT_TYPE.BPM_MODEL_CATEGORY" :value="scope.row.category" /> |
| 57 | </template> | 57 | </template> |
| 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 v-slot="scope"> |
| 61 | <el-button v-for="task in scope.row.tasks" :key="task.id" 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> |
| 65 | </el-table-column> | 65 | </el-table-column> |
| 66 | <el-table-column label="状态" align="center" prop="status"> | 66 | <el-table-column label="状态" align="center" prop="status"> |
| 67 | - <template slot-scope="scope"> | 67 | + <template v-slot="scope"> |
| 68 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS" :value="scope.row.status" /> | 68 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_STATUS" :value="scope.row.status" /> |
| 69 | </template> | 69 | </template> |
| 70 | </el-table-column> | 70 | </el-table-column> |
| 71 | <el-table-column label="结果" align="center" prop="result"> | 71 | <el-table-column label="结果" align="center" prop="result"> |
| 72 | - <template slot-scope="scope"> | 72 | + <template v-slot="scope"> |
| 73 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT" :value="scope.row.result"/> | 73 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT" :value="scope.row.result"/> |
| 74 | </template> | 74 | </template> |
| 75 | </el-table-column> | 75 | </el-table-column> |
| 76 | <el-table-column label="提交时间" align="center" prop="createTime" width="180"> | 76 | <el-table-column label="提交时间" align="center" prop="createTime" width="180"> |
| 77 | - <template slot-scope="scope"> | 77 | + <template v-slot="scope"> |
| 78 | <span>{{ parseTime(scope.row.createTime) }}</span> | 78 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 79 | </template> | 79 | </template> |
| 80 | </el-table-column> | 80 | </el-table-column> |
| 81 | <el-table-column label="结束时间" align="center" prop="createTime" width="180"> | 81 | <el-table-column label="结束时间" align="center" prop="createTime" width="180"> |
| 82 | - <template slot-scope="scope"> | 82 | + <template v-slot="scope"> |
| 83 | <span>{{ parseTime(scope.row.endTime) }}</span> | 83 | <span>{{ parseTime(scope.row.endTime) }}</span> |
| 84 | </template> | 84 | </template> |
| 85 | </el-table-column> | 85 | </el-table-column> |
| 86 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 86 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 87 | - <template slot-scope="scope"> | 87 | + <template v-slot="scope"> |
| 88 | <el-button type="text" size="small" icon="el-icon-delete" v-if="scope.row.result === 1" | 88 | <el-button type="text" size="small" icon="el-icon-delete" v-if="scope.row.result === 1" |
| 89 | v-hasPermi="['bpm:process-instance:cancel']" @click="handleCancel(scope.row)">取消</el-button> | 89 | v-hasPermi="['bpm:process-instance:cancel']" @click="handleCancel(scope.row)">取消</el-button> |
| 90 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)" | 90 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleDetail(scope.row)" |
yudao-ui-admin/src/views/bpm/task/done.vue
| @@ -24,28 +24,28 @@ | @@ -24,28 +24,28 @@ | ||
| 24 | <el-table-column label="所属流程" align="center" prop="processInstance.name" width="200" /> | 24 | <el-table-column label="所属流程" align="center" prop="processInstance.name" width="200" /> |
| 25 | <el-table-column label="流程发起人" align="center" prop="processInstance.startUserNickname" width="120" /> | 25 | <el-table-column label="流程发起人" align="center" prop="processInstance.startUserNickname" width="120" /> |
| 26 | <el-table-column label="结果" align="center" prop="result"> | 26 | <el-table-column label="结果" align="center" prop="result"> |
| 27 | - <template slot-scope="scope"> | 27 | + <template v-slot="scope"> |
| 28 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT" :value="scope.row.result"/> | 28 | <dict-tag :type="DICT_TYPE.BPM_PROCESS_INSTANCE_RESULT" :value="scope.row.result"/> |
| 29 | </template> | 29 | </template> |
| 30 | </el-table-column> | 30 | </el-table-column> |
| 31 | <el-table-column label="审批意见" align="center" prop="reason" width="200" /> | 31 | <el-table-column label="审批意见" align="center" prop="reason" width="200" /> |
| 32 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 32 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 33 | - <template slot-scope="scope"> | 33 | + <template v-slot="scope"> |
| 34 | <span>{{ parseTime(scope.row.createTime) }}</span> | 34 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 35 | </template> | 35 | </template> |
| 36 | </el-table-column> | 36 | </el-table-column> |
| 37 | <el-table-column label="审批时间" align="center" prop="endTime" width="180"> | 37 | <el-table-column label="审批时间" align="center" prop="endTime" width="180"> |
| 38 | - <template slot-scope="scope"> | 38 | + <template v-slot="scope"> |
| 39 | <span>{{ parseTime(scope.row.endTime) }}</span> | 39 | <span>{{ parseTime(scope.row.endTime) }}</span> |
| 40 | </template> | 40 | </template> |
| 41 | </el-table-column> | 41 | </el-table-column> |
| 42 | <el-table-column label="耗时" align="center" prop="durationInMillis" width="180"> | 42 | <el-table-column label="耗时" align="center" prop="durationInMillis" width="180"> |
| 43 | - <template slot-scope="scope"> | 43 | + <template v-slot="scope"> |
| 44 | <span>{{ getDateStar(scope.row.durationInMillis) }}</span> | 44 | <span>{{ getDateStar(scope.row.durationInMillis) }}</span> |
| 45 | </template> | 45 | </template> |
| 46 | </el-table-column> | 46 | </el-table-column> |
| 47 | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> | 47 | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> |
| 48 | - <template slot-scope="scope"> | 48 | + <template v-slot="scope"> |
| 49 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAudit(scope.row)" | 49 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAudit(scope.row)" |
| 50 | v-hasPermi="['bpm:task:query']">详情</el-button> | 50 | v-hasPermi="['bpm:task:query']">详情</el-button> |
| 51 | </template> | 51 | </template> |
yudao-ui-admin/src/views/bpm/task/todo.vue
| @@ -24,18 +24,18 @@ | @@ -24,18 +24,18 @@ | ||
| 24 | <el-table-column label="所属流程" align="center" prop="processInstance.name" /> | 24 | <el-table-column label="所属流程" align="center" prop="processInstance.name" /> |
| 25 | <el-table-column label="流程发起人" align="center" prop="processInstance.startUserNickname" /> | 25 | <el-table-column label="流程发起人" align="center" prop="processInstance.startUserNickname" /> |
| 26 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 26 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 27 | - <template slot-scope="scope"> | 27 | + <template v-slot="scope"> |
| 28 | <span>{{ parseTime(scope.row.createTime) }}</span> | 28 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 29 | </template> | 29 | </template> |
| 30 | </el-table-column> | 30 | </el-table-column> |
| 31 | <el-table-column label="状态" align="center" prop="version" width="80"> | 31 | <el-table-column label="状态" align="center" prop="version" width="80"> |
| 32 | - <template slot-scope="scope"> | 32 | + <template v-slot="scope"> |
| 33 | <el-tag type="success" v-if="scope.row.suspensionState === 1">激活</el-tag> | 33 | <el-tag type="success" v-if="scope.row.suspensionState === 1">激活</el-tag> |
| 34 | <el-tag type="warning" v-if="scope.row.suspensionState === 2">挂起</el-tag> | 34 | <el-tag type="warning" v-if="scope.row.suspensionState === 2">挂起</el-tag> |
| 35 | </template> | 35 | </template> |
| 36 | </el-table-column> | 36 | </el-table-column> |
| 37 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 37 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 38 | - <template slot-scope="scope"> | 38 | + <template v-slot="scope"> |
| 39 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAudit(scope.row)" | 39 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleAudit(scope.row)" |
| 40 | v-hasPermi="['bpm:task:update']">审批</el-button> | 40 | v-hasPermi="['bpm:task:update']">审批</el-button> |
| 41 | </template> | 41 | </template> |
yudao-ui-admin/src/views/bpm/taskAssignRule/taskAssignRuleDialog.vue
| @@ -6,19 +6,19 @@ | @@ -6,19 +6,19 @@ | ||
| 6 | <el-table-column label="任务名" align="center" prop="taskDefinitionName" width="120" fixed /> | 6 | <el-table-column label="任务名" align="center" prop="taskDefinitionName" width="120" fixed /> |
| 7 | <el-table-column label="任务标识" align="center" prop="taskDefinitionKey" width="120" show-tooltip-when-overflow /> | 7 | <el-table-column label="任务标识" align="center" prop="taskDefinitionKey" width="120" show-tooltip-when-overflow /> |
| 8 | <el-table-column label="规则类型" align="center" prop="type" width="120"> | 8 | <el-table-column label="规则类型" align="center" prop="type" width="120"> |
| 9 | - <template slot-scope="scope"> | 9 | + <template v-slot="scope"> |
| 10 | <dict-tag :type="DICT_TYPE.BPM_TASK_ASSIGN_RULE_TYPE" :value="scope.row.type" /> | 10 | <dict-tag :type="DICT_TYPE.BPM_TASK_ASSIGN_RULE_TYPE" :value="scope.row.type" /> |
| 11 | </template> | 11 | </template> |
| 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 v-slot="scope"> |
| 15 | <el-tag size="medium" v-if="scope.row.options" :key="option" 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> |
| 19 | </el-table-column> | 19 | </el-table-column> |
| 20 | <el-table-column v-if="modelId" label="操作" align="center" width="80" fixed="right"> | 20 | <el-table-column v-if="modelId" label="操作" align="center" width="80" fixed="right"> |
| 21 | - <template slot-scope="scope"> | 21 | + <template v-slot="scope"> |
| 22 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdateTaskAssignRule(scope.row)" | 22 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdateTaskAssignRule(scope.row)" |
| 23 | v-hasPermi="['bpm:task-assign-rule:update']">修改</el-button> | 23 | v-hasPermi="['bpm:task-assign-rule:update']">修改</el-button> |
| 24 | </template> | 24 | </template> |
yudao-ui-admin/src/views/infra/apiAccessLog/index.vue
| @@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
| 48 | <el-table-column label="日志编号" align="center" prop="id" /> | 48 | <el-table-column label="日志编号" align="center" prop="id" /> |
| 49 | <el-table-column label="用户编号" align="center" prop="userId" /> | 49 | <el-table-column label="用户编号" align="center" prop="userId" /> |
| 50 | <el-table-column label="用户类型" align="center" prop="userType"> | 50 | <el-table-column label="用户类型" align="center" prop="userType"> |
| 51 | - <template slot-scope="scope"> | 51 | + <template v-slot="scope"> |
| 52 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/> | 52 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/> |
| 53 | </template> | 53 | </template> |
| 54 | </el-table-column>> | 54 | </el-table-column>> |
| @@ -56,22 +56,22 @@ | @@ -56,22 +56,22 @@ | ||
| 56 | <el-table-column label="请求方法名" align="center" prop="requestMethod" /> | 56 | <el-table-column label="请求方法名" align="center" prop="requestMethod" /> |
| 57 | <el-table-column label="请求地址" align="center" prop="requestUrl" width="250" /> | 57 | <el-table-column label="请求地址" align="center" prop="requestUrl" width="250" /> |
| 58 | <el-table-column label="请求时间" align="center" prop="beginTime" width="180"> | 58 | <el-table-column label="请求时间" align="center" prop="beginTime" width="180"> |
| 59 | - <template slot-scope="scope"> | 59 | + <template v-slot="scope"> |
| 60 | <span>{{ parseTime(scope.row.beginTime) }}</span> | 60 | <span>{{ parseTime(scope.row.beginTime) }}</span> |
| 61 | </template> | 61 | </template> |
| 62 | </el-table-column> | 62 | </el-table-column> |
| 63 | <el-table-column label="执行时长" align="center" prop="startTime"> | 63 | <el-table-column label="执行时长" align="center" prop="startTime"> |
| 64 | - <template slot-scope="scope"> | 64 | + <template v-slot="scope"> |
| 65 | <span>{{ scope.row.duration }} ms</span> | 65 | <span>{{ scope.row.duration }} ms</span> |
| 66 | </template> | 66 | </template> |
| 67 | </el-table-column> | 67 | </el-table-column> |
| 68 | <el-table-column label="操作结果" align="center" prop="status"> | 68 | <el-table-column label="操作结果" align="center" prop="status"> |
| 69 | - <template slot-scope="scope"> | 69 | + <template v-slot="scope"> |
| 70 | <span>{{ scope.row.resultCode === 0 ? '成功' : '失败(' + scope.row.resultMsg + ')' }}</span> | 70 | <span>{{ scope.row.resultCode === 0 ? '成功' : '失败(' + scope.row.resultMsg + ')' }}</span> |
| 71 | </template> | 71 | </template> |
| 72 | </el-table-column> | 72 | </el-table-column> |
| 73 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 73 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 74 | - <template slot-scope="scope"> | 74 | + <template v-slot="scope"> |
| 75 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" | 75 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" |
| 76 | v-hasPermi="['infra:api-access-log:query']">详细</el-button> | 76 | v-hasPermi="['infra:api-access-log:query']">详细</el-button> |
| 77 | </template> | 77 | </template> |
yudao-ui-admin/src/views/infra/apiErrorLog/index.vue
| @@ -48,7 +48,7 @@ | @@ -48,7 +48,7 @@ | ||
| 48 | <el-table-column label="日志编号" align="center" prop="id" /> | 48 | <el-table-column label="日志编号" align="center" prop="id" /> |
| 49 | <el-table-column label="用户编号" align="center" prop="userId" /> | 49 | <el-table-column label="用户编号" align="center" prop="userId" /> |
| 50 | <el-table-column label="用户类型" align="center" prop="userType"> | 50 | <el-table-column label="用户类型" align="center" prop="userType"> |
| 51 | - <template slot-scope="scope"> | 51 | + <template v-slot="scope"> |
| 52 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/> | 52 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/> |
| 53 | </template> | 53 | </template> |
| 54 | </el-table-column>> | 54 | </el-table-column>> |
| @@ -56,18 +56,18 @@ | @@ -56,18 +56,18 @@ | ||
| 56 | <el-table-column label="请求方法名" align="center" prop="requestMethod" /> | 56 | <el-table-column label="请求方法名" align="center" prop="requestMethod" /> |
| 57 | <el-table-column label="请求地址" align="center" prop="requestUrl" width="250" /> | 57 | <el-table-column label="请求地址" align="center" prop="requestUrl" width="250" /> |
| 58 | <el-table-column label="异常发生时间" align="center" prop="exceptionTime" width="180"> | 58 | <el-table-column label="异常发生时间" align="center" prop="exceptionTime" width="180"> |
| 59 | - <template slot-scope="scope"> | 59 | + <template v-slot="scope"> |
| 60 | <span>{{ parseTime(scope.row.exceptionTime) }}</span> | 60 | <span>{{ parseTime(scope.row.exceptionTime) }}</span> |
| 61 | </template> | 61 | </template> |
| 62 | </el-table-column> | 62 | </el-table-column> |
| 63 | <el-table-column label="异常名" align="center" prop="exceptionName" width="250" /> | 63 | <el-table-column label="异常名" align="center" prop="exceptionName" width="250" /> |
| 64 | <el-table-column label="处理状态" align="center" prop="processStatus"> | 64 | <el-table-column label="处理状态" align="center" prop="processStatus"> |
| 65 | - <template slot-scope="scope"> | 65 | + <template v-slot="scope"> |
| 66 | <dict-tag :type="DICT_TYPE.INFRA_API_ERROR_LOG_PROCESS_STATUS" :value="scope.row.processStatus" /> | 66 | <dict-tag :type="DICT_TYPE.INFRA_API_ERROR_LOG_PROCESS_STATUS" :value="scope.row.processStatus" /> |
| 67 | </template> | 67 | </template> |
| 68 | </el-table-column> | 68 | </el-table-column> |
| 69 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 69 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 70 | - <template slot-scope="scope"> | 70 | + <template v-slot="scope"> |
| 71 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" | 71 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" |
| 72 | v-hasPermi="['infra:api-access-log:query']">详细</el-button> | 72 | v-hasPermi="['infra:api-access-log:query']">详细</el-button> |
| 73 | <el-button type="text" size="mini" icon="el-icon-check" | 73 | <el-button type="text" size="mini" icon="el-icon-check" |
yudao-ui-admin/src/views/infra/codegen/editTable.vue
| @@ -13,7 +13,7 @@ | @@ -13,7 +13,7 @@ | ||
| 13 | :show-overflow-tooltip="true" | 13 | :show-overflow-tooltip="true" |
| 14 | /> | 14 | /> |
| 15 | <el-table-column label="字段描述" min-width="10%"> | 15 | <el-table-column label="字段描述" min-width="10%"> |
| 16 | - <template slot-scope="scope"> | 16 | + <template v-slot="scope"> |
| 17 | <el-input v-model="scope.row.columnComment"></el-input> | 17 | <el-input v-model="scope.row.columnComment"></el-input> |
| 18 | </template> | 18 | </template> |
| 19 | </el-table-column> | 19 | </el-table-column> |
| @@ -24,7 +24,7 @@ | @@ -24,7 +24,7 @@ | ||
| 24 | :show-overflow-tooltip="true" | 24 | :show-overflow-tooltip="true" |
| 25 | /> | 25 | /> |
| 26 | <el-table-column label="Java类型" min-width="11%"> | 26 | <el-table-column label="Java类型" min-width="11%"> |
| 27 | - <template slot-scope="scope"> | 27 | + <template v-slot="scope"> |
| 28 | <el-select v-model="scope.row.javaType"> | 28 | <el-select v-model="scope.row.javaType"> |
| 29 | <el-option label="Long" value="Long" /> | 29 | <el-option label="Long" value="Long" /> |
| 30 | <el-option label="String" value="String" /> | 30 | <el-option label="String" value="String" /> |
| @@ -37,32 +37,32 @@ | @@ -37,32 +37,32 @@ | ||
| 37 | </template> | 37 | </template> |
| 38 | </el-table-column> | 38 | </el-table-column> |
| 39 | <el-table-column label="java属性" min-width="10%"> | 39 | <el-table-column label="java属性" min-width="10%"> |
| 40 | - <template slot-scope="scope"> | 40 | + <template v-slot="scope"> |
| 41 | <el-input v-model="scope.row.javaField"></el-input> | 41 | <el-input v-model="scope.row.javaField"></el-input> |
| 42 | </template> | 42 | </template> |
| 43 | </el-table-column> | 43 | </el-table-column> |
| 44 | <el-table-column label="插入" min-width="4%"> | 44 | <el-table-column label="插入" min-width="4%"> |
| 45 | - <template slot-scope="scope"> | 45 | + <template v-slot="scope"> |
| 46 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.createOperation"></el-checkbox> | 46 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.createOperation"></el-checkbox> |
| 47 | </template> | 47 | </template> |
| 48 | </el-table-column> | 48 | </el-table-column> |
| 49 | <el-table-column label="编辑" min-width="4%"> | 49 | <el-table-column label="编辑" min-width="4%"> |
| 50 | - <template slot-scope="scope"> | 50 | + <template v-slot="scope"> |
| 51 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.updateOperation"></el-checkbox> | 51 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.updateOperation"></el-checkbox> |
| 52 | </template> | 52 | </template> |
| 53 | </el-table-column> | 53 | </el-table-column> |
| 54 | <el-table-column label="列表" min-width="4%"> | 54 | <el-table-column label="列表" min-width="4%"> |
| 55 | - <template slot-scope="scope"> | 55 | + <template v-slot="scope"> |
| 56 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.listOperationResult"></el-checkbox> | 56 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.listOperationResult"></el-checkbox> |
| 57 | </template> | 57 | </template> |
| 58 | </el-table-column> | 58 | </el-table-column> |
| 59 | <el-table-column label="查询" min-width="4%"> | 59 | <el-table-column label="查询" min-width="4%"> |
| 60 | - <template slot-scope="scope"> | 60 | + <template v-slot="scope"> |
| 61 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.listOperation"></el-checkbox> | 61 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.listOperation"></el-checkbox> |
| 62 | </template> | 62 | </template> |
| 63 | </el-table-column> | 63 | </el-table-column> |
| 64 | <el-table-column label="查询方式" min-width="10%"> | 64 | <el-table-column label="查询方式" min-width="10%"> |
| 65 | - <template slot-scope="scope"> | 65 | + <template v-slot="scope"> |
| 66 | <el-select v-model="scope.row.listOperationCondition"> | 66 | <el-select v-model="scope.row.listOperationCondition"> |
| 67 | <el-option label="=" value="=" /> | 67 | <el-option label="=" value="=" /> |
| 68 | <el-option label="!=" value="!=" /> | 68 | <el-option label="!=" value="!=" /> |
| @@ -76,12 +76,12 @@ | @@ -76,12 +76,12 @@ | ||
| 76 | </template> | 76 | </template> |
| 77 | </el-table-column> | 77 | </el-table-column> |
| 78 | <el-table-column label="允许空" min-width="5%"> | 78 | <el-table-column label="允许空" min-width="5%"> |
| 79 | - <template slot-scope="scope"> | 79 | + <template v-slot="scope"> |
| 80 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.nullable"></el-checkbox> | 80 | <el-checkbox true-label="true" false-label="false" v-model="scope.row.nullable"></el-checkbox> |
| 81 | </template> | 81 | </template> |
| 82 | </el-table-column> | 82 | </el-table-column> |
| 83 | <el-table-column label="显示类型" min-width="12%"> | 83 | <el-table-column label="显示类型" min-width="12%"> |
| 84 | - <template slot-scope="scope"> | 84 | + <template v-slot="scope"> |
| 85 | <el-select v-model="scope.row.htmlType"> | 85 | <el-select v-model="scope.row.htmlType"> |
| 86 | <el-option label="文本框" value="input" /> | 86 | <el-option label="文本框" value="input" /> |
| 87 | <el-option label="文本域" value="textarea" /> | 87 | <el-option label="文本域" value="textarea" /> |
| @@ -96,7 +96,7 @@ | @@ -96,7 +96,7 @@ | ||
| 96 | </template> | 96 | </template> |
| 97 | </el-table-column> | 97 | </el-table-column> |
| 98 | <el-table-column label="字典类型" min-width="12%"> | 98 | <el-table-column label="字典类型" min-width="12%"> |
| 99 | - <template slot-scope="scope"> | 99 | + <template v-slot="scope"> |
| 100 | <el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择"> | 100 | <el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择"> |
| 101 | <el-option | 101 | <el-option |
| 102 | v-for="dict in dictOptions" | 102 | v-for="dict in dictOptions" |
| @@ -108,7 +108,7 @@ | @@ -108,7 +108,7 @@ | ||
| 108 | </template> | 108 | </template> |
| 109 | </el-table-column> | 109 | </el-table-column> |
| 110 | <el-table-column label="示例" min-width="10%"> | 110 | <el-table-column label="示例" min-width="10%"> |
| 111 | - <template slot-scope="scope"> | 111 | + <template v-slot="scope"> |
| 112 | <el-input v-model="scope.row.example"></el-input> | 112 | <el-input v-model="scope.row.example"></el-input> |
| 113 | </template> | 113 | </template> |
| 114 | </el-table-column> | 114 | </el-table-column> |
yudao-ui-admin/src/views/infra/codegen/index.vue
| @@ -38,17 +38,17 @@ | @@ -38,17 +38,17 @@ | ||
| 38 | <el-table-column label="表描述" align="center" prop="tableComment" :show-overflow-tooltip="true" width="120"/> | 38 | <el-table-column label="表描述" align="center" prop="tableComment" :show-overflow-tooltip="true" width="120"/> |
| 39 | <el-table-column label="实体" align="center" prop="className" width="200"/> | 39 | <el-table-column label="实体" align="center" prop="className" width="200"/> |
| 40 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 40 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <span>{{ parseTime(scope.row.createTime) }}</span> | 42 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 43 | </template> | 43 | </template> |
| 44 | </el-table-column> | 44 | </el-table-column> |
| 45 | <el-table-column label="更新时间" align="center" prop="createTime" width="180"> | 45 | <el-table-column label="更新时间" align="center" prop="createTime" width="180"> |
| 46 | - <template slot-scope="scope"> | 46 | + <template v-slot="scope"> |
| 47 | <span>{{ parseTime(scope.row.updateTime) }}</span> | 47 | <span>{{ parseTime(scope.row.updateTime) }}</span> |
| 48 | </template> | 48 | </template> |
| 49 | </el-table-column> | 49 | </el-table-column> |
| 50 | <el-table-column label="操作" align="center" width="300px" class-name="small-padding fixed-width"> | 50 | <el-table-column label="操作" align="center" width="300px" class-name="small-padding fixed-width"> |
| 51 | - <template slot-scope="scope"> | 51 | + <template v-slot="scope"> |
| 52 | <el-button type="text" size="small" icon="el-icon-view" @click="handlePreview(scope.row)" v-hasPermi="['infra:codegen:preview']">预览</el-button> | 52 | <el-button type="text" size="small" icon="el-icon-view" @click="handlePreview(scope.row)" v-hasPermi="['infra:codegen:preview']">预览</el-button> |
| 53 | <el-button type="text" size="small" icon="el-icon-edit" @click="handleEditTable(scope.row)" v-hasPermi="['infra:codegen:update']">编辑</el-button> | 53 | <el-button type="text" size="small" icon="el-icon-edit" @click="handleEditTable(scope.row)" v-hasPermi="['infra:codegen:update']">编辑</el-button> |
| 54 | <el-button type="text" size="small" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['infra:codegen:delete']">删除</el-button> | 54 | <el-button type="text" size="small" icon="el-icon-delete" @click="handleDelete(scope.row)" v-hasPermi="['infra:codegen:delete']">删除</el-button> |
yudao-ui-admin/src/views/infra/config/index.vue
| @@ -46,23 +46,23 @@ | @@ -46,23 +46,23 @@ | ||
| 46 | <el-table-column label="参数键名" align="center" prop="key" :show-overflow-tooltip="true" /> | 46 | <el-table-column label="参数键名" align="center" prop="key" :show-overflow-tooltip="true" /> |
| 47 | <el-table-column label="参数键值" align="center" prop="value" /> | 47 | <el-table-column label="参数键值" align="center" prop="value" /> |
| 48 | <el-table-column label="系统内置" align="center" prop="type"> | 48 | <el-table-column label="系统内置" align="center" prop="type"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <dict-tag :type="DICT_TYPE.INFRA_CONFIG_TYPE" :value="scope.row.type" /> | 50 | <dict-tag :type="DICT_TYPE.INFRA_CONFIG_TYPE" :value="scope.row.type" /> |
| 51 | </template> | 51 | </template> |
| 52 | </el-table-column> | 52 | </el-table-column> |
| 53 | <el-table-column label="是否可见" align="center" prop="visible"> | 53 | <el-table-column label="是否可见" align="center" prop="visible"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <span>{{ scope.row.visible ? '是' : '否' }}</span> | 55 | <span>{{ scope.row.visible ? '是' : '否' }}</span> |
| 56 | </template> | 56 | </template> |
| 57 | </el-table-column> | 57 | </el-table-column> |
| 58 | <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" /> | 58 | <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" /> |
| 59 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 59 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 60 | - <template slot-scope="scope"> | 60 | + <template v-slot="scope"> |
| 61 | <span>{{ parseTime(scope.row.createTime) }}</span> | 61 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 62 | </template> | 62 | </template> |
| 63 | </el-table-column> | 63 | </el-table-column> |
| 64 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 64 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 65 | - <template slot-scope="scope"> | 65 | + <template v-slot="scope"> |
| 66 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 66 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 67 | v-hasPermi="['infra:config:update']">修改</el-button> | 67 | v-hasPermi="['infra:config:update']">修改</el-button> |
| 68 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 68 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/infra/dataSourceConfig/index.vue
| @@ -15,12 +15,12 @@ | @@ -15,12 +15,12 @@ | ||
| 15 | <el-table-column label="数据源连接" align="center" prop="url" /> | 15 | <el-table-column label="数据源连接" align="center" prop="url" /> |
| 16 | <el-table-column label="用户名" align="center" prop="username" /> | 16 | <el-table-column label="用户名" align="center" prop="username" /> |
| 17 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 17 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 18 | - <template slot-scope="scope"> | 18 | + <template v-slot="scope"> |
| 19 | <span>{{ parseTime(scope.row.createTime) }}</span> | 19 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 20 | </template> | 20 | </template> |
| 21 | </el-table-column> | 21 | </el-table-column> |
| 22 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 22 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 23 | - <template slot-scope="scope"> | 23 | + <template v-slot="scope"> |
| 24 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 24 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 25 | v-hasPermi="['infra:data-source-config:update']">修改</el-button> | 25 | v-hasPermi="['infra:data-source-config:update']">修改</el-button> |
| 26 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 26 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/infra/file/index.vue
| @@ -32,7 +32,7 @@ | @@ -32,7 +32,7 @@ | ||
| 32 | <el-table-column label="文件大小" align="center" prop="size" min-width="120px" :formatter="sizeFormat"/> | 32 | <el-table-column label="文件大小" align="center" prop="size" min-width="120px" :formatter="sizeFormat"/> |
| 33 | <el-table-column label="文件类型" :show-overflow-tooltip="true" align="center" prop="type" width="180px"/> | 33 | <el-table-column label="文件类型" :show-overflow-tooltip="true" align="center" prop="type" width="180px"/> |
| 34 | <el-table-column label="文件内容" align="center" prop="content" min-width="150px"> | 34 | <el-table-column label="文件内容" align="center" prop="content" min-width="150px"> |
| 35 | - <template slot-scope="scope"> | 35 | + <template v-slot="scope"> |
| 36 | <image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url" | 36 | <image-preview v-if="scope.row.type&&scope.row.type.indexOf('image/') === 0" :src="scope.row.url" |
| 37 | :width="'100px'"></image-preview> | 37 | :width="'100px'"></image-preview> |
| 38 | <i v-else>无法预览,点击 | 38 | <i v-else>无法预览,点击 |
| @@ -43,12 +43,12 @@ | @@ -43,12 +43,12 @@ | ||
| 43 | </template> | 43 | </template> |
| 44 | </el-table-column> | 44 | </el-table-column> |
| 45 | <el-table-column label="上传时间" align="center" prop="createTime" min-width="170px"> | 45 | <el-table-column label="上传时间" align="center" prop="createTime" min-width="170px"> |
| 46 | - <template slot-scope="scope"> | 46 | + <template v-slot="scope"> |
| 47 | <span>{{ parseTime(scope.row.createTime) }}</span> | 47 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 48 | </template> | 48 | </template> |
| 49 | </el-table-column> | 49 | </el-table-column> |
| 50 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="100px"> | 50 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" min-width="100px"> |
| 51 | - <template slot-scope="scope"> | 51 | + <template v-slot="scope"> |
| 52 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 52 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
| 53 | v-hasPermi="['infra:file:delete']">删除 | 53 | v-hasPermi="['infra:file:delete']">删除 |
| 54 | </el-button> | 54 | </el-button> |
yudao-ui-admin/src/views/infra/fileConfig/index.vue
| @@ -36,23 +36,23 @@ | @@ -36,23 +36,23 @@ | ||
| 36 | <el-table-column label="编号" align="center" prop="id" /> | 36 | <el-table-column label="编号" align="center" prop="id" /> |
| 37 | <el-table-column label="配置名" align="center" prop="name" /> | 37 | <el-table-column label="配置名" align="center" prop="name" /> |
| 38 | <el-table-column label="存储器" align="center" prop="storage"> | 38 | <el-table-column label="存储器" align="center" prop="storage"> |
| 39 | - <template slot-scope="scope"> | 39 | + <template v-slot="scope"> |
| 40 | <dict-tag :type="DICT_TYPE.INFRA_FILE_STORAGE" :value="scope.row.storage" /> | 40 | <dict-tag :type="DICT_TYPE.INFRA_FILE_STORAGE" :value="scope.row.storage" /> |
| 41 | </template> | 41 | </template> |
| 42 | </el-table-column> | 42 | </el-table-column> |
| 43 | <el-table-column label="备注" align="center" prop="remark" /> | 43 | <el-table-column label="备注" align="center" prop="remark" /> |
| 44 | <el-table-column label="主配置" align="center" prop="primary"> | 44 | <el-table-column label="主配置" align="center" prop="primary"> |
| 45 | - <template slot-scope="scope"> | 45 | + <template v-slot="scope"> |
| 46 | <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.master" /> | 46 | <dict-tag :type="DICT_TYPE.INFRA_BOOLEAN_STRING" :value="scope.row.master" /> |
| 47 | </template> | 47 | </template> |
| 48 | </el-table-column> | 48 | </el-table-column> |
| 49 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 49 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 50 | - <template slot-scope="scope"> | 50 | + <template v-slot="scope"> |
| 51 | <span>{{ parseTime(scope.row.createTime) }}</span> | 51 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 52 | </template> | 52 | </template> |
| 53 | </el-table-column> | 53 | </el-table-column> |
| 54 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="240"> | 54 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="240"> |
| 55 | - <template slot-scope="scope"> | 55 | + <template v-slot="scope"> |
| 56 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 56 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 57 | v-hasPermi="['infra:file-config:update']">修改</el-button> | 57 | v-hasPermi="['infra:file-config:update']">修改</el-button> |
| 58 | <el-button size="mini" type="text" icon="el-icon-attract" @click="handleMaster(scope.row)" | 58 | <el-button size="mini" type="text" icon="el-icon-attract" @click="handleMaster(scope.row)" |
yudao-ui-admin/src/views/infra/job/index.vue
| @@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
| 43 | <el-table-column label="任务编号" align="center" prop="id" /> | 43 | <el-table-column label="任务编号" align="center" prop="id" /> |
| 44 | <el-table-column label="任务名称" align="center" prop="name" /> | 44 | <el-table-column label="任务名称" align="center" prop="name" /> |
| 45 | <el-table-column label="任务状态" align="center" prop="status"> | 45 | <el-table-column label="任务状态" align="center" prop="status"> |
| 46 | - <template slot-scope="scope"> | 46 | + <template v-slot="scope"> |
| 47 | <dict-tag :type="DICT_TYPE.INFRA_JOB_STATUS" :value="scope.row.status" /> | 47 | <dict-tag :type="DICT_TYPE.INFRA_JOB_STATUS" :value="scope.row.status" /> |
| 48 | </template> | 48 | </template> |
| 49 | </el-table-column>> | 49 | </el-table-column>> |
| @@ -51,7 +51,7 @@ | @@ -51,7 +51,7 @@ | ||
| 51 | <el-table-column label="处理器的参数" align="center" prop="handlerParam" /> | 51 | <el-table-column label="处理器的参数" align="center" prop="handlerParam" /> |
| 52 | <el-table-column label="CRON 表达式" align="center" prop="cronExpression" /> | 52 | <el-table-column label="CRON 表达式" align="center" prop="cronExpression" /> |
| 53 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 53 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 55 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 56 | v-hasPermi="['infra:job:update']">修改</el-button> | 56 | v-hasPermi="['infra:job:update']">修改</el-button> |
| 57 | <el-button size="mini" type="text" icon="el-icon-check" @click="handleChangeStatus(scope.row, true)" | 57 | <el-button size="mini" type="text" icon="el-icon-check" @click="handleChangeStatus(scope.row, true)" |
yudao-ui-admin/src/views/infra/job/log.vue
| @@ -41,22 +41,22 @@ | @@ -41,22 +41,22 @@ | ||
| 41 | <el-table-column label="处理器的参数" align="center" prop="handlerParam" /> | 41 | <el-table-column label="处理器的参数" align="center" prop="handlerParam" /> |
| 42 | <el-table-column label="第几次执行" align="center" prop="executeIndex" /> | 42 | <el-table-column label="第几次执行" align="center" prop="executeIndex" /> |
| 43 | <el-table-column label="执行时间" align="center" width="180"> | 43 | <el-table-column label="执行时间" align="center" width="180"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <span>{{ parseTime(scope.row.beginTime) + ' ~ ' + parseTime(scope.row.endTime) }}</span> | 45 | <span>{{ parseTime(scope.row.beginTime) + ' ~ ' + parseTime(scope.row.endTime) }}</span> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="执行时长" align="center" prop="duration"> | 48 | <el-table-column label="执行时长" align="center" prop="duration"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <span>{{ scope.row.duration + ' 毫秒' }}</span> | 50 | <span>{{ scope.row.duration + ' 毫秒' }}</span> |
| 51 | </template> | 51 | </template> |
| 52 | </el-table-column> | 52 | </el-table-column> |
| 53 | <el-table-column label="任务状态" align="center" prop="status"> | 53 | <el-table-column label="任务状态" align="center" prop="status"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <dict-tag :type="DICT_TYPE.INFRA_JOB_LOG_STATUS" :value="scope.row.status" /> | 55 | <dict-tag :type="DICT_TYPE.INFRA_JOB_LOG_STATUS" :value="scope.row.status" /> |
| 56 | </template> | 56 | </template> |
| 57 | </el-table-column> | 57 | </el-table-column> |
| 58 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 58 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 59 | - <template slot-scope="scope"> | 59 | + <template v-slot="scope"> |
| 60 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)" :loading="exportLoading" | 60 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row)" :loading="exportLoading" |
| 61 | v-hasPermi="['infra:job:query']">详细</el-button> | 61 | v-hasPermi="['infra:job:query']">详细</el-button> |
| 62 | </template> | 62 | </template> |
yudao-ui-admin/src/views/infra/redis/index.vue
| @@ -71,7 +71,7 @@ | @@ -71,7 +71,7 @@ | ||
| 71 | <el-table-column prop="keyType" label="Key 类型" width="100" /> | 71 | <el-table-column prop="keyType" label="Key 类型" width="100" /> |
| 72 | <el-table-column prop="valueType" label="Value 类型" /> | 72 | <el-table-column prop="valueType" label="Value 类型" /> |
| 73 | <el-table-column prop="timeoutType" label="超时时间" width="200"> | 73 | <el-table-column prop="timeoutType" label="超时时间" width="200"> |
| 74 | - <template slot-scope="scope"> | 74 | + <template v-slot="scope"> |
| 75 | <dict-tag | 75 | <dict-tag |
| 76 | :type="DICT_TYPE.INFRA_REDIS_TIMEOUT_TYPE" | 76 | :type="DICT_TYPE.INFRA_REDIS_TIMEOUT_TYPE" |
| 77 | :value="scope.row.timeoutType" | 77 | :value="scope.row.timeoutType" |
| @@ -95,10 +95,10 @@ | @@ -95,10 +95,10 @@ | ||
| 95 | </div> | 95 | </div> |
| 96 | <el-table :data="cacheKeys" style="width: 100%" @row-click="handleKeyValue"> | 96 | <el-table :data="cacheKeys" style="width: 100%" @row-click="handleKeyValue"> |
| 97 | <el-table-column label="缓存键名" align="center" :show-overflow-tooltip="true"> | 97 | <el-table-column label="缓存键名" align="center" :show-overflow-tooltip="true"> |
| 98 | - <template slot-scope="scope">{{ scope.row }}</template> | 98 | + <template v-slot="scope">{{ scope.row }}</template> |
| 99 | </el-table-column> | 99 | </el-table-column> |
| 100 | <el-table-column label="操作" width="60" align="center" class-name="small-padding fixed-width"> | 100 | <el-table-column label="操作" width="60" align="center" class-name="small-padding fixed-width"> |
| 101 | - <template slot-scope="scope"> | 101 | + <template v-slot="scope"> |
| 102 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDeleteKey(scope.row)" /> | 102 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDeleteKey(scope.row)" /> |
| 103 | </template> | 103 | </template> |
| 104 | </el-table-column> | 104 | </el-table-column> |
yudao-ui-admin/src/views/infra/testDemo/index.vue
| @@ -54,12 +54,12 @@ | @@ -54,12 +54,12 @@ | ||
| 54 | <el-table-column label="分类" align="center" prop="category" /> | 54 | <el-table-column label="分类" align="center" prop="category" /> |
| 55 | <el-table-column label="备注" align="center" prop="remark" /> | 55 | <el-table-column label="备注" align="center" prop="remark" /> |
| 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 57 | - <template slot-scope="scope"> | 57 | + <template v-slot="scope"> |
| 58 | <span>{{ parseTime(scope.row.createTime) }}</span> | 58 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 59 | </template> | 59 | </template> |
| 60 | </el-table-column> | 60 | </el-table-column> |
| 61 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 61 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 62 | - <template slot-scope="scope"> | 62 | + <template v-slot="scope"> |
| 63 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 63 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 64 | v-hasPermi="['infra:test-demo:update']">修改</el-button> | 64 | v-hasPermi="['infra:test-demo:update']">修改</el-button> |
| 65 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 65 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/mall/CouponTemplete/index.vue
| @@ -66,17 +66,17 @@ | @@ -66,17 +66,17 @@ | ||
| 66 | <!-- todo 1-时间范围过期 2-领取之日固定日期后过期 3-领取次日固定日期后过期 --> | 66 | <!-- todo 1-时间范围过期 2-领取之日固定日期后过期 3-领取次日固定日期后过期 --> |
| 67 | <el-table-column label="有效期限" align="center" prop="validityType" /> | 67 | <el-table-column label="有效期限" align="center" prop="validityType" /> |
| 68 | <!-- <el-table-column label="使用开始日期 过期类型1时必填" align="center" prop="startUseTime" width="180">--> | 68 | <!-- <el-table-column label="使用开始日期 过期类型1时必填" align="center" prop="startUseTime" width="180">--> |
| 69 | -<!-- <template slot-scope="scope">--> | 69 | +<!-- <template v-slot="scope">--> |
| 70 | <!-- <span>{{ parseTime(scope.row.startUseTime) }}</span>--> | 70 | <!-- <span>{{ parseTime(scope.row.startUseTime) }}</span>--> |
| 71 | <!-- </template>--> | 71 | <!-- </template>--> |
| 72 | <!-- </el-table-column>--> | 72 | <!-- </el-table-column>--> |
| 73 | <!-- <el-table-column label="使用结束日期 过期类型1时必填" align="center" prop="endUseTime" width="180">--> | 73 | <!-- <el-table-column label="使用结束日期 过期类型1时必填" align="center" prop="endUseTime" width="180">--> |
| 74 | -<!-- <template slot-scope="scope">--> | 74 | +<!-- <template v-slot="scope">--> |
| 75 | <!-- <span>{{ parseTime(scope.row.endUseTime) }}</span>--> | 75 | <!-- <span>{{ parseTime(scope.row.endUseTime) }}</span>--> |
| 76 | <!-- </template>--> | 76 | <!-- </template>--> |
| 77 | <!-- </el-table-column>--> | 77 | <!-- </el-table-column>--> |
| 78 | <!-- <el-table-column label="有效日期结束时间" align="center" prop="endTime" width="180">--> | 78 | <!-- <el-table-column label="有效日期结束时间" align="center" prop="endTime" width="180">--> |
| 79 | -<!-- <template slot-scope="scope">--> | 79 | +<!-- <template v-slot="scope">--> |
| 80 | <!-- <span>{{ parseTime(scope.row.endTime) }}</span>--> | 80 | <!-- <span>{{ parseTime(scope.row.endTime) }}</span>--> |
| 81 | <!-- </template>--> | 81 | <!-- </template>--> |
| 82 | <!-- </el-table-column>--> | 82 | <!-- </el-table-column>--> |
yudao-ui-admin/src/views/mall/market/banner/index.vue
| @@ -37,7 +37,7 @@ | @@ -37,7 +37,7 @@ | ||
| 37 | <el-table-column label="标题" align="center" prop="title"/> | 37 | <el-table-column label="标题" align="center" prop="title"/> |
| 38 | 38 | ||
| 39 | <el-table-column label="缩略图" align="center" prop="picUrl"> | 39 | <el-table-column label="缩略图" align="center" prop="picUrl"> |
| 40 | - <template slot-scope="scope"> | 40 | + <template v-slot="scope"> |
| 41 | <img v-if="scope.row.picUrl" :src="scope.row.picUrl" alt="缩略图片" class="img-height"/> | 41 | <img v-if="scope.row.picUrl" :src="scope.row.picUrl" alt="缩略图片" class="img-height"/> |
| 42 | </template> | 42 | </template> |
| 43 | </el-table-column> | 43 | </el-table-column> |
| @@ -45,17 +45,17 @@ | @@ -45,17 +45,17 @@ | ||
| 45 | <el-table-column label="排序" align="center" prop="sort"/> | 45 | <el-table-column label="排序" align="center" prop="sort"/> |
| 46 | <el-table-column label="描述" align="center" prop="memo"/> | 46 | <el-table-column label="描述" align="center" prop="memo"/> |
| 47 | <el-table-column label="状态" align="center" prop="status"> | 47 | <el-table-column label="状态" align="center" prop="status"> |
| 48 | - <template slot-scope="scope"> | 48 | + <template v-slot="scope"> |
| 49 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 49 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 50 | </template> | 50 | </template> |
| 51 | </el-table-column> | 51 | </el-table-column> |
| 52 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 52 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 53 | - <template slot-scope="scope"> | 53 | + <template v-slot="scope"> |
| 54 | <span>{{ parseTime(scope.row.createTime) }}</span> | 54 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 55 | </template> | 55 | </template> |
| 56 | </el-table-column> | 56 | </el-table-column> |
| 57 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 57 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 58 | - <template slot-scope="scope"> | 58 | + <template v-slot="scope"> |
| 59 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 59 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 60 | v-hasPermi="['market:banner:update']">修改 | 60 | v-hasPermi="['market:banner:update']">修改 |
| 61 | </el-button> | 61 | </el-button> |
yudao-ui-admin/src/views/mall/product/brand/index.vue
| @@ -36,24 +36,24 @@ | @@ -36,24 +36,24 @@ | ||
| 36 | <el-table-column label="品牌编号" align="center" prop="id"/> | 36 | <el-table-column label="品牌编号" align="center" prop="id"/> |
| 37 | <el-table-column label="品牌名称" align="center" prop="name"/> | 37 | <el-table-column label="品牌名称" align="center" prop="name"/> |
| 38 | <el-table-column label="品牌图片" align="center" prop="picUrl"> | 38 | <el-table-column label="品牌图片" align="center" prop="picUrl"> |
| 39 | - <template slot-scope="scope"> | 39 | + <template v-slot="scope"> |
| 40 | <img v-if="scope.row.picUrl" :src="scope.row.picUrl" alt="分类图片" style="height: 100px;" /> | 40 | <img v-if="scope.row.picUrl" :src="scope.row.picUrl" alt="分类图片" style="height: 100px;" /> |
| 41 | </template> | 41 | </template> |
| 42 | </el-table-column> | 42 | </el-table-column> |
| 43 | <el-table-column label="品牌排序" align="center" prop="sort"/> | 43 | <el-table-column label="品牌排序" align="center" prop="sort"/> |
| 44 | <el-table-column label="品牌描述" align="center" prop="description"/> | 44 | <el-table-column label="品牌描述" align="center" prop="description"/> |
| 45 | <el-table-column label="状态" align="center" prop="status"> | 45 | <el-table-column label="状态" align="center" prop="status"> |
| 46 | - <template slot-scope="scope"> | 46 | + <template v-slot="scope"> |
| 47 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 47 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 48 | </template> | 48 | </template> |
| 49 | </el-table-column> | 49 | </el-table-column> |
| 50 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 50 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 51 | - <template slot-scope="scope"> | 51 | + <template v-slot="scope"> |
| 52 | <span>{{ parseTime(scope.row.createTime) }}</span> | 52 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 53 | </template> | 53 | </template> |
| 54 | </el-table-column> | 54 | </el-table-column> |
| 55 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 55 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 56 | - <template slot-scope="scope"> | 56 | + <template v-slot="scope"> |
| 57 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 57 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 58 | v-hasPermi="['product:brand:update']">修改 | 58 | v-hasPermi="['product:brand:update']">修改 |
| 59 | </el-button> | 59 | </el-button> |
yudao-ui-admin/src/views/mall/product/category/index.vue
| @@ -30,23 +30,23 @@ | @@ -30,23 +30,23 @@ | ||
| 30 | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> | 30 | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> |
| 31 | <el-table-column label="分类名称" prop="name"/> | 31 | <el-table-column label="分类名称" prop="name"/> |
| 32 | <el-table-column label="分类图片" align="center" prop="picUrl"> | 32 | <el-table-column label="分类图片" align="center" prop="picUrl"> |
| 33 | - <template slot-scope="scope"> | 33 | + <template v-slot="scope"> |
| 34 | <img v-if="scope.row.picUrl" :src="scope.row.picUrl" alt="分类图片" style="height: 100px"/> | 34 | <img v-if="scope.row.picUrl" :src="scope.row.picUrl" alt="分类图片" style="height: 100px"/> |
| 35 | </template> | 35 | </template> |
| 36 | </el-table-column> | 36 | </el-table-column> |
| 37 | <el-table-column label="分类排序" align="center" prop="sort"/> | 37 | <el-table-column label="分类排序" align="center" prop="sort"/> |
| 38 | <el-table-column label="开启状态" align="center" prop="status"> | 38 | <el-table-column label="开启状态" align="center" prop="status"> |
| 39 | - <template slot-scope="scope"> | 39 | + <template v-slot="scope"> |
| 40 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 40 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 41 | </template> | 41 | </template> |
| 42 | </el-table-column> | 42 | </el-table-column> |
| 43 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 43 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <span>{{ parseTime(scope.row.createTime) }}</span> | 45 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 48 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 50 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 51 | v-hasPermi="['product:category:update']">修改 | 51 | v-hasPermi="['product:category:update']">修改 |
| 52 | </el-button> | 52 | </el-button> |
yudao-ui-admin/src/views/mall/product/property/index.vue
| @@ -35,22 +35,22 @@ | @@ -35,22 +35,22 @@ | ||
| 35 | <el-table v-loading="loading" :data="list"> | 35 | <el-table v-loading="loading" :data="list"> |
| 36 | <el-table-column label="规格名称" align="center" prop="name" /> | 36 | <el-table-column label="规格名称" align="center" prop="name" /> |
| 37 | <el-table-column label="规格名称" align="center" prop="propertyValueList"> | 37 | <el-table-column label="规格名称" align="center" prop="propertyValueList"> |
| 38 | - <template slot-scope="scope"> | 38 | + <template v-slot="scope"> |
| 39 | <span>{{formatList(scope.row.propertyValueList)}}</span> | 39 | <span>{{formatList(scope.row.propertyValueList)}}</span> |
| 40 | </template> | 40 | </template> |
| 41 | </el-table-column> | 41 | </el-table-column> |
| 42 | <el-table-column label="开启状态" align="center" prop="status"> | 42 | <el-table-column label="开启状态" align="center" prop="status"> |
| 43 | - <template slot-scope="scope"> | 43 | + <template v-slot="scope"> |
| 44 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 44 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 45 | </template> | 45 | </template> |
| 46 | </el-table-column> | 46 | </el-table-column> |
| 47 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 47 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 48 | - <template slot-scope="scope"> | 48 | + <template v-slot="scope"> |
| 49 | <span>{{ parseTime(scope.row.createTime) }}</span> | 49 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 50 | </template> | 50 | </template> |
| 51 | </el-table-column> | 51 | </el-table-column> |
| 52 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 52 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 53 | - <template slot-scope="scope"> | 53 | + <template v-slot="scope"> |
| 54 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 54 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 55 | v-hasPermi="['product:property:update']">修改</el-button> | 55 | v-hasPermi="['product:property:update']">修改</el-button> |
| 56 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 56 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/mall/product/spu/index.vue
| @@ -50,7 +50,7 @@ | @@ -50,7 +50,7 @@ | ||
| 50 | <el-table-column label="商品名称" align="center" prop="name" /> | 50 | <el-table-column label="商品名称" align="center" prop="name" /> |
| 51 | <el-table-column label="分类id" align="center" prop="categoryId" /> | 51 | <el-table-column label="分类id" align="center" prop="categoryId" /> |
| 52 | <el-table-column label="商品主图地址" align="center" prop="picUrls"> | 52 | <el-table-column label="商品主图地址" align="center" prop="picUrls"> |
| 53 | - <template slot-scope="scope"> | 53 | + <template v-slot="scope"> |
| 54 | <img | 54 | <img |
| 55 | v-if="scope.row.picUrls" | 55 | v-if="scope.row.picUrls" |
| 56 | :src="scope.row.picUrls[0]" | 56 | :src="scope.row.picUrls[0]" |
| @@ -64,17 +64,17 @@ | @@ -64,17 +64,17 @@ | ||
| 64 | <el-table-column label="价格区间" align="center" prop="price" /> | 64 | <el-table-column label="价格区间" align="center" prop="price" /> |
| 65 | <el-table-column label="总库存" align="center" prop="totalStock" /> | 65 | <el-table-column label="总库存" align="center" prop="totalStock" /> |
| 66 | <el-table-column label="状态" align="center" prop="status"> | 66 | <el-table-column label="状态" align="center" prop="status"> |
| 67 | - <template slot-scope="scope"> | 67 | + <template v-slot="scope"> |
| 68 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 68 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 69 | </template> | 69 | </template> |
| 70 | </el-table-column> | 70 | </el-table-column> |
| 71 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 71 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 72 | - <template slot-scope="scope"> | 72 | + <template v-slot="scope"> |
| 73 | <span>{{ parseTime(scope.row.createTime) }}</span> | 73 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 74 | </template> | 74 | </template> |
| 75 | </el-table-column> | 75 | </el-table-column> |
| 76 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 76 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 77 | - <template slot-scope="scope"> | 77 | + <template v-slot="scope"> |
| 78 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 78 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 79 | v-hasPermi="['product:spu:update']">修改</el-button> | 79 | v-hasPermi="['product:spu:update']">修改</el-button> |
| 80 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 80 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/mall/product/spu/save.vue
| @@ -70,20 +70,20 @@ | @@ -70,20 +70,20 @@ | ||
| 70 | <template v-if="ratesForm.spec == 2"> | 70 | <template v-if="ratesForm.spec == 2"> |
| 71 | <el-table-column :key="index" v-for="(item, index) in dynamicSpec.filter(v => v.specName !== undefined)" | 71 | <el-table-column :key="index" v-for="(item, index) in dynamicSpec.filter(v => v.specName !== undefined)" |
| 72 | :label="item.specName"> | 72 | :label="item.specName"> |
| 73 | - <template slot-scope="scope"> | 73 | + <template v-slot="scope"> |
| 74 | <el-input v-if="scope.row.spec" v-model="scope.row.spec[index]" disabled /> | 74 | <el-input v-if="scope.row.spec" v-model="scope.row.spec[index]" disabled /> |
| 75 | </template> | 75 | </template> |
| 76 | </el-table-column> | 76 | </el-table-column> |
| 77 | </template> | 77 | </template> |
| 78 | <el-table-column label="规格图片" width="120px" :render-header="addRedStar" key="90"> | 78 | <el-table-column label="规格图片" width="120px" :render-header="addRedStar" key="90"> |
| 79 | - <template slot-scope="scope"> | 79 | + <template v-slot="scope"> |
| 80 | <ImageUpload v-model="scope.row.picUrl" :limit="1" :isShowTip="false" | 80 | <ImageUpload v-model="scope.row.picUrl" :limit="1" :isShowTip="false" |
| 81 | style="width: 100px; height: 50px"/> | 81 | style="width: 100px; height: 50px"/> |
| 82 | </template> | 82 | </template> |
| 83 | </el-table-column> | 83 | </el-table-column> |
| 84 | <template v-if="ratesForm.spec === 2"> | 84 | <template v-if="ratesForm.spec === 2"> |
| 85 | <el-table-column label="sku名称" :render-header="addRedStar" key="91"> | 85 | <el-table-column label="sku名称" :render-header="addRedStar" key="91"> |
| 86 | - <template slot-scope="scope"> | 86 | + <template v-slot="scope"> |
| 87 | <el-form-item :prop="'rates.'+ scope.$index + '.name'" :rules="[{required: true, trigger: 'change'}]"> | 87 | <el-form-item :prop="'rates.'+ scope.$index + '.name'" :rules="[{required: true, trigger: 'change'}]"> |
| 88 | <el-input v-model="scope.row.name" /> | 88 | <el-input v-model="scope.row.name" /> |
| 89 | </el-form-item> | 89 | </el-form-item> |
| @@ -91,7 +91,7 @@ | @@ -91,7 +91,7 @@ | ||
| 91 | </el-table-column> | 91 | </el-table-column> |
| 92 | </template> | 92 | </template> |
| 93 | <el-table-column label="市场价(元)" :render-header="addRedStar" key="92"> | 93 | <el-table-column label="市场价(元)" :render-header="addRedStar" key="92"> |
| 94 | - <template slot-scope="scope"> | 94 | + <template v-slot="scope"> |
| 95 | <el-form-item :prop="'rates.'+ scope.$index + '.marketPrice'" :rules="[{required: true, trigger: 'change'}]"> | 95 | <el-form-item :prop="'rates.'+ scope.$index + '.marketPrice'" :rules="[{required: true, trigger: 'change'}]"> |
| 96 | <el-input v-model="scope.row.marketPrice" | 96 | <el-input v-model="scope.row.marketPrice" |
| 97 | oninput="value= value.match(/\d+(\.\d{0,2})?/) ? value.match(/\d+(\.\d{0,2})?/)[0] : ''"/> | 97 | oninput="value= value.match(/\d+(\.\d{0,2})?/) ? value.match(/\d+(\.\d{0,2})?/)[0] : ''"/> |
| @@ -99,14 +99,14 @@ | @@ -99,14 +99,14 @@ | ||
| 99 | </template> | 99 | </template> |
| 100 | </el-table-column> | 100 | </el-table-column> |
| 101 | <el-table-column label="销售价(元)" :render-header="addRedStar" key="93"> | 101 | <el-table-column label="销售价(元)" :render-header="addRedStar" key="93"> |
| 102 | - <template slot-scope="scope"> | 102 | + <template v-slot="scope"> |
| 103 | <el-form-item :prop="'rates.'+ scope.$index + '.price'" :rules="[{required: true, trigger: 'change'}]"> | 103 | <el-form-item :prop="'rates.'+ scope.$index + '.price'" :rules="[{required: true, trigger: 'change'}]"> |
| 104 | <el-input v-model="scope.row.price" oninput="value= value.match(/\d+(\.\d{0,2})?/) ? value.match(/\d+(\.\d{0,2})?/)[0] : ''"></el-input> | 104 | <el-input v-model="scope.row.price" oninput="value= value.match(/\d+(\.\d{0,2})?/) ? value.match(/\d+(\.\d{0,2})?/)[0] : ''"></el-input> |
| 105 | </el-form-item> | 105 | </el-form-item> |
| 106 | </template> | 106 | </template> |
| 107 | </el-table-column> | 107 | </el-table-column> |
| 108 | <el-table-column label="成本价" :render-header="addRedStar" key="94"> | 108 | <el-table-column label="成本价" :render-header="addRedStar" key="94"> |
| 109 | - <template slot-scope="scope"> | 109 | + <template v-slot="scope"> |
| 110 | <el-form-item :prop="'rates.'+ scope.$index + '.costPrice'" :rules="[{required: true, trigger: 'change'}]"> | 110 | <el-form-item :prop="'rates.'+ scope.$index + '.costPrice'" :rules="[{required: true, trigger: 'change'}]"> |
| 111 | <el-input | 111 | <el-input |
| 112 | v-model="scope.row.costPrice" | 112 | v-model="scope.row.costPrice" |
| @@ -116,35 +116,35 @@ | @@ -116,35 +116,35 @@ | ||
| 116 | </template> | 116 | </template> |
| 117 | </el-table-column> | 117 | </el-table-column> |
| 118 | <el-table-column label="库存" :render-header="addRedStar" key="95"> | 118 | <el-table-column label="库存" :render-header="addRedStar" key="95"> |
| 119 | - <template slot-scope="scope"> | 119 | + <template v-slot="scope"> |
| 120 | <el-form-item :prop="'rates.'+ scope.$index + '.stock'" :rules="[{required: true, trigger: 'change'}]"> | 120 | <el-form-item :prop="'rates.'+ scope.$index + '.stock'" :rules="[{required: true, trigger: 'change'}]"> |
| 121 | <el-input v-model="scope.row.stock" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"></el-input> | 121 | <el-input v-model="scope.row.stock" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"></el-input> |
| 122 | </el-form-item> | 122 | </el-form-item> |
| 123 | </template> | 123 | </template> |
| 124 | </el-table-column> | 124 | </el-table-column> |
| 125 | <el-table-column label="预警库存" key="96"> | 125 | <el-table-column label="预警库存" key="96"> |
| 126 | - <template slot-scope="scope"> | 126 | + <template v-slot="scope"> |
| 127 | <el-input v-model="scope.row.warnStock" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"></el-input> | 127 | <el-input v-model="scope.row.warnStock" oninput="value=value.replace(/^(0+)|[^\d]+/g,'')"></el-input> |
| 128 | </template> | 128 | </template> |
| 129 | </el-table-column> | 129 | </el-table-column> |
| 130 | <el-table-column label="体积" key="97"> | 130 | <el-table-column label="体积" key="97"> |
| 131 | - <template slot-scope="scope"> | 131 | + <template v-slot="scope"> |
| 132 | <el-input v-model="scope.row.volume" ></el-input> | 132 | <el-input v-model="scope.row.volume" ></el-input> |
| 133 | </template> | 133 | </template> |
| 134 | </el-table-column> | 134 | </el-table-column> |
| 135 | <el-table-column label="重量" key="98"> | 135 | <el-table-column label="重量" key="98"> |
| 136 | - <template slot-scope="scope"> | 136 | + <template v-slot="scope"> |
| 137 | <el-input v-model="scope.row.weight" ></el-input> | 137 | <el-input v-model="scope.row.weight" ></el-input> |
| 138 | </template> | 138 | </template> |
| 139 | </el-table-column> | 139 | </el-table-column> |
| 140 | <el-table-column label="条码" key="99"> | 140 | <el-table-column label="条码" key="99"> |
| 141 | - <template slot-scope="scope"> | 141 | + <template v-slot="scope"> |
| 142 | <el-input v-model="scope.row.barCode"></el-input> | 142 | <el-input v-model="scope.row.barCode"></el-input> |
| 143 | </template> | 143 | </template> |
| 144 | </el-table-column> | 144 | </el-table-column> |
| 145 | <template v-if="ratesForm.spec === 2"> | 145 | <template v-if="ratesForm.spec === 2"> |
| 146 | <el-table-column fixed="right" label="操作" width="50" key="100"> | 146 | <el-table-column fixed="right" label="操作" width="50" key="100"> |
| 147 | - <template slot-scope="scope"> | 147 | + <template v-slot="scope"> |
| 148 | <el-button @click="scope.row.status = 1" type="text" size="small" v-show="scope.row.status == undefined || scope.row.status == 0 ">禁用</el-button> | 148 | <el-button @click="scope.row.status = 1" type="text" size="small" v-show="scope.row.status == undefined || scope.row.status == 0 ">禁用</el-button> |
| 149 | <el-button @click="scope.row.status = 0" type="text" size="small" v-show="scope.row.status == 1">启用</el-button> | 149 | <el-button @click="scope.row.status = 0" type="text" size="small" v-show="scope.row.status == 1">启用</el-button> |
| 150 | </template> | 150 | </template> |
yudao-ui-admin/src/views/pay/app/index.vue
| @@ -47,20 +47,20 @@ | @@ -47,20 +47,20 @@ | ||
| 47 | <el-table-column label="应用编号" align="center" prop="id"/> | 47 | <el-table-column label="应用编号" align="center" prop="id"/> |
| 48 | <el-table-column label="应用名" align="center" prop="name"/> | 48 | <el-table-column label="应用名" align="center" prop="name"/> |
| 49 | <el-table-column label="开启状态" align="center" prop="status"> | 49 | <el-table-column label="开启状态" align="center" prop="status"> |
| 50 | - <template slot-scope="scope"> | 50 | + <template v-slot="scope"> |
| 51 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" | 51 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" |
| 52 | @change="handleStatusChange(scope.row)"/> | 52 | @change="handleStatusChange(scope.row)"/> |
| 53 | </template> | 53 | </template> |
| 54 | </el-table-column> | 54 | </el-table-column> |
| 55 | <el-table-column label="商户名称" align="center" prop="payMerchant.name"/> | 55 | <el-table-column label="商户名称" align="center" prop="payMerchant.name"/> |
| 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 57 | - <template slot-scope="scope"> | 57 | + <template v-slot="scope"> |
| 58 | <span>{{ parseTime(scope.row.createTime) }}</span> | 58 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 59 | </template> | 59 | </template> |
| 60 | </el-table-column> | 60 | </el-table-column> |
| 61 | <el-table-column label="支付宝配置" align="center"> | 61 | <el-table-column label="支付宝配置" align="center"> |
| 62 | <el-table-column :label="payChannelEnum.ALIPAY_APP.name" align="center"> | 62 | <el-table-column :label="payChannelEnum.ALIPAY_APP.name" align="center"> |
| 63 | - <template slot-scope="scope"> | 63 | + <template v-slot="scope"> |
| 64 | <el-button type="success" icon="el-icon-check" circle | 64 | <el-button type="success" icon="el-icon-check" circle |
| 65 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_APP.code)" | 65 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_APP.code)" |
| 66 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_APP.code,payType.ALIPAY)"> | 66 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_APP.code,payType.ALIPAY)"> |
| @@ -72,7 +72,7 @@ | @@ -72,7 +72,7 @@ | ||
| 72 | </template> | 72 | </template> |
| 73 | </el-table-column> | 73 | </el-table-column> |
| 74 | <el-table-column :label="payChannelEnum.ALIPAY_PC.name" align="center"> | 74 | <el-table-column :label="payChannelEnum.ALIPAY_PC.name" align="center"> |
| 75 | - <template slot-scope="scope"> | 75 | + <template v-slot="scope"> |
| 76 | <el-button type="success" icon="el-icon-check" circle | 76 | <el-button type="success" icon="el-icon-check" circle |
| 77 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_PC.code)" | 77 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_PC.code)" |
| 78 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_PC.code,payType.ALIPAY)"> | 78 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_PC.code,payType.ALIPAY)"> |
| @@ -84,7 +84,7 @@ | @@ -84,7 +84,7 @@ | ||
| 84 | </template> | 84 | </template> |
| 85 | </el-table-column> | 85 | </el-table-column> |
| 86 | <el-table-column :label="payChannelEnum.ALIPAY_WAP.name" align="center"> | 86 | <el-table-column :label="payChannelEnum.ALIPAY_WAP.name" align="center"> |
| 87 | - <template slot-scope="scope"> | 87 | + <template v-slot="scope"> |
| 88 | <el-button type="success" icon="el-icon-check" circle | 88 | <el-button type="success" icon="el-icon-check" circle |
| 89 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_WAP.code)" | 89 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_WAP.code)" |
| 90 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_WAP.code,payType.ALIPAY)"> | 90 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_WAP.code,payType.ALIPAY)"> |
| @@ -96,7 +96,7 @@ | @@ -96,7 +96,7 @@ | ||
| 96 | </template> | 96 | </template> |
| 97 | </el-table-column> | 97 | </el-table-column> |
| 98 | <el-table-column :label="payChannelEnum.ALIPAY_QR.name" align="center"> | 98 | <el-table-column :label="payChannelEnum.ALIPAY_QR.name" align="center"> |
| 99 | - <template slot-scope="scope"> | 99 | + <template v-slot="scope"> |
| 100 | <el-button type="success" icon="el-icon-check" circle | 100 | <el-button type="success" icon="el-icon-check" circle |
| 101 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_QR.code)" | 101 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.ALIPAY_QR.code)" |
| 102 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_QR.code,payType.ALIPAY)"> | 102 | @click="handleUpdateChannel(scope.row,payChannelEnum.ALIPAY_QR.code,payType.ALIPAY)"> |
| @@ -110,7 +110,7 @@ | @@ -110,7 +110,7 @@ | ||
| 110 | </el-table-column> | 110 | </el-table-column> |
| 111 | <el-table-column label="微信配置" align="center"> | 111 | <el-table-column label="微信配置" align="center"> |
| 112 | <el-table-column :label="payChannelEnum.WX_LITE.name" align="center"> | 112 | <el-table-column :label="payChannelEnum.WX_LITE.name" align="center"> |
| 113 | - <template slot-scope="scope"> | 113 | + <template v-slot="scope"> |
| 114 | <el-button type="success" icon="el-icon-check" circle | 114 | <el-button type="success" icon="el-icon-check" circle |
| 115 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.WX_LITE.code)" | 115 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.WX_LITE.code)" |
| 116 | @click="handleUpdateChannel(scope.row,payChannelEnum.WX_LITE.code,payType.WECHAT)"> | 116 | @click="handleUpdateChannel(scope.row,payChannelEnum.WX_LITE.code,payType.WECHAT)"> |
| @@ -122,7 +122,7 @@ | @@ -122,7 +122,7 @@ | ||
| 122 | </template> | 122 | </template> |
| 123 | </el-table-column> | 123 | </el-table-column> |
| 124 | <el-table-column :label="payChannelEnum.WX_PUB.name" align="center"> | 124 | <el-table-column :label="payChannelEnum.WX_PUB.name" align="center"> |
| 125 | - <template slot-scope="scope"> | 125 | + <template v-slot="scope"> |
| 126 | <el-button type="success" icon="el-icon-check" circle | 126 | <el-button type="success" icon="el-icon-check" circle |
| 127 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.WX_PUB.code)" | 127 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.WX_PUB.code)" |
| 128 | @click="handleUpdateChannel(scope.row,payChannelEnum.WX_PUB.code,payType.WECHAT)"> | 128 | @click="handleUpdateChannel(scope.row,payChannelEnum.WX_PUB.code,payType.WECHAT)"> |
| @@ -134,7 +134,7 @@ | @@ -134,7 +134,7 @@ | ||
| 134 | </template> | 134 | </template> |
| 135 | </el-table-column> | 135 | </el-table-column> |
| 136 | <el-table-column :label="payChannelEnum.WX_APP.name" align="center"> | 136 | <el-table-column :label="payChannelEnum.WX_APP.name" align="center"> |
| 137 | - <template slot-scope="scope"> | 137 | + <template v-slot="scope"> |
| 138 | <el-button type="success" icon="el-icon-check" circle | 138 | <el-button type="success" icon="el-icon-check" circle |
| 139 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.WX_APP.code)" | 139 | v-if="judgeChannelExist(scope.row.channelCodes,payChannelEnum.WX_APP.code)" |
| 140 | @click="handleUpdateChannel(scope.row,payChannelEnum.WX_APP.code,payType.WECHAT)"> | 140 | @click="handleUpdateChannel(scope.row,payChannelEnum.WX_APP.code,payType.WECHAT)"> |
| @@ -147,7 +147,7 @@ | @@ -147,7 +147,7 @@ | ||
| 147 | </el-table-column> | 147 | </el-table-column> |
| 148 | </el-table-column> | 148 | </el-table-column> |
| 149 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 149 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 150 | - <template slot-scope="scope"> | 150 | + <template v-slot="scope"> |
| 151 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 151 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 152 | v-hasPermi="['pay:app:update']">修改 | 152 | v-hasPermi="['pay:app:update']">修改 |
| 153 | </el-button> | 153 | </el-button> |
yudao-ui-admin/src/views/pay/merchant/index.vue
| @@ -50,18 +50,18 @@ | @@ -50,18 +50,18 @@ | ||
| 50 | <el-table-column label="商户全称" align="center" prop="name" /> | 50 | <el-table-column label="商户全称" align="center" prop="name" /> |
| 51 | <el-table-column label="商户简称" align="center" prop="shortName" /> | 51 | <el-table-column label="商户简称" align="center" prop="shortName" /> |
| 52 | <el-table-column label="开启状态" align="center" prop="status" > | 52 | <el-table-column label="开启状态" align="center" prop="status" > |
| 53 | - <template slot-scope="scope"> | 53 | + <template v-slot="scope"> |
| 54 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" @change="handleStatusChange(scope.row)" /> | 54 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" @change="handleStatusChange(scope.row)" /> |
| 55 | </template> | 55 | </template> |
| 56 | </el-table-column> | 56 | </el-table-column> |
| 57 | <el-table-column label="备注" align="center" prop="remark" /> | 57 | <el-table-column label="备注" align="center" prop="remark" /> |
| 58 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 58 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 59 | - <template slot-scope="scope"> | 59 | + <template v-slot="scope"> |
| 60 | <span>{{ parseTime(scope.row.createTime) }}</span> | 60 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 61 | </template> | 61 | </template> |
| 62 | </el-table-column> | 62 | </el-table-column> |
| 63 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 63 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 64 | - <template slot-scope="scope"> | 64 | + <template v-slot="scope"> |
| 65 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 65 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 66 | v-hasPermi="['pay:merchant:update']">修改</el-button> | 66 | v-hasPermi="['pay:merchant:update']">修改</el-button> |
| 67 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 67 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/pay/order/index.vue
| @@ -94,48 +94,48 @@ | @@ -94,48 +94,48 @@ | ||
| 94 | <!-- <el-table-column label="渠道订单号" align="center" prop="channelOrderNo" width="140"/>--> | 94 | <!-- <el-table-column label="渠道订单号" align="center" prop="channelOrderNo" width="140"/>--> |
| 95 | <el-table-column label="商品标题" align="center" prop="subject" width="180" :show-overflow-tooltip="true"/> | 95 | <el-table-column label="商品标题" align="center" prop="subject" width="180" :show-overflow-tooltip="true"/> |
| 96 | <el-table-column label="支付金额" align="center" prop="amount" width="100"> | 96 | <el-table-column label="支付金额" align="center" prop="amount" width="100"> |
| 97 | - <template slot-scope="scope"> | 97 | + <template v-slot="scope"> |
| 98 | ¥{{ parseFloat(scope.row.amount / 100).toFixed(2) }} | 98 | ¥{{ parseFloat(scope.row.amount / 100).toFixed(2) }} |
| 99 | </template> | 99 | </template> |
| 100 | </el-table-column> | 100 | </el-table-column> |
| 101 | <el-table-column label="手续金额" align="center" prop="channelFeeAmount" width="100"> | 101 | <el-table-column label="手续金额" align="center" prop="channelFeeAmount" width="100"> |
| 102 | - <template slot-scope="scope"> | 102 | + <template v-slot="scope"> |
| 103 | ¥{{ parseFloat(scope.row.channelFeeAmount / 100).toFixed(2) }} | 103 | ¥{{ parseFloat(scope.row.channelFeeAmount / 100).toFixed(2) }} |
| 104 | </template> | 104 | </template> |
| 105 | </el-table-column> | 105 | </el-table-column> |
| 106 | <el-table-column label="退款金额" align="center" prop="refundAmount" width="100"> | 106 | <el-table-column label="退款金额" align="center" prop="refundAmount" width="100"> |
| 107 | - <template slot-scope="scope"> | 107 | + <template v-slot="scope"> |
| 108 | ¥{{ parseFloat(scope.row.refundAmount / 100).toFixed(2) }} | 108 | ¥{{ parseFloat(scope.row.refundAmount / 100).toFixed(2) }} |
| 109 | </template> | 109 | </template> |
| 110 | </el-table-column> | 110 | </el-table-column> |
| 111 | <el-table-column label="支付状态" align="center" prop="status"> | 111 | <el-table-column label="支付状态" align="center" prop="status"> |
| 112 | - <template slot-scope="scope"> | 112 | + <template v-slot="scope"> |
| 113 | <dict-tag :type="DICT_TYPE.PAY_ORDER_STATUS" :value="scope.row.status" /> | 113 | <dict-tag :type="DICT_TYPE.PAY_ORDER_STATUS" :value="scope.row.status" /> |
| 114 | </template> | 114 | </template> |
| 115 | 115 | ||
| 116 | </el-table-column> | 116 | </el-table-column> |
| 117 | <!-- <el-table-column label="退款状态" align="center" prop="refundStatus">--> | 117 | <!-- <el-table-column label="退款状态" align="center" prop="refundStatus">--> |
| 118 | -<!-- <template slot-scope="scope">--> | 118 | +<!-- <template v-slot="scope">--> |
| 119 | <!-- <span>{{ getDictDataLabel(DICT_TYPE.PAY_ORDER_REFUND_STATUS, scope.row.refundStatus) }}</span>--> | 119 | <!-- <span>{{ getDictDataLabel(DICT_TYPE.PAY_ORDER_REFUND_STATUS, scope.row.refundStatus) }}</span>--> |
| 120 | <!-- </template>--> | 120 | <!-- </template>--> |
| 121 | <!-- </el-table-column>--> | 121 | <!-- </el-table-column>--> |
| 122 | <el-table-column label="回调状态" align="center" prop="notifyStatus" width="100"> | 122 | <el-table-column label="回调状态" align="center" prop="notifyStatus" width="100"> |
| 123 | - <template slot-scope="scope"> | 123 | + <template v-slot="scope"> |
| 124 | <dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" /> | 124 | <dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" /> |
| 125 | </template> | 125 | </template> |
| 126 | </el-table-column> | 126 | </el-table-column> |
| 127 | <el-table-column label="创建时间" align="center" prop="createTime" width="100"> | 127 | <el-table-column label="创建时间" align="center" prop="createTime" width="100"> |
| 128 | - <template slot-scope="scope"> | 128 | + <template v-slot="scope"> |
| 129 | <span>{{ parseTime(scope.row.createTime) }}</span> | 129 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 130 | </template> | 130 | </template> |
| 131 | </el-table-column> | 131 | </el-table-column> |
| 132 | <el-table-column label="支付时间" align="center" prop="successTime" width="100"> | 132 | <el-table-column label="支付时间" align="center" prop="successTime" width="100"> |
| 133 | - <template slot-scope="scope"> | 133 | + <template v-slot="scope"> |
| 134 | <span>{{ parseTime(scope.row.successTime) }}</span> | 134 | <span>{{ parseTime(scope.row.successTime) }}</span> |
| 135 | </template> | 135 | </template> |
| 136 | </el-table-column> | 136 | </el-table-column> |
| 137 | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> | 137 | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> |
| 138 | - <template slot-scope="scope"> | 138 | + <template v-slot="scope"> |
| 139 | <el-button size="mini" type="text" icon="el-icon-search" @click="handleQueryDetails(scope.row)" | 139 | <el-button size="mini" type="text" icon="el-icon-search" @click="handleQueryDetails(scope.row)" |
| 140 | v-hasPermi="['pay:order:query']">查看详情 | 140 | v-hasPermi="['pay:order:query']">查看详情 |
| 141 | </el-button> | 141 | </el-button> |
yudao-ui-admin/src/views/pay/refund/index.vue
| @@ -68,7 +68,7 @@ | @@ -68,7 +68,7 @@ | ||
| 68 | <!-- <el-table-column label="商户名称" align="center" prop="merchantName" width="120"/>--> | 68 | <!-- <el-table-column label="商户名称" align="center" prop="merchantName" width="120"/>--> |
| 69 | <!-- <el-table-column label="应用名称" align="center" prop="appName" width="120"/>--> | 69 | <!-- <el-table-column label="应用名称" align="center" prop="appName" width="120"/>--> |
| 70 | <el-table-column label="支付渠道" align="center" width="130"> | 70 | <el-table-column label="支付渠道" align="center" width="130"> |
| 71 | - <template slot-scope="scope"> | 71 | + <template v-slot="scope"> |
| 72 | <el-popover trigger="hover" placement="top"> | 72 | <el-popover trigger="hover" placement="top"> |
| 73 | <p>商户名称: {{ scope.row.merchantName }}</p> | 73 | <p>商户名称: {{ scope.row.merchantName }}</p> |
| 74 | <p>应用名称: {{ scope.row.appName }}</p> | 74 | <p>应用名称: {{ scope.row.appName }}</p> |
| @@ -82,7 +82,7 @@ | @@ -82,7 +82,7 @@ | ||
| 82 | <!-- <el-table-column label="交易订单号" align="center" prop="tradeNo" width="140"/>--> | 82 | <!-- <el-table-column label="交易订单号" align="center" prop="tradeNo" width="140"/>--> |
| 83 | <!-- <el-table-column label="商户订单编号" align="center" prop="merchantOrderId" width="140"/>--> | 83 | <!-- <el-table-column label="商户订单编号" align="center" prop="merchantOrderId" width="140"/>--> |
| 84 | <el-table-column label="商户订单号" align="left" width="230"> | 84 | <el-table-column label="商户订单号" align="left" width="230"> |
| 85 | - <template slot-scope="scope"> | 85 | + <template v-slot="scope"> |
| 86 | <p class="order-font"> | 86 | <p class="order-font"> |
| 87 | <el-tag size="mini">退款</el-tag> | 87 | <el-tag size="mini">退款</el-tag> |
| 88 | {{ scope.row.merchantRefundNo }} | 88 | {{ scope.row.merchantRefundNo }} |
| @@ -94,7 +94,7 @@ | @@ -94,7 +94,7 @@ | ||
| 94 | </template> | 94 | </template> |
| 95 | </el-table-column> | 95 | </el-table-column> |
| 96 | <el-table-column label="支付订单号" align="center" prop="merchantRefundNo" width="250"> | 96 | <el-table-column label="支付订单号" align="center" prop="merchantRefundNo" width="250"> |
| 97 | - <template slot-scope="scope"> | 97 | + <template v-slot="scope"> |
| 98 | <p class="order-font"> | 98 | <p class="order-font"> |
| 99 | <el-tag size="mini">交易</el-tag> | 99 | <el-tag size="mini">交易</el-tag> |
| 100 | {{ scope.row.tradeNo }} | 100 | {{ scope.row.tradeNo }} |
| @@ -106,7 +106,7 @@ | @@ -106,7 +106,7 @@ | ||
| 106 | </template> | 106 | </template> |
| 107 | </el-table-column> | 107 | </el-table-column> |
| 108 | <el-table-column label="支付金额(元)" align="center" prop="payAmount" width="100"> | 108 | <el-table-column label="支付金额(元)" align="center" prop="payAmount" width="100"> |
| 109 | - <template slot-scope="scope" class=""> | 109 | + <template v-slot="scope" class=""> |
| 110 | ¥{{ parseFloat(scope.row.payAmount / 100).toFixed(2) }} | 110 | ¥{{ parseFloat(scope.row.payAmount / 100).toFixed(2) }} |
| 111 | </template> | 111 | </template> |
| 112 | </el-table-column> | 112 | </el-table-column> |
| @@ -116,33 +116,33 @@ | @@ -116,33 +116,33 @@ | ||
| 116 | </template> | 116 | </template> |
| 117 | </el-table-column> | 117 | </el-table-column> |
| 118 | <el-table-column label="退款类型" align="center" prop="type" width="80"> | 118 | <el-table-column label="退款类型" align="center" prop="type" width="80"> |
| 119 | - <template slot-scope="scope"> | 119 | + <template v-slot="scope"> |
| 120 | <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="scope.row.type" /> | 120 | <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="scope.row.type" /> |
| 121 | </template> | 121 | </template> |
| 122 | </el-table-column> | 122 | </el-table-column> |
| 123 | <el-table-column label="退款状态" align="center" prop="status"> | 123 | <el-table-column label="退款状态" align="center" prop="status"> |
| 124 | - <template slot-scope="scope"> | 124 | + <template v-slot="scope"> |
| 125 | <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_STATUS" :value="scope.row.status" /> | 125 | <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_STATUS" :value="scope.row.status" /> |
| 126 | </template> | 126 | </template> |
| 127 | </el-table-column> | 127 | </el-table-column> |
| 128 | <el-table-column label="回调状态" align="center" prop="notifyStatus"> | 128 | <el-table-column label="回调状态" align="center" prop="notifyStatus"> |
| 129 | - <template slot-scope="scope"> | 129 | + <template v-slot="scope"> |
| 130 | <dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" /> | 130 | <dict-tag :type="DICT_TYPE.PAY_ORDER_NOTIFY_STATUS" :value="scope.row.notifyStatus" /> |
| 131 | </template> | 131 | </template> |
| 132 | </el-table-column> | 132 | </el-table-column> |
| 133 | <el-table-column label="退款原因" align="center" prop="reason" width="140" :show-overflow-tooltip="true"/> | 133 | <el-table-column label="退款原因" align="center" prop="reason" width="140" :show-overflow-tooltip="true"/> |
| 134 | <el-table-column label="创建时间" align="center" prop="createTime" width="100"> | 134 | <el-table-column label="创建时间" align="center" prop="createTime" width="100"> |
| 135 | - <template slot-scope="scope"> | 135 | + <template v-slot="scope"> |
| 136 | <span>{{ parseTime(scope.row.createTime) }}</span> | 136 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 137 | </template> | 137 | </template> |
| 138 | </el-table-column> | 138 | </el-table-column> |
| 139 | <el-table-column label="退款成功时间" align="center" prop="successTime" width="100"> | 139 | <el-table-column label="退款成功时间" align="center" prop="successTime" width="100"> |
| 140 | - <template slot-scope="scope"> | 140 | + <template v-slot="scope"> |
| 141 | <span>{{ parseTime(scope.row.successTime) }}</span> | 141 | <span>{{ parseTime(scope.row.successTime) }}</span> |
| 142 | </template> | 142 | </template> |
| 143 | </el-table-column> | 143 | </el-table-column> |
| 144 | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> | 144 | <el-table-column label="操作" align="center" fixed="right" class-name="small-padding fixed-width"> |
| 145 | - <template slot-scope="scope"> | 145 | + <template v-slot="scope"> |
| 146 | <el-button size="mini" type="text" icon="el-icon-search" @click="handleQueryDetails(scope.row)" | 146 | <el-button size="mini" type="text" icon="el-icon-search" @click="handleQueryDetails(scope.row)" |
| 147 | v-hasPermi="['pay:order:query']">查看详情 | 147 | v-hasPermi="['pay:order:query']">查看详情 |
| 148 | </el-button> | 148 | </el-button> |
| @@ -177,7 +177,7 @@ | @@ -177,7 +177,7 @@ | ||
| 177 | <el-tag class="tag-purple" size="mini">{{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}</el-tag> | 177 | <el-tag class="tag-purple" size="mini">{{ parseFloat(refundDetail.refundAmount / 100).toFixed(2) }}</el-tag> |
| 178 | </el-descriptions-item> | 178 | </el-descriptions-item> |
| 179 | <el-descriptions-item label="退款类型"> | 179 | <el-descriptions-item label="退款类型"> |
| 180 | - <template slot-scope="scope"> | 180 | + <template v-slot="scope"> |
| 181 | <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="refundDetail.type" /> | 181 | <dict-tag :type="DICT_TYPE.PAY_REFUND_ORDER_TYPE" :value="refundDetail.type" /> |
| 182 | </template> | 182 | </template> |
| 183 | </el-descriptions-item> | 183 | </el-descriptions-item> |
yudao-ui-admin/src/views/system/dept/index.vue
| @@ -32,17 +32,17 @@ | @@ -32,17 +32,17 @@ | ||
| 32 | <el-table-column prop="leader" label="负责人" :formatter="userNicknameFormat" width="120"/> | 32 | <el-table-column prop="leader" label="负责人" :formatter="userNicknameFormat" width="120"/> |
| 33 | <el-table-column prop="sort" label="排序" width="200"></el-table-column> | 33 | <el-table-column prop="sort" label="排序" width="200"></el-table-column> |
| 34 | <el-table-column prop="status" label="状态" width="100"> | 34 | <el-table-column prop="status" label="状态" width="100"> |
| 35 | - <template slot-scope="scope"> | 35 | + <template v-slot="scope"> |
| 36 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 36 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 37 | </template> | 37 | </template> |
| 38 | </el-table-column> | 38 | </el-table-column> |
| 39 | <el-table-column label="创建时间" align="center" prop="createTime" width="200"> | 39 | <el-table-column label="创建时间" align="center" prop="createTime" width="200"> |
| 40 | - <template slot-scope="scope"> | 40 | + <template v-slot="scope"> |
| 41 | <span>{{ parseTime(scope.row.createTime) }}</span> | 41 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 42 | </template> | 42 | </template> |
| 43 | </el-table-column> | 43 | </el-table-column> |
| 44 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 44 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 45 | - <template slot-scope="scope"> | 45 | + <template v-slot="scope"> |
| 46 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 46 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 47 | v-hasPermi="['system:dept:update']">修改</el-button> | 47 | v-hasPermi="['system:dept:update']">修改</el-button> |
| 48 | <el-button size="mini" type="text" icon="el-icon-plus" @click="handleAdd(scope.row)" | 48 | <el-button size="mini" type="text" icon="el-icon-plus" @click="handleAdd(scope.row)" |
yudao-ui-admin/src/views/system/dict/data.vue
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | <el-table-column label="字典键值" align="center" prop="value" /> | 38 | <el-table-column label="字典键值" align="center" prop="value" /> |
| 39 | <el-table-column label="字典排序" align="center" prop="sort" /> | 39 | <el-table-column label="字典排序" align="center" prop="sort" /> |
| 40 | <el-table-column label="状态" align="center" prop="status"> | 40 | <el-table-column label="状态" align="center" prop="status"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 42 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 43 | </template> | 43 | </template> |
| 44 | </el-table-column> | 44 | </el-table-column> |
| @@ -46,12 +46,12 @@ | @@ -46,12 +46,12 @@ | ||
| 46 | <el-table-column label="CSS Class" align="center" prop="cssClass" /> | 46 | <el-table-column label="CSS Class" align="center" prop="cssClass" /> |
| 47 | <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" /> | 47 | <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" /> |
| 48 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 48 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <span>{{ parseTime(scope.row.createTime) }}</span> | 50 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 51 | </template> | 51 | </template> |
| 52 | </el-table-column> | 52 | </el-table-column> |
| 53 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 53 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 55 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 56 | v-hasPermi="['system:dict:update']">修改</el-button> | 56 | v-hasPermi="['system:dict:update']">修改</el-button> |
| 57 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 57 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/dict/index.vue
| @@ -38,25 +38,25 @@ | @@ -38,25 +38,25 @@ | ||
| 38 | <el-table-column label="字典编号" align="center" prop="id" /> | 38 | <el-table-column label="字典编号" align="center" prop="id" /> |
| 39 | <el-table-column label="字典名称" align="center" prop="name" :show-overflow-tooltip="true" /> | 39 | <el-table-column label="字典名称" align="center" prop="name" :show-overflow-tooltip="true" /> |
| 40 | <el-table-column label="字典类型" align="center" :show-overflow-tooltip="true"> | 40 | <el-table-column label="字典类型" align="center" :show-overflow-tooltip="true"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <router-link :to="'/dict/type/data/' + scope.row.id" class="link-type"> | 42 | <router-link :to="'/dict/type/data/' + scope.row.id" class="link-type"> |
| 43 | <span>{{ scope.row.type }}</span> | 43 | <span>{{ scope.row.type }}</span> |
| 44 | </router-link> | 44 | </router-link> |
| 45 | </template> | 45 | </template> |
| 46 | </el-table-column> | 46 | </el-table-column> |
| 47 | <el-table-column label="状态" align="center" prop="status"> | 47 | <el-table-column label="状态" align="center" prop="status"> |
| 48 | - <template slot-scope="scope"> | 48 | + <template v-slot="scope"> |
| 49 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 49 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 50 | </template> | 50 | </template> |
| 51 | </el-table-column> | 51 | </el-table-column> |
| 52 | <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" /> | 52 | <el-table-column label="备注" align="center" prop="remark" :show-overflow-tooltip="true" /> |
| 53 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 53 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <span>{{ parseTime(scope.row.createTime) }}</span> | 55 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 56 | </template> | 56 | </template> |
| 57 | </el-table-column> | 57 | </el-table-column> |
| 58 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 58 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 59 | - <template slot-scope="scope"> | 59 | + <template v-slot="scope"> |
| 60 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 60 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 61 | v-hasPermi="['system:dict:update']">修改</el-button> | 61 | v-hasPermi="['system:dict:update']">修改</el-button> |
| 62 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 62 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/errorCode/index.vue
| @@ -45,7 +45,7 @@ | @@ -45,7 +45,7 @@ | ||
| 45 | <el-table v-loading="loading" :data="list"> | 45 | <el-table v-loading="loading" :data="list"> |
| 46 | <el-table-column label="编号" align="center" prop="id" /> | 46 | <el-table-column label="编号" align="center" prop="id" /> |
| 47 | <el-table-column label="类型" align="center" prop="type" width="80"> | 47 | <el-table-column label="类型" align="center" prop="type" width="80"> |
| 48 | - <template slot-scope="scope"> | 48 | + <template v-slot="scope"> |
| 49 | <dict-tag :type="DICT_TYPE.SYSTEM_ERROR_CODE_TYPE" :value="scope.row.type" /> | 49 | <dict-tag :type="DICT_TYPE.SYSTEM_ERROR_CODE_TYPE" :value="scope.row.type" /> |
| 50 | </template> | 50 | </template> |
| 51 | </el-table-column> | 51 | </el-table-column> |
| @@ -54,12 +54,12 @@ | @@ -54,12 +54,12 @@ | ||
| 54 | <el-table-column label="错误码提示" align="center" prop="message" width="300" /> | 54 | <el-table-column label="错误码提示" align="center" prop="message" width="300" /> |
| 55 | <el-table-column label="备注" align="center" prop="memo" width="200" /> | 55 | <el-table-column label="备注" align="center" prop="memo" width="200" /> |
| 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 57 | - <template slot-scope="scope"> | 57 | + <template v-slot="scope"> |
| 58 | <span>{{ parseTime(scope.row.createTime) }}</span> | 58 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 59 | </template> | 59 | </template> |
| 60 | </el-table-column> | 60 | </el-table-column> |
| 61 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 61 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 62 | - <template slot-scope="scope"> | 62 | + <template v-slot="scope"> |
| 63 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 63 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 64 | v-hasPermi="['system:error-code:update']">修改</el-button> | 64 | v-hasPermi="['system:error-code:update']">修改</el-button> |
| 65 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 65 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/loginlog/index.vue
| @@ -38,7 +38,7 @@ | @@ -38,7 +38,7 @@ | ||
| 38 | <el-table v-loading="loading" :data="list"> | 38 | <el-table v-loading="loading" :data="list"> |
| 39 | <el-table-column label="访问编号" align="center" prop="id" /> | 39 | <el-table-column label="访问编号" align="center" prop="id" /> |
| 40 | <el-table-column label="日志类型" align="center" prop="logType" width="120"> | 40 | <el-table-column label="日志类型" align="center" prop="logType" width="120"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <dict-tag :type="DICT_TYPE.SYSTEM_LOGIN_TYPE" :value="scope.row.logType" /> | 42 | <dict-tag :type="DICT_TYPE.SYSTEM_LOGIN_TYPE" :value="scope.row.logType" /> |
| 43 | </template> | 43 | </template> |
| 44 | </el-table-column> | 44 | </el-table-column> |
| @@ -46,12 +46,12 @@ | @@ -46,12 +46,12 @@ | ||
| 46 | <el-table-column label="登录地址" align="center" prop="userIp" width="130" :show-overflow-tooltip="true" /> | 46 | <el-table-column label="登录地址" align="center" prop="userIp" width="130" :show-overflow-tooltip="true" /> |
| 47 | <el-table-column label="userAgent" align="center" prop="userAgent" width="400" :show-overflow-tooltip="true" /> | 47 | <el-table-column label="userAgent" align="center" prop="userAgent" width="400" :show-overflow-tooltip="true" /> |
| 48 | <el-table-column label="结果" align="center" prop="status"> | 48 | <el-table-column label="结果" align="center" prop="status"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <dict-tag :type="DICT_TYPE.SYSTEM_LOGIN_RESULT" :value="scope.row.result" /> | 50 | <dict-tag :type="DICT_TYPE.SYSTEM_LOGIN_RESULT" :value="scope.row.result" /> |
| 51 | </template> | 51 | </template> |
| 52 | </el-table-column> | 52 | </el-table-column> |
| 53 | <el-table-column label="登录日期" align="center" prop="loginTime" width="180"> | 53 | <el-table-column label="登录日期" align="center" prop="loginTime" width="180"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <span>{{ parseTime(scope.row.createTime) }}</span> | 55 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 56 | </template> | 56 | </template> |
| 57 | </el-table-column> | 57 | </el-table-column> |
yudao-ui-admin/src/views/system/menu/index.vue
| @@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
| 33 | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> | 33 | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> |
| 34 | <el-table-column prop="name" label="菜单名称" :show-overflow-tooltip="true" width="250"></el-table-column> | 34 | <el-table-column prop="name" label="菜单名称" :show-overflow-tooltip="true" width="250"></el-table-column> |
| 35 | <el-table-column prop="icon" label="图标" align="center" width="100"> | 35 | <el-table-column prop="icon" label="图标" align="center" width="100"> |
| 36 | - <template slot-scope="scope"> | 36 | + <template v-slot="scope"> |
| 37 | <svg-icon :icon-class="scope.row.icon" /> | 37 | <svg-icon :icon-class="scope.row.icon" /> |
| 38 | </template> | 38 | </template> |
| 39 | </el-table-column> | 39 | </el-table-column> |
| @@ -41,17 +41,17 @@ | @@ -41,17 +41,17 @@ | ||
| 41 | <el-table-column prop="permission" label="权限标识" :show-overflow-tooltip="true"></el-table-column> | 41 | <el-table-column prop="permission" label="权限标识" :show-overflow-tooltip="true"></el-table-column> |
| 42 | <el-table-column prop="component" label="组件路径" :show-overflow-tooltip="true"></el-table-column> | 42 | <el-table-column prop="component" label="组件路径" :show-overflow-tooltip="true"></el-table-column> |
| 43 | <el-table-column prop="status" label="状态" width="80"> | 43 | <el-table-column prop="status" label="状态" width="80"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 45 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="创建时间" align="center" prop="createTime"> | 48 | <el-table-column label="创建时间" align="center" prop="createTime"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <span>{{ parseTime(scope.row.createTime) }}</span> | 50 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 51 | </template> | 51 | </template> |
| 52 | </el-table-column> | 52 | </el-table-column> |
| 53 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 53 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 54 | - <template slot-scope="scope"> | 54 | + <template v-slot="scope"> |
| 55 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 55 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 56 | v-hasPermi="['system:menu:update']">修改</el-button> | 56 | v-hasPermi="['system:menu:update']">修改</el-button> |
| 57 | <el-button size="mini" type="text" icon="el-icon-plus" @click="handleAdd(scope.row)" | 57 | <el-button size="mini" type="text" icon="el-icon-plus" @click="handleAdd(scope.row)" |
yudao-ui-admin/src/views/system/notice/index.vue
| @@ -30,23 +30,23 @@ | @@ -30,23 +30,23 @@ | ||
| 30 | <el-table-column label="序号" align="center" prop="id" width="100" /> | 30 | <el-table-column label="序号" align="center" prop="id" width="100" /> |
| 31 | <el-table-column label="公告标题" align="center" prop="title" :show-overflow-tooltip="true"/> | 31 | <el-table-column label="公告标题" align="center" prop="title" :show-overflow-tooltip="true"/> |
| 32 | <el-table-column label="公告类型" align="center" prop="type" width="100"> | 32 | <el-table-column label="公告类型" align="center" prop="type" width="100"> |
| 33 | - <template slot-scope="scope"> | 33 | + <template v-slot="scope"> |
| 34 | <dict-tag :type="DICT_TYPE.SYSTEM_NOTICE_TYPE" :value="scope.row.type"/> | 34 | <dict-tag :type="DICT_TYPE.SYSTEM_NOTICE_TYPE" :value="scope.row.type"/> |
| 35 | </template> | 35 | </template> |
| 36 | </el-table-column> | 36 | </el-table-column> |
| 37 | <el-table-column label="状态" align="center" prop="status" width="100"> | 37 | <el-table-column label="状态" align="center" prop="status" width="100"> |
| 38 | - <template slot-scope="scope"> | 38 | + <template v-slot="scope"> |
| 39 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 39 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 40 | </template> | 40 | </template> |
| 41 | </el-table-column> | 41 | </el-table-column> |
| 42 | <el-table-column label="创建者" align="center" prop="createBy" width="100" /> | 42 | <el-table-column label="创建者" align="center" prop="createBy" width="100" /> |
| 43 | <el-table-column label="创建时间" align="center" prop="createTime" width="100"> | 43 | <el-table-column label="创建时间" align="center" prop="createTime" width="100"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> | 45 | <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 48 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 50 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 51 | v-hasPermi="['system:notice:update']">修改</el-button> | 51 | v-hasPermi="['system:notice:update']">修改</el-button> |
| 52 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 52 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/oauth2/client/index.vue
| @@ -33,35 +33,35 @@ | @@ -33,35 +33,35 @@ | ||
| 33 | <el-table-column label="客户端密钥" align="center" prop="secret" /> | 33 | <el-table-column label="客户端密钥" align="center" prop="secret" /> |
| 34 | <el-table-column label="应用名" align="center" prop="name" /> | 34 | <el-table-column label="应用名" align="center" prop="name" /> |
| 35 | <el-table-column label="应用图标" align="center" prop="logo"> | 35 | <el-table-column label="应用图标" align="center" prop="logo"> |
| 36 | - <template slot-scope="scope"> | 36 | + <template v-slot="scope"> |
| 37 | <img width="40px" height="40px" :src="scope.row.logo"> | 37 | <img width="40px" height="40px" :src="scope.row.logo"> |
| 38 | </template> | 38 | </template> |
| 39 | </el-table-column> | 39 | </el-table-column> |
| 40 | <el-table-column label="状态" align="center" prop="status"> | 40 | <el-table-column label="状态" align="center" prop="status"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" /> | 42 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" /> |
| 43 | </template> | 43 | </template> |
| 44 | </el-table-column> | 44 | </el-table-column> |
| 45 | <el-table-column label="访问令牌的有效期" align="center" prop="accessTokenValiditySeconds"> | 45 | <el-table-column label="访问令牌的有效期" align="center" prop="accessTokenValiditySeconds"> |
| 46 | - <template slot-scope="scope">{{ scope.row.accessTokenValiditySeconds }} 秒</template> | 46 | + <template v-slot="scope">{{ scope.row.accessTokenValiditySeconds }} 秒</template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="刷新令牌的有效期" align="center" prop="refreshTokenValiditySeconds"> | 48 | <el-table-column label="刷新令牌的有效期" align="center" prop="refreshTokenValiditySeconds"> |
| 49 | - <template slot-scope="scope">{{ scope.row.refreshTokenValiditySeconds }} 秒</template> | 49 | + <template v-slot="scope">{{ scope.row.refreshTokenValiditySeconds }} 秒</template> |
| 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 v-slot="scope"> |
| 53 | <el-tag :disable-transitions="true" :key="index" 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> |
| 57 | </el-table-column> | 57 | </el-table-column> |
| 58 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 58 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 59 | - <template slot-scope="scope"> | 59 | + <template v-slot="scope"> |
| 60 | <span>{{ parseTime(scope.row.createTime) }}</span> | 60 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 61 | </template> | 61 | </template> |
| 62 | </el-table-column> | 62 | </el-table-column> |
| 63 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 63 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 64 | - <template slot-scope="scope"> | 64 | + <template v-slot="scope"> |
| 65 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 65 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 66 | v-hasPermi="['system:oauth2-client:update']">修改</el-button> | 66 | v-hasPermi="['system:oauth2-client:update']">修改</el-button> |
| 67 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 67 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/oauth2/token/index.vue
| @@ -23,22 +23,22 @@ | @@ -23,22 +23,22 @@ | ||
| 23 | <el-table-column label="刷新令牌" align="center" prop="refreshToken" width="300" /> | 23 | <el-table-column label="刷新令牌" align="center" prop="refreshToken" width="300" /> |
| 24 | <el-table-column label="用户编号" align="center" prop="userId" /> | 24 | <el-table-column label="用户编号" align="center" prop="userId" /> |
| 25 | <el-table-column label="用户类型" align="center" prop="userType" width="100"> | 25 | <el-table-column label="用户类型" align="center" prop="userType" width="100"> |
| 26 | - <template slot-scope="scope"> | 26 | + <template v-slot="scope"> |
| 27 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/> | 27 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/> |
| 28 | </template> | 28 | </template> |
| 29 | </el-table-column> | 29 | </el-table-column> |
| 30 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 30 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 31 | - <template slot-scope="scope"> | 31 | + <template v-slot="scope"> |
| 32 | <span>{{ parseTime(scope.row.createTime) }}</span> | 32 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 33 | </template> | 33 | </template> |
| 34 | </el-table-column> | 34 | </el-table-column> |
| 35 | <el-table-column label="过期时间" align="center" prop="expiresTime" width="180"> | 35 | <el-table-column label="过期时间" align="center" prop="expiresTime" width="180"> |
| 36 | - <template slot-scope="scope"> | 36 | + <template v-slot="scope"> |
| 37 | <span>{{ parseTime(scope.row.expiresTime) }}</span> | 37 | <span>{{ parseTime(scope.row.expiresTime) }}</span> |
| 38 | </template> | 38 | </template> |
| 39 | </el-table-column> | 39 | </el-table-column> |
| 40 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 40 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 41 | - <template slot-scope="scope"> | 41 | + <template v-slot="scope"> |
| 42 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleForceLogout(scope.row)" | 42 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleForceLogout(scope.row)" |
| 43 | v-hasPermi="['system:oauth2-token:delete']">强退</el-button> | 43 | v-hasPermi="['system:oauth2-token:delete']">强退</el-button> |
| 44 | </template> | 44 | </template> |
yudao-ui-admin/src/views/system/operatelog/index.vue
| @@ -46,28 +46,28 @@ | @@ -46,28 +46,28 @@ | ||
| 46 | <el-table-column label="操作模块" align="center" prop="module" /> | 46 | <el-table-column label="操作模块" align="center" prop="module" /> |
| 47 | <el-table-column label="操作名" align="center" prop="name" width="180" /> | 47 | <el-table-column label="操作名" align="center" prop="name" width="180" /> |
| 48 | <el-table-column label="操作类型" align="center" prop="type"> | 48 | <el-table-column label="操作类型" align="center" prop="type"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <dict-tag :type="DICT_TYPE.SYSTEM_OPERATE_TYPE" :value="scope.row.type"/> | 50 | <dict-tag :type="DICT_TYPE.SYSTEM_OPERATE_TYPE" :value="scope.row.type"/> |
| 51 | </template> | 51 | </template> |
| 52 | </el-table-column> | 52 | </el-table-column> |
| 53 | <el-table-column label="操作人" align="center" prop="userNickname" /> | 53 | <el-table-column label="操作人" align="center" prop="userNickname" /> |
| 54 | <el-table-column label="操作结果" align="center" prop="status"> | 54 | <el-table-column label="操作结果" align="center" prop="status"> |
| 55 | - <template slot-scope="scope"> | 55 | + <template v-slot="scope"> |
| 56 | <span>{{ scope.row.resultCode === 0 ? '成功' : '失败' }}</span> | 56 | <span>{{ scope.row.resultCode === 0 ? '成功' : '失败' }}</span> |
| 57 | </template> | 57 | </template> |
| 58 | </el-table-column> | 58 | </el-table-column> |
| 59 | <el-table-column label="操作日期" align="center" prop="startTime" width="180"> | 59 | <el-table-column label="操作日期" align="center" prop="startTime" width="180"> |
| 60 | - <template slot-scope="scope"> | 60 | + <template v-slot="scope"> |
| 61 | <span>{{ parseTime(scope.row.startTime) }}</span> | 61 | <span>{{ parseTime(scope.row.startTime) }}</span> |
| 62 | </template> | 62 | </template> |
| 63 | </el-table-column> | 63 | </el-table-column> |
| 64 | <el-table-column label="执行时长" align="center" prop="startTime"> | 64 | <el-table-column label="执行时长" align="center" prop="startTime"> |
| 65 | - <template slot-scope="scope"> | 65 | + <template v-slot="scope"> |
| 66 | <span>{{ scope.row.duration }} ms</span> | 66 | <span>{{ scope.row.duration }} ms</span> |
| 67 | </template> | 67 | </template> |
| 68 | </el-table-column> | 68 | </el-table-column> |
| 69 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 69 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 70 | - <template slot-scope="scope"> | 70 | + <template v-slot="scope"> |
| 71 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" | 71 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" |
| 72 | v-hasPermi="['system:operate-log:query']">详细</el-button> | 72 | v-hasPermi="['system:operate-log:query']">详细</el-button> |
| 73 | </template> | 73 | </template> |
yudao-ui-admin/src/views/system/post/index.vue
| @@ -36,17 +36,17 @@ | @@ -36,17 +36,17 @@ | ||
| 36 | <el-table-column label="岗位名称" align="center" prop="name" /> | 36 | <el-table-column label="岗位名称" align="center" prop="name" /> |
| 37 | <el-table-column label="岗位排序" align="center" prop="sort" /> | 37 | <el-table-column label="岗位排序" align="center" prop="sort" /> |
| 38 | <el-table-column label="状态" align="center" prop="status"> | 38 | <el-table-column label="状态" align="center" prop="status"> |
| 39 | - <template slot-scope="scope"> | 39 | + <template v-slot="scope"> |
| 40 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 40 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 41 | </template> | 41 | </template> |
| 42 | </el-table-column> | 42 | </el-table-column> |
| 43 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 43 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <span>{{ parseTime(scope.row.createTime) }}</span> | 45 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column> | 47 | </el-table-column> |
| 48 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 48 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 50 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 51 | v-hasPermi="['system:post:update']">修改</el-button> | 51 | v-hasPermi="['system:post:update']">修改</el-button> |
| 52 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 52 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/role/index.vue
| @@ -43,23 +43,23 @@ | @@ -43,23 +43,23 @@ | ||
| 43 | <el-table-column label="角色名称" prop="name" :show-overflow-tooltip="true" width="150" /> | 43 | <el-table-column label="角色名称" prop="name" :show-overflow-tooltip="true" width="150" /> |
| 44 | <el-table-column label="角色标识" prop="code" :show-overflow-tooltip="true" width="150" /> | 44 | <el-table-column label="角色标识" prop="code" :show-overflow-tooltip="true" width="150" /> |
| 45 | <el-table-column label="角色类型" prop="type" width="80"> | 45 | <el-table-column label="角色类型" prop="type" width="80"> |
| 46 | - <template slot-scope="scope"> | 46 | + <template v-slot="scope"> |
| 47 | <dict-tag :type="DICT_TYPE.SYSTEM_ROLE_TYPE" :value="scope.row.type"/> | 47 | <dict-tag :type="DICT_TYPE.SYSTEM_ROLE_TYPE" :value="scope.row.type"/> |
| 48 | </template> | 48 | </template> |
| 49 | </el-table-column> | 49 | </el-table-column> |
| 50 | <el-table-column label="显示顺序" prop="sort" width="100" /> | 50 | <el-table-column label="显示顺序" prop="sort" width="100" /> |
| 51 | <el-table-column label="状态" align="center" width="100"> | 51 | <el-table-column label="状态" align="center" width="100"> |
| 52 | - <template slot-scope="scope"> | 52 | + <template v-slot="scope"> |
| 53 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" @change="handleStatusChange(scope.row)"></el-switch> | 53 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" @change="handleStatusChange(scope.row)"></el-switch> |
| 54 | </template> | 54 | </template> |
| 55 | </el-table-column> | 55 | </el-table-column> |
| 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 56 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 57 | - <template slot-scope="scope"> | 57 | + <template v-slot="scope"> |
| 58 | <span>{{ parseTime(scope.row.createTime) }}</span> | 58 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 59 | </template> | 59 | </template> |
| 60 | </el-table-column> | 60 | </el-table-column> |
| 61 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 61 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 62 | - <template slot-scope="scope"> | 62 | + <template v-slot="scope"> |
| 63 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 63 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 64 | v-hasPermi="['system:role:update']">修改</el-button> | 64 | v-hasPermi="['system:role:update']">修改</el-button> |
| 65 | <el-button size="mini" type="text" icon="el-icon-circle-check" @click="handleMenu(scope.row)" | 65 | <el-button size="mini" type="text" icon="el-icon-circle-check" @click="handleMenu(scope.row)" |
yudao-ui-admin/src/views/system/sensitiveWord/index.vue
| @@ -47,25 +47,25 @@ | @@ -47,25 +47,25 @@ | ||
| 47 | <el-table-column label="编号" align="center" prop="id"/> | 47 | <el-table-column label="编号" align="center" prop="id"/> |
| 48 | <el-table-column label="敏感词" align="center" prop="name"/> | 48 | <el-table-column label="敏感词" align="center" prop="name"/> |
| 49 | <el-table-column label="状态" align="center" prop="status"> | 49 | <el-table-column label="状态" align="center" prop="status"> |
| 50 | - <template slot-scope="scope"> | 50 | + <template v-slot="scope"> |
| 51 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 51 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 52 | </template> | 52 | </template> |
| 53 | </el-table-column> | 53 | </el-table-column> |
| 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 v-slot="scope"> |
| 57 | <el-tag :disable-transitions="true" :key="index" 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> |
| 61 | </el-table-column> | 61 | </el-table-column> |
| 62 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 62 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 63 | - <template slot-scope="scope"> | 63 | + <template v-slot="scope"> |
| 64 | <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> | 64 | <span>{{ parseTime(scope.row.createTime, '{y}-{m}-{d}') }}</span> |
| 65 | </template> | 65 | </template> |
| 66 | </el-table-column> | 66 | </el-table-column> |
| 67 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 67 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 68 | - <template slot-scope="scope"> | 68 | + <template v-slot="scope"> |
| 69 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 69 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 70 | v-hasPermi="['system:sensitive-word:update']">修改 | 70 | v-hasPermi="['system:sensitive-word:update']">修改 |
| 71 | </el-button> | 71 | </el-button> |
yudao-ui-admin/src/views/system/sms/smsChannel.vue
| @@ -36,12 +36,12 @@ | @@ -36,12 +36,12 @@ | ||
| 36 | <el-table-column label="编号" align="center" prop="id" /> | 36 | <el-table-column label="编号" align="center" prop="id" /> |
| 37 | <el-table-column label="短信签名" align="center" prop="signature" /> | 37 | <el-table-column label="短信签名" align="center" prop="signature" /> |
| 38 | <el-table-column label="渠道编码" align="center" prop="code"> | 38 | <el-table-column label="渠道编码" align="center" prop="code"> |
| 39 | - <template slot-scope="scope"> | 39 | + <template v-slot="scope"> |
| 40 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="scope.row.code"/> | 40 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="scope.row.code"/> |
| 41 | </template> | 41 | </template> |
| 42 | </el-table-column> | 42 | </el-table-column> |
| 43 | <el-table-column label="启用状态" align="center" prop="status"> | 43 | <el-table-column label="启用状态" align="center" prop="status"> |
| 44 | - <template slot-scope="scope"> | 44 | + <template v-slot="scope"> |
| 45 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 45 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 46 | </template> | 46 | </template> |
| 47 | </el-table-column>> | 47 | </el-table-column>> |
| @@ -50,12 +50,12 @@ | @@ -50,12 +50,12 @@ | ||
| 50 | <el-table-column label="短信 API 的密钥" align="center" prop="apiSecret" /> | 50 | <el-table-column label="短信 API 的密钥" align="center" prop="apiSecret" /> |
| 51 | <el-table-column label="短信发送回调 URL" align="center" prop="callbackUrl" /> | 51 | <el-table-column label="短信发送回调 URL" align="center" prop="callbackUrl" /> |
| 52 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 52 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 53 | - <template slot-scope="scope"> | 53 | + <template v-slot="scope"> |
| 54 | <span>{{ parseTime(scope.row.createTime) }}</span> | 54 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 55 | </template> | 55 | </template> |
| 56 | </el-table-column> | 56 | </el-table-column> |
| 57 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 57 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 58 | - <template slot-scope="scope"> | 58 | + <template v-slot="scope"> |
| 59 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 59 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 60 | v-hasPermi="['system:sms-channel:update']">修改</el-button> | 60 | v-hasPermi="['system:sms-channel:update']">修改</el-button> |
| 61 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 61 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/sms/smsLog.vue
| @@ -55,12 +55,12 @@ | @@ -55,12 +55,12 @@ | ||
| 55 | <el-table v-loading="loading" :data="list"> | 55 | <el-table v-loading="loading" :data="list"> |
| 56 | <el-table-column label="编号" align="center" prop="id" /> | 56 | <el-table-column label="编号" align="center" prop="id" /> |
| 57 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 57 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 58 | - <template slot-scope="scope"> | 58 | + <template v-slot="scope"> |
| 59 | <span>{{ parseTime(scope.row.createTime) }}</span> | 59 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 60 | </template> | 60 | </template> |
| 61 | </el-table-column> | 61 | </el-table-column> |
| 62 | <el-table-column label="手机号" align="center" prop="mobile" width="120"> | 62 | <el-table-column label="手机号" align="center" prop="mobile" width="120"> |
| 63 | - <template slot-scope="scope"> | 63 | + <template v-slot="scope"> |
| 64 | <div>{{ scope.row.mobile }}</div> | 64 | <div>{{ scope.row.mobile }}</div> |
| 65 | <div v-if="scope.row.userType && scope.row.userId"> | 65 | <div v-if="scope.row.userType && scope.row.userId"> |
| 66 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/>{{ '(' + scope.row.userId + ')' }} | 66 | <dict-tag :type="DICT_TYPE.USER_TYPE" :value="scope.row.userType"/>{{ '(' + scope.row.userId + ')' }} |
| @@ -69,31 +69,31 @@ | @@ -69,31 +69,31 @@ | ||
| 69 | </el-table-column> | 69 | </el-table-column> |
| 70 | <el-table-column label="短信内容" align="center" prop="templateContent" width="300" /> | 70 | <el-table-column label="短信内容" align="center" prop="templateContent" width="300" /> |
| 71 | <el-table-column label="发送状态" align="center" width="180"> | 71 | <el-table-column label="发送状态" align="center" width="180"> |
| 72 | - <template slot-scope="scope"> | 72 | + <template v-slot="scope"> |
| 73 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_SEND_STATUS" :value="scope.row.sendStatus"/> | 73 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_SEND_STATUS" :value="scope.row.sendStatus"/> |
| 74 | <div>{{ parseTime(scope.row.sendTime) }}</div> | 74 | <div>{{ parseTime(scope.row.sendTime) }}</div> |
| 75 | </template> | 75 | </template> |
| 76 | </el-table-column> | 76 | </el-table-column> |
| 77 | <el-table-column label="接收状态" align="center" width="180"> | 77 | <el-table-column label="接收状态" align="center" width="180"> |
| 78 | - <template slot-scope="scope"> | 78 | + <template v-slot="scope"> |
| 79 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_RECEIVE_STATUS" :value="scope.row.receiveStatus"/> | 79 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_RECEIVE_STATUS" :value="scope.row.receiveStatus"/> |
| 80 | <div>{{ parseTime(scope.row.receiveTime) }}</div> | 80 | <div>{{ parseTime(scope.row.receiveTime) }}</div> |
| 81 | </template> | 81 | </template> |
| 82 | </el-table-column> | 82 | </el-table-column> |
| 83 | <el-table-column label="短信渠道" align="center" width="120"> | 83 | <el-table-column label="短信渠道" align="center" width="120"> |
| 84 | - <template slot-scope="scope"> | 84 | + <template v-slot="scope"> |
| 85 | <div>{{ formatChannelSignature(scope.row.channelId) }}</div> | 85 | <div>{{ formatChannelSignature(scope.row.channelId) }}</div> |
| 86 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="scope.row.channelCode"/> | 86 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="scope.row.channelCode"/> |
| 87 | </template> | 87 | </template> |
| 88 | </el-table-column> | 88 | </el-table-column> |
| 89 | <el-table-column label="模板编号" align="center" prop="templateId" /> | 89 | <el-table-column label="模板编号" align="center" prop="templateId" /> |
| 90 | <el-table-column label="短信类型" align="center" prop="templateType"> | 90 | <el-table-column label="短信类型" align="center" prop="templateType"> |
| 91 | - <template slot-scope="scope"> | 91 | + <template v-slot="scope"> |
| 92 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE" :value="scope.row.templateType"/> | 92 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE" :value="scope.row.templateType"/> |
| 93 | </template> | 93 | </template> |
| 94 | </el-table-column> | 94 | </el-table-column> |
| 95 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 95 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 96 | - <template slot-scope="scope"> | 96 | + <template v-slot="scope"> |
| 97 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" | 97 | <el-button size="mini" type="text" icon="el-icon-view" @click="handleView(scope.row,scope.index)" |
| 98 | v-hasPermi="['system:sms-log:query']">详细</el-button> | 98 | v-hasPermi="['system:sms-log:query']">详细</el-button> |
| 99 | </template> | 99 | </template> |
yudao-ui-admin/src/views/system/sms/smsTemplate.vue
| @@ -57,30 +57,30 @@ | @@ -57,30 +57,30 @@ | ||
| 57 | <el-table-column label="模板名称" align="center" prop="name" /> | 57 | <el-table-column label="模板名称" align="center" prop="name" /> |
| 58 | <el-table-column label="模板内容" align="center" prop="content" width="300" /> | 58 | <el-table-column label="模板内容" align="center" prop="content" width="300" /> |
| 59 | <el-table-column label="短信类型" align="center" prop="type"> | 59 | <el-table-column label="短信类型" align="center" prop="type"> |
| 60 | - <template slot-scope="scope"> | 60 | + <template v-slot="scope"> |
| 61 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE" :value="scope.row.type"/> | 61 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_TEMPLATE_TYPE" :value="scope.row.type"/> |
| 62 | </template> | 62 | </template> |
| 63 | </el-table-column> | 63 | </el-table-column> |
| 64 | <el-table-column label="开启状态" align="center" prop="status"> | 64 | <el-table-column label="开启状态" align="center" prop="status"> |
| 65 | - <template slot-scope="scope"> | 65 | + <template v-slot="scope"> |
| 66 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 66 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 67 | </template> | 67 | </template> |
| 68 | </el-table-column> | 68 | </el-table-column> |
| 69 | <el-table-column label="备注" align="center" prop="remark" /> | 69 | <el-table-column label="备注" align="center" prop="remark" /> |
| 70 | <el-table-column label="短信 API 的模板编号" align="center" prop="apiTemplateId" width="180" /> | 70 | <el-table-column label="短信 API 的模板编号" align="center" prop="apiTemplateId" width="180" /> |
| 71 | <el-table-column label="短信渠道" align="center" width="120"> | 71 | <el-table-column label="短信渠道" align="center" width="120"> |
| 72 | - <template slot-scope="scope"> | 72 | + <template v-slot="scope"> |
| 73 | <div>{{ formatChannelSignature(scope.row.channelId) }}</div> | 73 | <div>{{ formatChannelSignature(scope.row.channelId) }}</div> |
| 74 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="scope.row.channelCode"/> | 74 | <dict-tag :type="DICT_TYPE.SYSTEM_SMS_CHANNEL_CODE" :value="scope.row.channelCode"/> |
| 75 | </template> | 75 | </template> |
| 76 | </el-table-column> | 76 | </el-table-column> |
| 77 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 77 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 78 | - <template slot-scope="scope"> | 78 | + <template v-slot="scope"> |
| 79 | <span>{{ parseTime(scope.row.createTime) }}</span> | 79 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 80 | </template> | 80 | </template> |
| 81 | </el-table-column> | 81 | </el-table-column> |
| 82 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150"> | 82 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width" width="150"> |
| 83 | - <template slot-scope="scope"> | 83 | + <template v-slot="scope"> |
| 84 | <el-button size="mini" type="text" icon="el-icon-share" @click="handleSendSms(scope.row)" | 84 | <el-button size="mini" type="text" icon="el-icon-share" @click="handleSendSms(scope.row)" |
| 85 | v-hasPermi="['system:sms-template:send-sms']">测试</el-button> | 85 | v-hasPermi="['system:sms-template:send-sms']">测试</el-button> |
| 86 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 86 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
yudao-ui-admin/src/views/system/tenant/index.vue
| @@ -46,7 +46,7 @@ | @@ -46,7 +46,7 @@ | ||
| 46 | <el-table-column label="租户编号" align="center" prop="id" /> | 46 | <el-table-column label="租户编号" align="center" prop="id" /> |
| 47 | <el-table-column label="租户名" align="center" prop="name" /> | 47 | <el-table-column label="租户名" align="center" prop="name" /> |
| 48 | <el-table-column label="租户套餐" align="center" prop="packageId"> | 48 | <el-table-column label="租户套餐" align="center" prop="packageId"> |
| 49 | - <template slot-scope="scope"> | 49 | + <template v-slot="scope"> |
| 50 | <el-tag v-if="scope.row.packageId === 0" type="danger">系统租户</el-tag> | 50 | <el-tag v-if="scope.row.packageId === 0" type="danger">系统租户</el-tag> |
| 51 | <el-tag v-else> {{getPackageName(scope.row.packageId)}} </el-tag> | 51 | <el-tag v-else> {{getPackageName(scope.row.packageId)}} </el-tag> |
| 52 | </template> | 52 | </template> |
| @@ -54,28 +54,28 @@ | @@ -54,28 +54,28 @@ | ||
| 54 | <el-table-column label="联系人" align="center" prop="contactName" /> | 54 | <el-table-column label="联系人" align="center" prop="contactName" /> |
| 55 | <el-table-column label="联系手机" align="center" prop="contactMobile" /> | 55 | <el-table-column label="联系手机" align="center" prop="contactMobile" /> |
| 56 | <el-table-column label="账号额度" align="center" prop="accountCount"> | 56 | <el-table-column label="账号额度" align="center" prop="accountCount"> |
| 57 | - <template slot-scope="scope"> | 57 | + <template v-slot="scope"> |
| 58 | <el-tag> {{scope.row.accountCount}} </el-tag> | 58 | <el-tag> {{scope.row.accountCount}} </el-tag> |
| 59 | </template> | 59 | </template> |
| 60 | </el-table-column> | 60 | </el-table-column> |
| 61 | <el-table-column label="过期时间" align="center" prop="expireTime" width="180"> | 61 | <el-table-column label="过期时间" align="center" prop="expireTime" width="180"> |
| 62 | - <template slot-scope="scope"> | 62 | + <template v-slot="scope"> |
| 63 | <span>{{ parseTime(scope.row.expireTime) }}</span> | 63 | <span>{{ parseTime(scope.row.expireTime) }}</span> |
| 64 | </template> | 64 | </template> |
| 65 | </el-table-column> | 65 | </el-table-column> |
| 66 | <el-table-column label="绑定域名" align="center" prop="domain" width="180" /> | 66 | <el-table-column label="绑定域名" align="center" prop="domain" width="180" /> |
| 67 | <el-table-column label="租户状态" align="center" prop="status"> | 67 | <el-table-column label="租户状态" align="center" prop="status"> |
| 68 | - <template slot-scope="scope"> | 68 | + <template v-slot="scope"> |
| 69 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> | 69 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status"/> |
| 70 | </template> | 70 | </template> |
| 71 | </el-table-column> | 71 | </el-table-column> |
| 72 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 72 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 73 | - <template slot-scope="scope"> | 73 | + <template v-slot="scope"> |
| 74 | <span>{{ parseTime(scope.row.createTime) }}</span> | 74 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 75 | </template> | 75 | </template> |
| 76 | </el-table-column> | 76 | </el-table-column> |
| 77 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 77 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 78 | - <template slot-scope="scope"> | 78 | + <template v-slot="scope"> |
| 79 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 79 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 80 | v-hasPermi="['system:tenant:update']">修改</el-button> | 80 | v-hasPermi="['system:tenant:update']">修改</el-button> |
| 81 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 81 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/tenantPackage/index.vue
| @@ -36,18 +36,18 @@ | @@ -36,18 +36,18 @@ | ||
| 36 | <el-table-column label="套餐编号" align="center" prop="id" width="120" /> | 36 | <el-table-column label="套餐编号" align="center" prop="id" width="120" /> |
| 37 | <el-table-column label="套餐名" align="center" prop="name" /> | 37 | <el-table-column label="套餐名" align="center" prop="name" /> |
| 38 | <el-table-column label="状态" align="center" prop="status" width="100"> | 38 | <el-table-column label="状态" align="center" prop="status" width="100"> |
| 39 | - <template slot-scope="scope"> | 39 | + <template v-slot="scope"> |
| 40 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" /> | 40 | <dict-tag :type="DICT_TYPE.COMMON_STATUS" :value="scope.row.status" /> |
| 41 | </template> | 41 | </template> |
| 42 | </el-table-column> | 42 | </el-table-column> |
| 43 | <el-table-column label="备注" align="center" prop="remark" /> | 43 | <el-table-column label="备注" align="center" prop="remark" /> |
| 44 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> | 44 | <el-table-column label="创建时间" align="center" prop="createTime" width="180"> |
| 45 | - <template slot-scope="scope"> | 45 | + <template v-slot="scope"> |
| 46 | <span>{{ parseTime(scope.row.createTime) }}</span> | 46 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 47 | </template> | 47 | </template> |
| 48 | </el-table-column> | 48 | </el-table-column> |
| 49 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> | 49 | <el-table-column label="操作" align="center" class-name="small-padding fixed-width"> |
| 50 | - <template slot-scope="scope"> | 50 | + <template v-slot="scope"> |
| 51 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 51 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 52 | v-hasPermi="['system:tenant-package:update']">修改</el-button> | 52 | v-hasPermi="['system:tenant-package:update']">修改</el-button> |
| 53 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" | 53 | <el-button size="mini" type="text" icon="el-icon-delete" @click="handleDelete(scope.row)" |
yudao-ui-admin/src/views/system/user/index.vue
| @@ -64,17 +64,17 @@ | @@ -64,17 +64,17 @@ | ||
| 64 | <el-table-column label="部门" align="center" key="deptName" prop="dept.name" v-if="columns[3].visible" :show-overflow-tooltip="true" /> | 64 | <el-table-column label="部门" align="center" key="deptName" prop="dept.name" v-if="columns[3].visible" :show-overflow-tooltip="true" /> |
| 65 | <el-table-column label="手机号码" align="center" key="mobile" prop="mobile" v-if="columns[4].visible" width="120" /> | 65 | <el-table-column label="手机号码" align="center" key="mobile" prop="mobile" v-if="columns[4].visible" width="120" /> |
| 66 | <el-table-column label="状态" key="status" v-if="columns[5].visible" align="center"> | 66 | <el-table-column label="状态" key="status" v-if="columns[5].visible" align="center"> |
| 67 | - <template slot-scope="scope"> | 67 | + <template v-slot="scope"> |
| 68 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" @change="handleStatusChange(scope.row)" /> | 68 | <el-switch v-model="scope.row.status" :active-value="0" :inactive-value="1" @change="handleStatusChange(scope.row)" /> |
| 69 | </template> | 69 | </template> |
| 70 | </el-table-column> | 70 | </el-table-column> |
| 71 | <el-table-column label="创建时间" align="center" prop="createTime" v-if="columns[6].visible" width="160"> | 71 | <el-table-column label="创建时间" align="center" prop="createTime" v-if="columns[6].visible" width="160"> |
| 72 | - <template slot-scope="scope"> | 72 | + <template v-slot="scope"> |
| 73 | <span>{{ parseTime(scope.row.createTime) }}</span> | 73 | <span>{{ parseTime(scope.row.createTime) }}</span> |
| 74 | </template> | 74 | </template> |
| 75 | </el-table-column> | 75 | </el-table-column> |
| 76 | <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width"> | 76 | <el-table-column label="操作" align="center" width="160" class-name="small-padding fixed-width"> |
| 77 | - <template slot-scope="scope"> | 77 | + <template v-slot="scope"> |
| 78 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" | 78 | <el-button size="mini" type="text" icon="el-icon-edit" @click="handleUpdate(scope.row)" |
| 79 | v-hasPermi="['system:user:update']">修改</el-button> | 79 | v-hasPermi="['system:user:update']">修改</el-button> |
| 80 | <el-dropdown @command="(command) => handleCommand(command, scope.$index, scope.row)" | 80 | <el-dropdown @command="(command) => handleCommand(command, scope.$index, scope.row)" |
yudao-ui-admin/src/views/system/user/profile/userSocial.vue
| 1 | <template> | 1 | <template> |
| 2 | <el-table :data="socialUsers" :show-header="false"> | 2 | <el-table :data="socialUsers" :show-header="false"> |
| 3 | <el-table-column label="社交平台" align="left" width="120"> | 3 | <el-table-column label="社交平台" align="left" width="120"> |
| 4 | - <template slot-scope="scope"> | 4 | + <template v-slot="scope"> |
| 5 | <img style="height:20px;vertical-align: middle;" :src="scope.row.img" /> {{ scope.row.title }} | 5 | <img style="height:20px;vertical-align: middle;" :src="scope.row.img" /> {{ scope.row.title }} |
| 6 | </template> | 6 | </template> |
| 7 | </el-table-column> | 7 | </el-table-column> |
| 8 | <el-table-column label="操作" align="left" > | 8 | <el-table-column label="操作" align="left" > |
| 9 | - <template slot-scope="scope"> | 9 | + <template v-slot="scope"> |
| 10 | <div v-if="scope.row.openid"> | 10 | <div v-if="scope.row.openid"> |
| 11 | 已绑定 | 11 | 已绑定 |
| 12 | <el-button size="large" type="text" @click="unbind(scope.row)">(解绑)</el-button> | 12 | <el-button size="large" type="text" @click="unbind(scope.row)">(解绑)</el-button> |