no message

This commit is contained in:
DESKTOP-369JRHT\12997 2024-07-11 15:57:45 +08:00
parent b1c92b7bfc
commit e0a699cdc8
12 changed files with 54 additions and 9 deletions

View File

@ -30,6 +30,8 @@
type="primary"
icon="el-icon-plus"
@click="handleAdd"
v-hasPermi="['convenienceStore:index:add']"
>添加品类</el-button>
<!-- <div class="tTop">品类列表-->
<!-- <el-button type="primary" @click="insertGoods" >添加品类</el-button>-->
@ -88,18 +90,23 @@
type="text"
icon="el-icon-plus"
@click="addGoods(scope.row)"
v-hasPermi="['convenienceStore:index:addgoods']"
>添加商品信息</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['convenienceStore:index:upodate']"
>修改品类信息</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDelete(scope.row)"
v-hasPermi="['convenienceStore:index:del']"
>删除</el-button>
</template>
</el-table-column>

View File

@ -57,6 +57,8 @@
<el-button
type="primary"
@click="handleAdd"
v-hasPermi="['member:creditIndex:add']"
>新增挂账单位</el-button>
</div>

View File

@ -102,11 +102,13 @@
type="primary"
icon="el-icon-plus"
@click="handleAddMember"
v-hasPermi="['member:fixingLevel:add\n']"
>新增用户认证</el-button>
<el-button
type="danger"
icon="el-icon-document-copy"
@click="handleAddMembers"
v-hasPermi="['member:fixingLevel:batch']"
>批量用户认证</el-button>
<el-table ref="tables" v-loading="loading" :data="listMember"
@selection-change="handleSelectionChange" :default-sort="defaultSort"
@ -157,12 +159,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdateMember(scope.row)"
v-hasPermi="['member:fixingLevel:update']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-delete"
@click="handleDeleteMember(scope.row)"
v-hasPermi="['member:fixingLevel:del']"
>删除</el-button>
</template>
</el-table-column>

View File

@ -67,7 +67,10 @@
<div style="float: right">
<el-button style="background: linear-gradient( 180deg, #FF8646 0%, #FFA360 100%); border: transparent " type="primary" @click="handleQuery">搜索</el-button>
<el-button @click="resetQuery">重置</el-button>
<el-button type="primary" @click="handleAdd" >新增</el-button>
<el-button type="primary" @click="handleAdd"
v-hasPermi="['member:index:add']"
>新增</el-button>
</div>

View File

@ -10,6 +10,8 @@
style="background: linear-gradient( 229deg, #FF8646 0%, #FFA360 100%);"
icon="el-icon-plus"
@click="gunAdd(item.numberId)"
v-hasPermi="['oilConfig:oilGun:list:add']"
>新增油枪</el-button>
</div>
</div>
@ -17,8 +19,12 @@
<div class="cardbox" :class="{ 'act-cardbox': item.status == '启用' ,'boxborder': item.status == '启用' }" v-for="(item,index) in item.oilGunList" :key="index">
<div class="cardbox-top" :class="{ 'actcolor':item.status == '启用' }">
<div>{{item.tankName}}</div>
<div style="cursor: pointer" ><i class="el-icon-edit-outline
" @click="gunEdit(item)"></i> <i class="el-icon-delete" @click="delGun(item.id)"></i></div>
<div style="cursor: pointer" ><i class="el-icon-edit-outline"
v-hasPermi="['oilConfig:oilGun:list:update']"
@click="gunEdit(item)"></i>
<i class="el-icon-delete"
v-hasPermi="['oilConfig:oilGun:list:del']"
@click="delGun(item.id)"></i></div>
</div>
<img v-if="item.status == '启用'" class="cardbox-rd" src="./imgs/r-img.png" alt="">

View File

@ -42,6 +42,8 @@
type="primary"
icon="el-icon-plus"
@click="purchaseAdd"
v-hasPermi="['oilConfig:oilInventory:list']"
>添加盘点</el-button>
</el-col>
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->

View File

