设备补招问题修改
This commit is contained in:
@@ -19,7 +19,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<!-- 设备补招 -->
|
||||
<div class="default-main current_device">
|
||||
<div class="default-main current_device" v-loading="loading">
|
||||
<div class="current_header">
|
||||
<el-form-item label="日期">
|
||||
<DatePicker ref="datePickerRef"></DatePicker>
|
||||
@@ -31,8 +31,8 @@
|
||||
</el-checkbox-group>
|
||||
</el-form-item>
|
||||
<el-form-item>
|
||||
<el-button type="primary" :icon="Search" @click="handleSearch">查询</el-button>
|
||||
<el-button type="primary" :icon="Plus" @click="handleUpDevice">补招</el-button>
|
||||
<!-- <el-button type="primary" :icon="Search" @click="handleSearch">查询</el-button> -->
|
||||
<el-button type="primary" :icon="Setting" @click="handleUpDevice">补招</el-button>
|
||||
<el-button :icon="Back" @click="go(-1)">返回</el-button>
|
||||
</el-form-item>
|
||||
</div>
|
||||
@@ -68,12 +68,14 @@ import {
|
||||
RefreshLeft,
|
||||
ScaleToOriginal,
|
||||
ZoomIn,
|
||||
Setting,
|
||||
Cpu,
|
||||
View,
|
||||
Download,
|
||||
ZoomOut,
|
||||
FolderOpened
|
||||
} from '@element-plus/icons-vue'
|
||||
const checkList: any = ref([])
|
||||
// const props = defineProps(['lineId'])
|
||||
const { push, currentRoute, go } = useRouter() // 路由
|
||||
const loading = ref(false)
|
||||
@@ -84,9 +86,10 @@ const getMakeUpDataList = (row: any) => {
|
||||
route.value = row
|
||||
loading.value = true
|
||||
getMakeUpData(row.id).then(res => {
|
||||
console.log(res, '????????????')
|
||||
res.data.map((item: any) => {
|
||||
item.name = item.prjDataPath.replace('/bd0/cmn/', item.prjName + '-')
|
||||
item.name = item.prjName
|
||||
? item.prjDataPath.replace('/bd0/cmn/', item.prjName + '-')
|
||||
: item.prjDataPath.replace('/bd0/cmn/', '')
|
||||
item.startTime = item.startTime ? item.startTime : '/'
|
||||
item.endTime = item.endTime ? item.endTime : '/'
|
||||
})
|
||||
@@ -166,7 +169,7 @@ defineExpose({ getMakeUpDataList })
|
||||
height: 60px;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.el-form-item{
|
||||
.el-form-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 0;
|
||||
|
||||
Reference in New Issue
Block a user