Compare commits
No commits in common. "9582e0a5a7fc1c378c54980ea66d5f2daadec6f5" and "a5642256232326c8a3b4101b295dd77103a14bec" have entirely different histories.
9582e0a5a7
...
a564225623
|
|
@ -293,19 +293,3 @@ export function batchUpdateInternationalInfo(data) {
|
||||||
data
|
data
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
// 邮件事件消息列表
|
|
||||||
export function getEventStoreRecordList(data) {
|
|
||||||
return request({
|
|
||||||
url: `/EventStoreRecord/getEventStoreRecordList`,
|
|
||||||
method: 'post',
|
|
||||||
data
|
|
||||||
})
|
|
||||||
}
|
|
||||||
// 重新发布事件消息
|
|
||||||
export function rePublishEvent(param) {
|
|
||||||
return request({
|
|
||||||
url: `/EventStoreRecord/rePublishEvent`,
|
|
||||||
method: 'post',
|
|
||||||
param
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
|
||||||
|
|
@ -50,9 +50,7 @@
|
||||||
<el-button type="text">{{
|
<el-button type="text">{{
|
||||||
$t('curriculumVitae:button:importResume')
|
$t('curriculumVitae:button:importResume')
|
||||||
}}</el-button>
|
}}</el-button>
|
||||||
<el-button type="text" @click.stop="openPreview">{{
|
<el-button type="text">{{ $t('common:button:preview') }}</el-button>
|
||||||
$t('common:button:preview')
|
|
||||||
}}</el-button>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="box" id="info">
|
<div class="box" id="info">
|
||||||
|
|
@ -92,9 +90,6 @@
|
||||||
<agreement />
|
<agreement />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<el-dialog :visible.sync="visible" fullscreen>
|
|
||||||
<preview />
|
|
||||||
</el-dialog>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
|
@ -110,7 +105,6 @@ import scientificResearchProject from './components/info/scientificResearchProje
|
||||||
import clinicalTrials from './components/info/clinicalTrials.vue'
|
import clinicalTrials from './components/info/clinicalTrials.vue'
|
||||||
import treatise from './components/info/treatise.vue'
|
import treatise from './components/info/treatise.vue'
|
||||||
import other from './components/info/other.vue'
|
import other from './components/info/other.vue'
|
||||||
import preview from './preview.vue'
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
curriculum,
|
curriculum,
|
||||||
|
|
@ -125,13 +119,11 @@ export default {
|
||||||
clinicalTrials,
|
clinicalTrials,
|
||||||
treatise,
|
treatise,
|
||||||
other,
|
other,
|
||||||
preview,
|
|
||||||
},
|
},
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
activeIndex: 'info',
|
activeIndex: 'info',
|
||||||
isScrollAuto: true,
|
isScrollAuto: true,
|
||||||
visible: false,
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
|
@ -174,10 +166,6 @@ export default {
|
||||||
// 把下标赋值给 vue 的 data
|
// 把下标赋值给 vue 的 data
|
||||||
this.activeIndex = navItem.id
|
this.activeIndex = navItem.id
|
||||||
},
|
},
|
||||||
// 预览简历
|
|
||||||
openPreview() {
|
|
||||||
this.visible = true
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
|
|
@ -1,316 +0,0 @@
|
||||||
<template>
|
|
||||||
<div class="curriculumVitaePreview">
|
|
||||||
<div class="title">{{ $t('curriculumVitae:preview:title') }}</div>
|
|
||||||
<div class="message">
|
|
||||||
<div class="userInfo">
|
|
||||||
<span>张三</span>
|
|
||||||
<span>医学博士</span>
|
|
||||||
<span>广州医院</span>
|
|
||||||
<span>社会兼职中华医学会XXXXXX</span>
|
|
||||||
</div>
|
|
||||||
<div class="userTitle">
|
|
||||||
<span class="el-icon-first-aid-kit">放射科</span>
|
|
||||||
<span class="el-icon-user">主任</span>
|
|
||||||
<span class="el-icon-medal">副主任医师</span>
|
|
||||||
<span class="el-icon-trophy">副教授</span>
|
|
||||||
</div>
|
|
||||||
<div class="userTel">
|
|
||||||
<span class="el-icon-phone-outline">18616815282</span>
|
|
||||||
<span class="el-icon-message">sicauzhangye@sina.com</span>
|
|
||||||
<span class="el-icon-chat-dot-round">wechat666</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<div class="title">{{ $t('curriculumVitae:summarize:title') }}</div>
|
|
||||||
<span class="text">
|
|
||||||
哈斯卡基本的喀山举办的卡拉说不定就卡了奥斯本大数据量的把数据来看不打算了解到
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<el-form class="demo-form-inline">
|
|
||||||
<el-form-item :label="$t('curriculumVitae:specialty:specialty')">
|
|
||||||
<span>放射科</span>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item :label="$t('curriculumVitae:specialty:submajor')">
|
|
||||||
<el-tag type="info" v-for="item in ['1', '2', '3']" :key="item">
|
|
||||||
标签三
|
|
||||||
</el-tag>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item :label="$t('curriculumVitae:specialty:equipment')">
|
|
||||||
<el-tag type="info" v-for="item in ['1', '2', '3']" :key="item">
|
|
||||||
标签三
|
|
||||||
</el-tag>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<div class="title">
|
|
||||||
{{ $t('curriculumVitae:EducationalExperience:title') }}
|
|
||||||
</div>
|
|
||||||
<el-table
|
|
||||||
:data="tableData"
|
|
||||||
style="width: 100%"
|
|
||||||
:header-cell-style="{ background: '#eee', color: '#606266' }"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:EducationalExperience:table:time')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:EducationalExperience:table:specialy')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:EducationalExperience:table:degree')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:EducationalExperience:table:school')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:EducationalExperience:table:city')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<div>{{ $t('curriculumVitae:continuingTraining:title') }}</div>
|
|
||||||
<el-table
|
|
||||||
:data="tableData2"
|
|
||||||
style="width: 100%"
|
|
||||||
:header-cell-style="{ background: '#eee', color: '#606266' }"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:continuingTraining:table:time')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:continuingTraining:table:type')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:continuingTraining:table:direction')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:continuingTraining:table:school')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:continuingTraining:table:city')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<div class="title">
|
|
||||||
{{ $t('curriculumVitae:scientificResearchProject:title') }}
|
|
||||||
</div>
|
|
||||||
<div class="content">
|
|
||||||
<el-form class="demo-form-inline">
|
|
||||||
<el-form-item
|
|
||||||
:label="$t('curriculumVitae:scientificResearchProject:direction')"
|
|
||||||
>
|
|
||||||
<div>direction</div>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item
|
|
||||||
:label="$t('curriculumVitae:scientificResearchProject:subject')"
|
|
||||||
>
|
|
||||||
<div>subject</div>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<!--临床试验-->
|
|
||||||
<div class="title">
|
|
||||||
{{ $t('curriculumVitae:clinicalTrials:title') }}
|
|
||||||
</div>
|
|
||||||
<el-table
|
|
||||||
:data="tableData3"
|
|
||||||
style="width: 100%"
|
|
||||||
:header-cell-style="{ background: '#eee', color: '#606266' }"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:byStages')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:criterion')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:indication')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:viewingVolumeNum')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:year')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<!--GCP证书-->
|
|
||||||
<div class="title">
|
|
||||||
{{ $t('curriculumVitae:clinicalTrials:GCPtitle') }}
|
|
||||||
</div>
|
|
||||||
<el-table
|
|
||||||
:data="tableData4"
|
|
||||||
style="width: 100%"
|
|
||||||
:header-cell-style="{ background: '#eee', color: '#606266' }"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
prop="has"
|
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:hasCertificate')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="time"
|
|
||||||
:label="$t('curriculumVitae:clinicalTrials:table:certificateTime')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="adress"
|
|
||||||
:label="
|
|
||||||
$t('curriculumVitae:clinicalTrials:table:certificateHospital')
|
|
||||||
"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<!--其他相关经历-->
|
|
||||||
<div class="title">
|
|
||||||
{{ $t('curriculumVitae:clinicalTrials:otherTitle') }}
|
|
||||||
</div>
|
|
||||||
<template v-if="true">
|
|
||||||
<div class="message">三的卡上不能打卡上班打卡</div>
|
|
||||||
</template>
|
|
||||||
<div class="noData" v-else>{{ $t('curriculumVitae:noData') }}</div>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<div class="title">{{ $t('curriculumVitae:treatise:title') }}</div>
|
|
||||||
<el-table
|
|
||||||
:data="tableData5"
|
|
||||||
style="width: 100%"
|
|
||||||
:header-cell-style="{ background: '#eee', color: '#606266' }"
|
|
||||||
>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:treatise:table:author')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:treatise:table:name')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
prop="date"
|
|
||||||
:label="$t('curriculumVitae:treatise:table:publish')"
|
|
||||||
>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
</div>
|
|
||||||
<div class="message">
|
|
||||||
<div class="title">{{ $t('curriculumVitae:other:title') }}</div>
|
|
||||||
<div class="content">
|
|
||||||
<div>{{ $t('curriculumVitae:other:AH') }}</div>
|
|
||||||
<p>a诺夫卡刷积分八九十快点把手里的v八路军那是的健康蓝色的艰苦拉萨的</p>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<script>
|
|
||||||
export default {
|
|
||||||
name: 'curriculumVitaePreview',
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
tableData: [],
|
|
||||||
tableData2: [],
|
|
||||||
tableData3: [],
|
|
||||||
tableData4: [],
|
|
||||||
tableData5: [],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.curriculumVitaePreview {
|
|
||||||
max-width: 1200px;
|
|
||||||
margin: auto;
|
|
||||||
.title {
|
|
||||||
font-size: 18px;
|
|
||||||
}
|
|
||||||
.message {
|
|
||||||
padding: 20px 0;
|
|
||||||
border-bottom: 1px solid #eee;
|
|
||||||
.title {
|
|
||||||
font-size: 14px;
|
|
||||||
line-height: 30px;
|
|
||||||
margin-bottom: 10px;
|
|
||||||
}
|
|
||||||
.text {
|
|
||||||
color: #909399;
|
|
||||||
}
|
|
||||||
.content {
|
|
||||||
background-color: #eee;
|
|
||||||
padding: 10px;
|
|
||||||
line-height: 30px;
|
|
||||||
border-radius: 5px;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.userInfo,
|
|
||||||
.userTitle,
|
|
||||||
.userTel {
|
|
||||||
line-height: 30px;
|
|
||||||
margin-bottom: 15px;
|
|
||||||
span {
|
|
||||||
margin-right: 20px;
|
|
||||||
&:last-child {
|
|
||||||
margin: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
&:last-child {
|
|
||||||
margin-bottom: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
.userTitle,
|
|
||||||
.userTel {
|
|
||||||
span {
|
|
||||||
display: inline-block;
|
|
||||||
min-width: 80px;
|
|
||||||
border-right: 1px solid #ddd;
|
|
||||||
padding-right: 10px;
|
|
||||||
&::before {
|
|
||||||
margin-right: 5px;
|
|
||||||
}
|
|
||||||
&:last-child {
|
|
||||||
border: none;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
::v-deep .el-tag {
|
|
||||||
margin-right: 10px;
|
|
||||||
&:last-child {
|
|
||||||
margin-right: 0;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
|
|
@ -1,224 +0,0 @@
|
||||||
<template>
|
|
||||||
<div class="event">
|
|
||||||
<div ref="leftContainer" class="left">
|
|
||||||
<el-form :inline="true">
|
|
||||||
<el-form-item :label="$t('system:event:eventTypeName')">
|
|
||||||
<el-select
|
|
||||||
v-model="searchData.EventTypeName"
|
|
||||||
clearable
|
|
||||||
filterable
|
|
||||||
placeholder=""
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in $d.EventTypeName"
|
|
||||||
:key="item.id"
|
|
||||||
:label="item.label"
|
|
||||||
:value="item.value"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item :label="$t('system:event:eventState')">
|
|
||||||
<el-select
|
|
||||||
v-model="searchData.EventState"
|
|
||||||
clearable
|
|
||||||
filterable
|
|
||||||
placeholder=""
|
|
||||||
>
|
|
||||||
<el-option
|
|
||||||
v-for="item in $d.EventState"
|
|
||||||
:key="item.id"
|
|
||||||
:label="item.label"
|
|
||||||
:value="item.value"
|
|
||||||
/>
|
|
||||||
</el-select>
|
|
||||||
</el-form-item>
|
|
||||||
<el-form-item>
|
|
||||||
<el-button
|
|
||||||
type="primary"
|
|
||||||
icon="el-icon-search"
|
|
||||||
size="mini"
|
|
||||||
@click="getList"
|
|
||||||
>
|
|
||||||
{{ $t('common:button:search') }}
|
|
||||||
</el-button>
|
|
||||||
<el-button
|
|
||||||
size="mini"
|
|
||||||
icon="el-icon-refresh-left"
|
|
||||||
@click="handleReset"
|
|
||||||
>
|
|
||||||
{{ $t('common:button:reset') }}
|
|
||||||
</el-button>
|
|
||||||
</el-form-item>
|
|
||||||
</el-form>
|
|
||||||
<el-table
|
|
||||||
v-loading="loading"
|
|
||||||
v-adaptive="{ bottomOffset: 45 }"
|
|
||||||
height="100"
|
|
||||||
:data="list"
|
|
||||||
class="table"
|
|
||||||
@sort-change="handleSortByColumn"
|
|
||||||
@selection-change="handleSelectionChange"
|
|
||||||
><el-table-column type="selection" width="50" />
|
|
||||||
<el-table-column type="index" width="50" />
|
|
||||||
<el-table-column
|
|
||||||
:label="$t('system:event:eventTypeName')"
|
|
||||||
prop="EventTypeName"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<span>{{ $fd('EventTypeName', scope.row.EventTypeName) }}</span>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
:label="$t('system:event:eventState')"
|
|
||||||
prop="EventState"
|
|
||||||
show-overflow-tooltip
|
|
||||||
sortable="custom"
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<el-tag
|
|
||||||
:type="['info', 'success', 'primary'][scope.row.EventState]"
|
|
||||||
>
|
|
||||||
{{ $fd('EventState', scope.row.EventState) }}
|
|
||||||
</el-tag>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
<el-table-column
|
|
||||||
:label="$t('common:action:action')"
|
|
||||||
fixed="right"
|
|
||||||
prop=""
|
|
||||||
show-overflow-tooltip
|
|
||||||
>
|
|
||||||
<template slot-scope="scope">
|
|
||||||
<el-button
|
|
||||||
size="mini"
|
|
||||||
type="text"
|
|
||||||
icon="el-icon-edit-outline"
|
|
||||||
@click="rePublish(scope.row)"
|
|
||||||
>
|
|
||||||
{{ $t('system:event:button:rePublish') }}
|
|
||||||
</el-button>
|
|
||||||
</template>
|
|
||||||
</el-table-column>
|
|
||||||
</el-table>
|
|
||||||
<div class="pagination" style="text-align: right; margin-top: 5px">
|
|
||||||
<pagination
|
|
||||||
:total="total"
|
|
||||||
:page.sync="searchData.PageIndex"
|
|
||||||
:limit.sync="searchData.PageSize"
|
|
||||||
@pagination="getList"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</template>
|
|
||||||
<script>
|
|
||||||
import { getEventStoreRecordList, rePublishEvent } from '@/api/admin'
|
|
||||||
import Pagination from '@/components/Pagination'
|
|
||||||
import moment from 'moment'
|
|
||||||
const searchDataDefault = () => {
|
|
||||||
return {
|
|
||||||
EventState: null,
|
|
||||||
EventTypeName: null,
|
|
||||||
Asc: true,
|
|
||||||
SortField: '',
|
|
||||||
PageIndex: 1,
|
|
||||||
PageSize: 20,
|
|
||||||
}
|
|
||||||
}
|
|
||||||
export default {
|
|
||||||
name: 'event',
|
|
||||||
components: { Pagination },
|
|
||||||
data() {
|
|
||||||
return {
|
|
||||||
moment,
|
|
||||||
searchData: searchDataDefault(),
|
|
||||||
list: [],
|
|
||||||
total: 0,
|
|
||||||
loading: false,
|
|
||||||
PublishVersionList: [],
|
|
||||||
selectTableList: [],
|
|
||||||
}
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
methods: {
|
|
||||||
getList() {
|
|
||||||
this.loading = true
|
|
||||||
getEventStoreRecordList(this.searchData)
|
|
||||||
.then((res) => {
|
|
||||||
this.loading = false
|
|
||||||
this.list = res.Result.CurrentPageData
|
|
||||||
this.total = res.Result.TotalCount
|
|
||||||
})
|
|
||||||
.catch(() => {
|
|
||||||
this.loading = false
|
|
||||||
})
|
|
||||||
},
|
|
||||||
async rePublish(row) {
|
|
||||||
try {
|
|
||||||
this.loading = true
|
|
||||||
let res = await rePublishEvent({
|
|
||||||
EventId: row.Id,
|
|
||||||
})
|
|
||||||
if (res.IsSuccess) {
|
|
||||||
this.getList()
|
|
||||||
}
|
|
||||||
} catch (err) {
|
|
||||||
this.loading = false
|
|
||||||
console.log(err)
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// 重置列表查询
|
|
||||||
handleReset() {
|
|
||||||
this.searchData = searchDataDefault()
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
// 排序
|
|
||||||
handleSortByColumn(column) {
|
|
||||||
if (column.order === 'ascending') {
|
|
||||||
this.searchData.Asc = true
|
|
||||||
} else {
|
|
||||||
this.searchData.Asc = false
|
|
||||||
}
|
|
||||||
this.searchData.SortField = column.prop
|
|
||||||
this.searchData.PageIndex = 1
|
|
||||||
this.getList()
|
|
||||||
},
|
|
||||||
// 选择
|
|
||||||
handleSelectionChange(val) {
|
|
||||||
this.selectTableList = val
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
<style lang="scss" scoped>
|
|
||||||
.event {
|
|
||||||
height: 100%;
|
|
||||||
box-sizing: border-box;
|
|
||||||
display: flex;
|
|
||||||
padding: 10px;
|
|
||||||
border-radius: 5px;
|
|
||||||
.left {
|
|
||||||
display: flex;
|
|
||||||
flex-direction: column;
|
|
||||||
width: 0;
|
|
||||||
flex-grow: 4;
|
|
||||||
// border-right: 1px solid #ccc;
|
|
||||||
.filter-container {
|
|
||||||
display: flex;
|
|
||||||
align-items: center;
|
|
||||||
margin: 5px;
|
|
||||||
}
|
|
||||||
.data-table {
|
|
||||||
flex: 1;
|
|
||||||
padding: 5px 0px;
|
|
||||||
}
|
|
||||||
.pagination-container {
|
|
||||||
text-align: right;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
Loading…
Reference in New Issue