|
@@ -193,30 +193,27 @@
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
|
- :label="$t('table.operation')" align="center" column-key="operation" class-name="small-padding fixed-width"
|
|
|
- width="200px">
|
|
|
- <template slot-scope="{ row }" v-hasPermission="['productionResource:view']">
|
|
|
- <i @click="editProductMgr(row)" class="el-icon-view table-operation"
|
|
|
- :title="$t('productionResource.productMgr')"
|
|
|
- style="color: #2db7f5;"/>
|
|
|
- <i @click="editMaterialMgr(row)" class="el-icon-s-tools table-operation"
|
|
|
+ :label="$t('table.operation')" align="center" column-key="operation" width="200px">
|
|
|
+ <template slot-scope="{ row }" v-hasPermission="['productionResource:view']">
|
|
|
+ <a class="rowBtn" @click="editProductMgr(row)" >{{ $t("productionResource.productMgr") }}</a>
|
|
|
+ <a class="rowBtn" @click="editMaterialMgr(row)" >{{ $t("productionResource.materialMgr") }}</a>
|
|
|
+ <a class="rowBtn" @click="advertisingMgr(row)" >{{ $t("productionResource.adMgr") }}</a>
|
|
|
+ <a class="rowBtn" @click="editOrderMgr(row)" >{{ $t("productionResource.orderMgr") }}</a>
|
|
|
+ <!-- <i @click="editProductMgr(row)" class="table-operation" :title="$t('productionResource.productMgr')"
|
|
|
+ style="color: #2db7f5;"> {{ $t("productionResource.productMgr") }}</i>
|
|
|
+ <i @click="editMaterialMgr(row)" class="table-operation"
|
|
|
:title="$t('productionResource.materialMgr')"
|
|
|
- style="color: #2db7f5;"/>
|
|
|
- <i @click="advertisingMgr(row)" class="el-icon-video-camera table-operation"
|
|
|
+ style="color: #2db7f5;">{{ $t("productionResource.materialMgr") }}</i>
|
|
|
+ <i @click="advertisingMgr(row)" class="table-operation"
|
|
|
:title="$t('productionResource.adMgr')"
|
|
|
- style="color: #2db7f5;"/>
|
|
|
+ style="color: #2db7f5;">{{ $t("productionResource.adMgr") }}</i>
|
|
|
<i @click="advertisingMgr(row)" class="el-descriptions" :title="测试"></i>
|
|
|
-<!-- <i @click="opsMgr(row)" class="el-icon-video-camera table-operation"-->
|
|
|
-<!-- :title="$t('productionResource.opsMgr')"-->
|
|
|
-<!-- style="color: #2db7f5;"/>-->
|
|
|
-<!-- <i @click="servicemanMgr(row)" class="el-icon-video-camera table-operation"-->
|
|
|
-<!-- :title="$t('productionResource.servicemanMgr')"-->
|
|
|
-<!-- style="color: #2db7f5;"/>-->
|
|
|
+ style="color: #2db7f5;"/>-->
|
|
|
|
|
|
|
|
|
- <i @click="editOrderMgr(row)" class="el-icon-shopping-cart-1 table-operation"
|
|
|
+ <!-- <i @click="editOrderMgr(row)" class="table-operation"
|
|
|
:title="$t('productionResource.orderMgr')"
|
|
|
- style="color: #2db7f5;"/>
|
|
|
+ style="color: #2db7f5;">{{ $t("productionResource.orderMgr") }}</i> -->
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
@@ -711,4 +708,14 @@ export default {
|
|
|
.shuaxinBtn:hover {
|
|
|
opacity: 0.7;
|
|
|
}
|
|
|
+
|
|
|
+.rowBtn {
|
|
|
+ margin: 0 5px;
|
|
|
+ color: #1890ff;
|
|
|
+}
|
|
|
+
|
|
|
+.rowBtn:hover {
|
|
|
+ opacity: 0.7;
|
|
|
+}
|
|
|
+
|
|
|
</style>
|