|
@@ -26,8 +26,28 @@
|
|
|
<p><span>{{scope.row.model}}</span></p>
|
|
<p><span>{{scope.row.model}}</span></p>
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
|
|
+ <el-table-column :label="$t('公称通径')" width="150" prop="caliber" v-if="siteid == 'HY' || siteid == 'YOSTEST1'">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <p>
|
|
|
|
|
+ <span>{{ scope.row.caliber || '--'}}</span>
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
|
|
+ <el-table-column :label="$t('公称压力')" width="150" prop="nominalpressure" v-if="siteid == 'HY' || siteid == 'YOSTEST1'">
|
|
|
|
|
+ <template slot-scope="scope">
|
|
|
|
|
+ <span v-if="scope.row.nominalpressure">
|
|
|
|
|
+ <span v-for="(item,index) in scope.row.nominalpressure" :key="index">
|
|
|
|
|
+ <span v-if="index == scope.row.nominalpressure.length -1">
|
|
|
|
|
+ {{item}}
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <span v-else>{{item}},</span>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ </span>
|
|
|
|
|
+ <div v-else>--</div>
|
|
|
|
|
+ </template>
|
|
|
|
|
+ </el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
- :label="$t('规格')">
|
|
|
|
|
|
|
+ :label="$t('规格')" v-if="siteid != 'HY' && siteid != 'YOSTEST1'">
|
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
|
<p><span>{{scope.row.spec}}</span></p>
|
|
<p><span>{{scope.row.spec}}</span></p>
|
|
|
</template>
|
|
</template>
|
|
@@ -88,7 +108,8 @@ export default {
|
|
|
},
|
|
},
|
|
|
total:0,
|
|
total:0,
|
|
|
currentPage:0,
|
|
currentPage:0,
|
|
|
- time: null
|
|
|
|
|
|
|
+ time: null,
|
|
|
|
|
+ siteid:JSON.parse(sessionStorage.getItem('active_account')).siteid
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
methods:{
|
|
methods:{
|