diff --git a/src/views/common/ImportExcelDialog.vue b/src/views/common/ImportExcelDialog.vue
index 089e0f1..b2f10cc 100644
--- a/src/views/common/ImportExcelDialog.vue
+++ b/src/views/common/ImportExcelDialog.vue
@@ -156,8 +156,9 @@ export default {
// 显示导入结果
if (response && response.msg) {
+ const msg = response.msg.replace(/\n/g, '
');
this.$alert(
- "
@@ -66,6 +67,18 @@ export default {
this.detailData = res.data;
}
},
+ // 编辑
+ handleEdit() {
+ this.$router.push({
+ name: 'TechnicalEdit',
+ query: {
+ enterpriseId: encryptWithSM4(this.enterpriseId || '0'),
+ technicalSolutionTypeId: encryptWithSM4(this.technicalSolutionTypeId || '0'),
+ type: encryptWithSM4('edit'),
+ technicalSolutionId: encryptWithSM4(this.technicalSolutionId + '' || '0'),
+ }
+ })
+ },
},
}
@@ -121,26 +134,24 @@ export default {
gap: 12px;
}
-.search-btn {
+.edit-btn {
width: 98px;
height: 36px;
- background: #1F72EA;
- box-shadow: 0px 4px 8px 0px rgba(51, 135, 255, 0.5);
- border-radius: 4px;
- border: none;
+ background: #EAA819;
+ box-shadow: 0px 4px 8px 0px rgba(255,156,51,0.5);
+ border-radius: 4px 4px 4px 4px;
+ border-color: #EAA819;
color: #fff;
+ font-weight: 600;
+ letter-spacing: 0.5px;
font-size: 14px;
transition: all 0.3s ease;
&:hover {
- background: #4A8BFF;
- box-shadow: 0px 6px 12px 0px rgba(51, 135, 255, 0.6);
- }
-
- // 当按钮处于loading状态时的样式
- &.is-loading {
- opacity: 0.7;
- pointer-events: none;
+ background: #ffb733;
+ border-color: #ffb733;
+ box-shadow: 0px 6px 12px 0px rgba(255,156,51,0.6);
+ transform: translateY(-1px);
}
}