@ -4,7 +4,9 @@
<div slot="header" class="clearfix">
<span>油价配置</span>
</div>
<el-button type="primary" @click="oilTypeMethods(1)">新增油号</el-button>
<el-button type="primary" @click="oilTypeMethods(1)"
v-hasPermi="['oilConfig:oilPrice:index:addoil']"
>新增油号</el-button>
<div class="top-box">
<!-- 循环-->
<div class="oil-box" :style=" 'background:'+ colorList[index] " v-for="(item,index) in oilNumberList " :key="index" >
@ -36,7 +38,8 @@
<div slot="header" class="clearfix">
<span>预设油价记录</span>
</div>
<el-button type="success" @click = "dialogFormPricesAdd = true, addOilPresePrices()">新增预设油价</el-button>
<el-button type="success" @click = "dialogFormPricesAdd = true, addOilPresePrices()" v-hasPermi="['oilConfig:oilPrice:index:addp']"
>新增预设油价</el-button>
<div class="table-box">
<el-table
:data="oilPresetPricesList"

View File

@ -54,6 +54,8 @@
type="primary"
icon="el-icon-plus"
@click="purchaseAdd"
v-hasPermi="['oilConfig:oilPurchase:list:add']"
>添加采购</el-button>
</el-col>
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->

View File

@ -54,7 +54,9 @@
<!-- <el-button @click="exportExcelTank()">导出</el-button>-->
<div style="display: flex;justify-content: space-between">
<div style="font-size: 18px">油罐列表</div>
<el-button type="primary" @click="exportExcelTank()">导出</el-button>
<el-button type="primary" @click="exportExcelTank()"
v-hasPermi="['oilConfig:oilStatistics:list:ex']"
>导出</el-button>
</div>
</el-row>

View File

@ -46,6 +46,7 @@
type="primary"
icon="el-icon-plus"
@click="suppliersAdd"
v-hasPermi="['oilConfig:oilSuppliers:list:add']"
>新增供应商</el-button>
</el-col>
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->
@ -68,6 +69,7 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['oilConfig:oilSuppliers:list:update']"
>修改</el-button>
</template>
<!-- v-hasPermi="['']"-->

View File

@ -28,6 +28,7 @@
type="primary"
icon="el-icon-plus"
@click="tankAdd"
v-hasPermi="['oilConfig:oilTank:list:add']"
>新增油罐</el-button>
</el-col>
<!-- <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>-->
@ -60,12 +61,14 @@
type="text"
icon="el-icon-edit"
@click="handleUpdate(scope.row)"
v-hasPermi="['oilConfig:oilTank:list:update']"
>修改</el-button>
<el-button
size="mini"
type="text"
icon="el-icon-copy-document"
@click="handleClean(scope.row)"
v-hasPermi="['oilConfig:oilTank:list:del']"
>初始化</el-button>
<!-- v-hasPermi="['']"-->

View File

@ -7,8 +7,13 @@
<div>
<div style="display: flex;justify-content: space-between">
<span style="color: grey;">会员等级规则说明</span>
<el-button v-show="level1" @click="editLevel1" type="primary" round>开启等级功能</el-button>
<el-button v-show="level2" @click="editLevel2" type="danger" round>关闭等级功能</el-button>
<el-button v-show="level1" @click="editLevel1" type="primary"
v-hasPermi="['userGrade:index:open']"
round> 开启等级功能</el-button>
<el-button v-show="level2" @click="editLevel2" type="danger"
v-hasPermi="['userGrade:index:open']"
round>关闭等级功能</el-button>
</div>
<el-alert
type="warning"
@ -26,7 +31,11 @@
<el-radio v-model="clear" label="clear_month">按月清算</el-radio>
<el-radio v-model="clear" label="clear_no">不清算</el-radio>
</template>
<el-button type="primary" round @click="updateClearConfig">保存</el-button>
<el-button type="primary" round @click="updateClearConfig"
v-hasPermi="['userGrade:index:save']"
>
保存</el-button>
</div>
<el-alert
type="warning"