|
@@ -150,6 +150,8 @@
|
|
|
</template>
|
|
|
</el-popover>
|
|
|
</div>
|
|
|
+ <div class="item">
|
|
|
+ </div>
|
|
|
</div>
|
|
|
<div class="basicInformation-right" >
|
|
|
<div @click="showBigPic(goods.basicInformation.img)" v-if="goods.basicInformation.img">
|
|
@@ -180,7 +182,7 @@
|
|
|
v-model:currentPage="goods.productionLog.pageInput.CurrentPage"
|
|
|
v-model:page-size="goods.productionLog.pageInput.PageSize"
|
|
|
:total="goods.productionLog.total"
|
|
|
- :page-sizes="[5, 10, 20, 50, 100]"
|
|
|
+ :page-sizes="[ 10, 20, 50, 100]"
|
|
|
small
|
|
|
background
|
|
|
@size-change="onProductionLogSizeChange"
|
|
@@ -202,7 +204,7 @@
|
|
|
v-model:currentPage="goods.alarmLog.pageInput.CurrentPage"
|
|
|
v-model:page-size="goods.alarmLog.pageInput.PageSize"
|
|
|
:total="goods.alarmLog.total"
|
|
|
- :page-sizes="[5, 10, 20, 50, 100]"
|
|
|
+ :page-sizes="[ 10, 20, 50, 100]"
|
|
|
small
|
|
|
background
|
|
|
@size-change="onAlarmLogSizeChange"
|
|
@@ -263,7 +265,7 @@ const goods = reactive({
|
|
|
/**页面分页 */
|
|
|
pageInput: {
|
|
|
currentPage: 1,
|
|
|
- pageSize: 5
|
|
|
+ pageSize: 10
|
|
|
} as pageInput,
|
|
|
/**总数 */
|
|
|
total: 0
|
|
@@ -277,7 +279,7 @@ const goods = reactive({
|
|
|
/**页面分页 */
|
|
|
pageInput: {
|
|
|
CurrentPage: 1,
|
|
|
- PageSize: 5
|
|
|
+ PageSize: 10
|
|
|
} as pageInput,
|
|
|
/**总数 */
|
|
|
total: 0
|
|
@@ -322,10 +324,10 @@ const onAlarmLogCurrentChange = (val) => {
|
|
|
*/
|
|
|
const initBasicInformation = async () => {
|
|
|
goods.loadingBasic = true
|
|
|
- const res = await new ComponentDetails().getBasicInfo({filter:goods.data}).catch(() => {
|
|
|
+ const res = await new ComponentDetails().getBasicInfo({GUID:goods.id} ).catch(() => {
|
|
|
goods.loadingBasic = false
|
|
|
})
|
|
|
- goods.basicInformation = res?.data?.list[0]
|
|
|
+ goods.basicInformation = res?.data
|
|
|
goods.loadingBasic = false
|
|
|
}
|
|
|
|
|
@@ -346,7 +348,7 @@ const initAlarmLog = async () => {
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
- goods.data = { ...router.currentRoute.value.params as filterData}
|
|
|
+ goods.id = router.currentRoute.value.params.guid
|
|
|
/**初始化 */
|
|
|
initBasicInformation()
|
|
|
initProductionLog()
|
|
@@ -383,6 +385,8 @@ onMounted(() => {
|
|
|
overflow:hidden;/*超出部分隐藏*/
|
|
|
white-space:nowrap;/*强制单行显示*/
|
|
|
text-overflow: ellipsis;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
}
|
|
|
|
|
|
}
|
|
@@ -393,6 +397,8 @@ onMounted(() => {
|
|
|
min-width: 200px;
|
|
|
padding: 0 10px;
|
|
|
.img {
|
|
|
+ width: 220px;
|
|
|
+ height: 140px;
|
|
|
cursor: pointer;
|
|
|
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 8px;
|
|
|
}
|
|
@@ -400,8 +406,8 @@ onMounted(() => {
|
|
|
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
|
|
|
}
|
|
|
div{
|
|
|
- width: 300px;
|
|
|
- height: 200px;
|
|
|
+ width: 220px;
|
|
|
+ height: 140px;
|
|
|
cursor: pointer;
|
|
|
box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 8px;
|
|
|
}
|