工单去掉 移动端不显示限制
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
<div v-if="!isMobile">
|
|
||||||
<ElRow>
|
<ElRow>
|
||||||
<!-- <ElCol :xs="24" :sm="12" :lg="6">
|
<!-- <ElCol :xs="24" :sm="12" :lg="6">
|
||||||
<ElInput placeholder="工单编号"></ElInput>
|
<ElInput placeholder="工单编号"></ElInput>
|
||||||
@@ -32,7 +31,7 @@
|
|||||||
<div v-html="scope.row.categorie ? scope.row.categorie.name : ''"></div>
|
<div v-html="scope.row.categorie ? scope.row.categorie.name : ''"></div>
|
||||||
</template>
|
</template>
|
||||||
</ElTableColumn>
|
</ElTableColumn>
|
||||||
<ElTableColumn label="问题描述" prop="content">
|
<ElTableColumn label="问题描述" prop="content" min-width="200px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div class="multi-line-ellipsis" v-html="scope.row.content"></div>
|
<div class="multi-line-ellipsis" v-html="scope.row.content"></div>
|
||||||
</template>
|
</template>
|
||||||
@@ -46,7 +45,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</ElTableColumn>
|
</ElTableColumn>
|
||||||
<ElTableColumn label="创建时间" prop="created_at" />
|
<ElTableColumn label="创建时间" prop="created_at" />
|
||||||
<ElTableColumn fixed="right" label="操作" width="240px">
|
<ElTableColumn fixed="right" label="操作" max-width="200px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<ElRow>
|
<ElRow>
|
||||||
<el-button
|
<el-button
|
||||||
@@ -310,10 +309,6 @@
|
|||||||
<video v-if="currentVideoUrl" :src="currentVideoUrl" controls autoplay style="width:100%;max-height:70vh;display:block;"></video>
|
<video v-if="currentVideoUrl" :src="currentVideoUrl" controls autoplay style="width:100%;max-height:70vh;display:block;"></video>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="mobile-hide-tip">
|
|
||||||
<p>该页面暂不支持移动端访问</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
<div v-if="!isMobile">
|
|
||||||
<ElRow>
|
<ElRow>
|
||||||
<!-- <ElCol :xs="24" :sm="12" :lg="6">
|
<!-- <ElCol :xs="24" :sm="12" :lg="6">
|
||||||
<ElInput placeholder="工单编号"></ElInput>
|
<ElInput placeholder="工单编号"></ElInput>
|
||||||
@@ -22,7 +21,7 @@
|
|||||||
<div v-html="scope.row.categorie?scope.row.categorie.name:''"></div>
|
<div v-html="scope.row.categorie?scope.row.categorie.name:''"></div>
|
||||||
</template>
|
</template>
|
||||||
</ElTableColumn>
|
</ElTableColumn>
|
||||||
<ElTableColumn label="问题描述" prop="content">
|
<ElTableColumn label="问题描述" prop="content" min-width="200px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<div class="multi-line-ellipsis" v-html="scope.row.content"></div>
|
<div class="multi-line-ellipsis" v-html="scope.row.content"></div>
|
||||||
</template>
|
</template>
|
||||||
@@ -36,7 +35,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</ElTableColumn>
|
</ElTableColumn>
|
||||||
<ElTableColumn label="创建时间" prop="created_at" />
|
<ElTableColumn label="创建时间" prop="created_at" />
|
||||||
<ElTableColumn fixed="right" label="操作" width="240px">
|
<ElTableColumn fixed="right" label="操作" max-width="200px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<ElRow>
|
<ElRow>
|
||||||
<el-button v-if="scope.row.status == 1&&hasAuth('work_order@edit')" link @click="showDialog('edit', scope.row)"> 编辑 </el-button>
|
<el-button v-if="scope.row.status == 1&&hasAuth('work_order@edit')" link @click="showDialog('edit', scope.row)"> 编辑 </el-button>
|
||||||
@@ -260,10 +259,6 @@
|
|||||||
<video v-if="currentVideoUrl" :src="currentVideoUrl" controls autoplay style="width:100%;max-height:70vh;display:block;"></video>
|
<video v-if="currentVideoUrl" :src="currentVideoUrl" controls autoplay style="width:100%;max-height:70vh;display:block;"></video>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="mobile-hide-tip">
|
|
||||||
<p>该页面暂不支持移动端访问</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="page-content">
|
<div class="page-content">
|
||||||
<div v-if="!isMobile">
|
|
||||||
<ElRow>
|
<ElRow>
|
||||||
<!-- <ElCol :xs="24" :sm="12" :lg="6">
|
<!-- <ElCol :xs="24" :sm="12" :lg="6">
|
||||||
<ElInput placeholder="名称"></ElInput>
|
<ElInput placeholder="名称"></ElInput>
|
||||||
@@ -32,7 +31,7 @@
|
|||||||
</template>
|
</template>
|
||||||
</ElTableColumn>
|
</ElTableColumn>
|
||||||
<ElTableColumn label="创建时间" prop="created_at" />
|
<ElTableColumn label="创建时间" prop="created_at" />
|
||||||
<ElTableColumn fixed="right" label="操作" width="200px">
|
<ElTableColumn fixed="right" label="操作" max-width="160px">
|
||||||
<template #default="scope">
|
<template #default="scope">
|
||||||
<ElRow>
|
<ElRow>
|
||||||
<el-button link @click="showDialog('edit', scope.row)"> 编辑 </el-button>
|
<el-button link @click="showDialog('edit', scope.row)"> 编辑 </el-button>
|
||||||
@@ -62,10 +61,6 @@
|
|||||||
</template>
|
</template>
|
||||||
</ElDialog>
|
</ElDialog>
|
||||||
</div>
|
</div>
|
||||||
<div v-else class="mobile-hide-tip">
|
|
||||||
<p>该页面暂不支持移动端访问</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
|
|||||||
Reference in New Issue
Block a user