|
|
@@ -97,7 +97,7 @@
|
|
|
<el-icon><EditPen /></el-icon>
|
|
|
产品设计
|
|
|
</el-button>
|
|
|
- <el-button type="primary" link size="small" @click="handleDeleteProduct(row)">
|
|
|
+ <el-button type="primary" link size="small" class="delete-link-btn" @click="handleDeleteProduct(row)">
|
|
|
<el-icon><Delete /></el-icon>
|
|
|
删除
|
|
|
</el-button>
|
|
|
@@ -1106,7 +1106,7 @@
|
|
|
import { ref, reactive, computed, toRaw, onMounted, watch } from 'vue'
|
|
|
import { ElMessage, ElMessageBox, ElLoading } from 'element-plus'
|
|
|
import { getTable, imageToText, Template_ids,txttoimg_moxing,txttoimg_update, getSide,merchantGetab,productList,productDetail,
|
|
|
- product_template,GetTxtToTxt,GetProductFind,productAdd,productDelete,getMerchantId,GetImageStatus } from '@/api/mes/job'
|
|
|
+ product_template,GetTxtToTxt,GetProductFind,productAdd,Product_Del,getMerchantId,GetImageStatus } from '@/api/mes/job'
|
|
|
import { useUserStore } from '@/pinia/modules/user'
|
|
|
import { ZoomIn, Camera, SuccessFilled, WarningFilled, More, ArrowRight, ArrowDown, Loading, Plus, Upload, Picture, EditPen, Delete } from '@element-plus/icons-vue'
|
|
|
import { Layout, LayoutHeader, LayoutSider, LayoutContent } from '@arco-design/web-vue'
|
|
|
@@ -1470,7 +1470,7 @@ const handleDeleteProduct = async (row) => {
|
|
|
type: 'warning'
|
|
|
}
|
|
|
)
|
|
|
- const res = await productDelete({ id: row.id })
|
|
|
+ const res = await Product_Del({ id: row.id })
|
|
|
if (res?.code === 0) {
|
|
|
ElMessage.success('删除成功')
|
|
|
await refreshProductList()
|
|
|
@@ -2491,7 +2491,7 @@ defineExpose({
|
|
|
}
|
|
|
/* 商户树:选中节点文字变红 */
|
|
|
.JKWTree-tree :deep(.el-tree-node.is-current > .el-tree-node__content) {
|
|
|
- color: #f56c6c !important;
|
|
|
+ color: red !important;
|
|
|
font-weight: 600;
|
|
|
}
|
|
|
|
|
|
@@ -2897,4 +2897,11 @@ defineExpose({
|
|
|
margin: 0;
|
|
|
font-size: 14px;
|
|
|
}
|
|
|
+
|
|
|
+ .delete-link-btn {
|
|
|
+ color: #f56c6c !important;
|
|
|
+ }
|
|
|
+ .delete-link-btn:hover {
|
|
|
+ color: #f78989 !important;
|
|
|
+ }
|
|
|
</style>
|