|
@@ -11,7 +11,10 @@ import { getTagType } from '/@/utils/useTagColor';
|
|
|
import PermissionButton from '/@/components/PermissionButton/index.vue';
|
|
|
import ProductInfo from '/@/views/product-manage/component/ProductInfo.vue';
|
|
|
import { handleCopy } from '/@/utils/useCopyText';
|
|
|
-
|
|
|
+// import { BtnPermissionStore } from '/@/stores/btnPermission';
|
|
|
+//
|
|
|
+// const x = BtnPermissionStore();
|
|
|
+// console.log("(DataTableSlot.vue: 17)=> x", x.data);
|
|
|
|
|
|
const props = defineProps<{
|
|
|
row: any,
|
|
@@ -110,7 +113,7 @@ function handleMonitor() {
|
|
|
</div>
|
|
|
<div v-else-if="field === 'operate'">
|
|
|
<div class="flex justify-center gap-2">
|
|
|
- <PermissionButton circle plain type="warning" @click="handleEdit">
|
|
|
+ <PermissionButton circle plain type="warning" @click="handleEdit" :disabled="row.is_competitors">
|
|
|
<el-icon>
|
|
|
<Operation />
|
|
|
</el-icon>
|