|
@@ -44,7 +44,7 @@
|
|
v-hasPermi="['price:info:export']">导出</el-button>
|
|
v-hasPermi="['price:info:export']">导出</el-button>
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="1.5">
|
|
<el-col :span="1.5">
|
|
- <el-upload :show-file-list="false" class="upload-demo" with-credentials :headers="{
|
|
|
|
|
|
+ <el-upload v-hasPermi="['price:info:import']" :show-file-list="false" class="upload-demo" with-credentials :headers="{
|
|
'Authorization': 'Bearer ' + token
|
|
'Authorization': 'Bearer ' + token
|
|
}" action="http://xxgl.zzxcx.net/xxgl-admin/price/info/import" :on-success="handleSuccess" multiple
|
|
}" action="http://xxgl.zzxcx.net/xxgl-admin/price/info/import" :on-success="handleSuccess" multiple
|
|
accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"
|
|
accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel"
|
|
@@ -60,7 +60,6 @@
|
|
<el-table fit :row-style="{ height: '35px' }" v-loading="loading" :data="infoList"
|
|
<el-table fit :row-style="{ height: '35px' }" v-loading="loading" :data="infoList"
|
|
@selection-change="handleSelectionChange">
|
|
@selection-change="handleSelectionChange">
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
<el-table-column type="selection" width="55" align="center" />
|
|
- <el-table-column label="主键" align="center" prop="id" />
|
|
|
|
<el-table-column label="品牌" align="center" prop="brand" />
|
|
<el-table-column label="品牌" align="center" prop="brand" />
|
|
<el-table-column width="180px" label="机组型号" align="center" prop="unitModel" />
|
|
<el-table-column width="180px" label="机组型号" align="center" prop="unitModel" />
|
|
<el-table-column label="机组功率(kw)" align="center" prop="unitPowerKw" />
|
|
<el-table-column label="机组功率(kw)" align="center" prop="unitPowerKw" />
|
|
@@ -98,7 +97,7 @@
|
|
<el-button @click="() => {
|
|
<el-button @click="() => {
|
|
$router.push('/gallery?id=' + scope.row.id)
|
|
$router.push('/gallery?id=' + scope.row.id)
|
|
|
|
|
|
- }" size="mini" type="text" icon="el-icon-picture-outline" v-hasPermi="['price:info:edit']">图片</el-button>
|
|
|
|
|
|
+ }" size="mini" type="text" icon="el-icon-picture-outline" >图片</el-button>
|
|
|
|
|
|
|
|
|
|
|
|
|