18 changed files with 1230 additions and 107 deletions
@ -0,0 +1,328 @@ |
|||
<template> |
|||
<el-card shadow="never" class="aui-card--fill" v-loading="pageloading"> |
|||
<div class="mod-__masteruserrelation}"> |
|||
<el-form :model="dataForm" :rules="dataRule" ref="dataForm" :label-width="$i18n.locale === 'en-US' ? '120px' : '80px'" :disabled="pageDisabled"> |
|||
<el-form-item label="榜样身份" prop="partyFlag" label-width="100px"> |
|||
<el-select v-model="dataForm.partyFlag" placeholder="榜样身份" style="width:300px" clearable> |
|||
<el-option v-for="item in partyFlagArr" :key="item.dictValue" :label="item.dictName" :value="item.dictValue"> |
|||
</el-option> |
|||
</el-select> |
|||
</el-form-item> |
|||
<el-form-item label="榜样名称" prop="name" label-width="100px"> |
|||
<el-input v-model="dataForm.name" placeholder="榜样名称" clearable maxlength="20" @keyup.native="btKeyUpContent" style="width:300px"></el-input> |
|||
</el-form-item> |
|||
<el-form-item label="联系电话" prop="mobile" label-width="100px"> |
|||
<el-input v-model="dataForm.mobile" placeholder="联系电话" clearable maxlength="20" @keyup.native="btKeyUpContent" style="width:300px"></el-input> |
|||
</el-form-item> |
|||
<el-form-item label="会议内容" prop="content" label-width="100px"> |
|||
<el-input |
|||
type="textarea" |
|||
:rows="6" |
|||
placeholder="请输入会议内容,2000字以内" |
|||
v-model="dataForm.content" |
|||
maxlength="2000" |
|||
style="width:50%"> |
|||
</el-input> |
|||
</el-form-item> |
|||
<el-form-item label="添加图片" v-loading="loading" prop="images" label-width="100px"> |
|||
<el-upload |
|||
:action="uploadUrl" |
|||
:class="{hide:hideUpload}" |
|||
list-type="picture-card" |
|||
:file-list="dataForm.images" |
|||
:limit=9 |
|||
:on-preview="handlePictureCardPreview" |
|||
:on-remove="handleRemove" |
|||
:on-success="handleAvatarSuccess" |
|||
:on-error="handelError" |
|||
:before-upload="beforeAvatarUpload" |
|||
style="width:480px"> |
|||
<i class="el-icon-plus"></i> |
|||
</el-upload> |
|||
<el-dialog :visible.sync="dialogVisible"> |
|||
<img width="100%" :src="dialogImageUrl" alt=""> |
|||
</el-dialog> |
|||
<div><font color="gray">1~9张图</font></div> |
|||
</el-form-item> |
|||
<el-form-item label="添加文件" v-loading="fileloading" prop="files" label-width="100px"> |
|||
<el-upload |
|||
class="upload-demo" |
|||
ref="upload" |
|||
:disabled="isAble" |
|||
:action="uploadFileUrl" |
|||
:before-remove="beforeFileRemove" |
|||
:file-list="dataForm.files" |
|||
:before-upload="beforeAvatarFileUpload" |
|||
:on-remove="handleFileRemove" |
|||
:on-success="handleAvatarFileSuccess" |
|||
:on-error="handelError" |
|||
:on-preview="handleFileCardPreview" |
|||
style="width:480px"> |
|||
<el-button size="small" :disabled="isAble">点击上传</el-button> |
|||
<div slot="tip" class="el-upload__tip">支持.word、PDF、Excel文件</div> |
|||
</el-upload> |
|||
</el-form-item> |
|||
</el-form> |
|||
<el-form> |
|||
<el-form-item style="margin-left:35px;"> |
|||
<el-button type="primary" @click="backToUserRelationList">{{"返回"}}</el-button> |
|||
<el-button v-if="!pageDisabled" type="primary" :disabled="isAble" @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
<template slot="footer"> |
|||
<el-button @click="visible = false">{{ $t('cancel') }}</el-button> |
|||
<el-button type="primary" @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|||
</template> |
|||
</div> |
|||
</el-card> |
|||
</template> |
|||
|
|||
<script> |
|||
import debounce from 'lodash/debounce' |
|||
import Cookies from 'js-cookie' |
|||
import 'quill/dist/quill.snow.css' |
|||
import MapSelect from './map-select' |
|||
export default { |
|||
data () { |
|||
return { |
|||
visible: false, |
|||
dataForm: { |
|||
name: '', |
|||
mobile: '', |
|||
partyFlag: '', |
|||
content: '', |
|||
state: '', |
|||
images: [], |
|||
files: [] |
|||
}, |
|||
partyFlagArr: [ |
|||
{ dictValue: '0', dictName: '居民' }, |
|||
{ dictValue: '1', dictName: '党员' } |
|||
], |
|||
isAble: false, |
|||
hideUpload: false, |
|||
pageDisabled: false, |
|||
uploadUrl: '', |
|||
uploadFileUrl: '', |
|||
loading: false, |
|||
dialogImageUrl: '', |
|||
dialogVisible: false, |
|||
isAutoRemoveFile: true, |
|||
fileloading: false, |
|||
pageloading: true, |
|||
isGoToInfo: '0' // 是否回到月报列表:0否;1是 |
|||
} |
|||
}, |
|||
computed: { |
|||
dataRule () { |
|||
return { |
|||
name: [ |
|||
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } |
|||
], |
|||
mobile: [ |
|||
{ required: true, message: this.$t('validate.required'), trigger: 'blur' }, |
|||
{ pattern: /^[1][3,4,5,7,8,9][0-9]{9}$/, message: '请输入正确号码格式', trigger: 'blur' } |
|||
], |
|||
partyFlag: [ |
|||
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } |
|||
], |
|||
content: [ |
|||
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
created: function () { |
|||
this.uploadUrl = `${window.SITE_CONFIG['apiURL']}/oss/file/uploadImg?token=${Cookies.get('token')}` |
|||
this.uploadFileUrl = `${window.SITE_CONFIG['apiURL']}/oss/file/uploadAllFile?token=${Cookies.get('token')}` |
|||
// this.uploadUrl = `http://219.146.91.110:10000/epdc-api/oss/file/uploadImg?token=${Cookies.get('token')}` |
|||
// this.uploadFileUrl = `http://219.146.91.110:10000/epdc-api/oss/file/uploadAllFile?token=${Cookies.get('token')}` |
|||
}, |
|||
components: { |
|||
MapSelect |
|||
}, |
|||
mounted () { |
|||
if (this.$route.query.disabled === '0') { |
|||
this.pageDisabled = false |
|||
this.hideUpload = false |
|||
} else { |
|||
this.pageDisabled = true |
|||
this.hideUpload = true |
|||
} |
|||
if (this.$route.query.id !== '' && this.$route.query.id != null) { |
|||
this.dataForm.id = this.$route.query.id |
|||
this.getInfo() |
|||
} else { |
|||
this.pageloading = false |
|||
} |
|||
if (this.$route.query.infoId !== '' && this.$route.query.infoId != null) { |
|||
this.dataForm.infoId = this.$route.query.infoId |
|||
this.isGoToInfo = '1' |
|||
} |
|||
}, |
|||
methods: { |
|||
init () { |
|||
this.dataForm.id = this.$route.query.id |
|||
this.visible = true |
|||
this.$nextTick(() => { |
|||
this.$refs['dataForm'].resetFields() |
|||
if (this.dataForm.id) { |
|||
this.getInfo() |
|||
} |
|||
}) |
|||
}, |
|||
beforeAvatarUpload (file) { |
|||
if (this.dataForm.length === 9) { |
|||
this.$message.error('最多上传9张图片!') |
|||
return false |
|||
} |
|||
this.loading = true |
|||
this.isAble = true |
|||
const isJPG = file.type === 'image/jpeg' |
|||
const isPNG = file.type === 'image/png' |
|||
// 判断是否符合格式要求 |
|||
if (!isJPG && !isPNG) { |
|||
this.$message.error('上传文件必须是jpg、png格式!') |
|||
this.loading = false |
|||
this.isAble = false |
|||
return false |
|||
} |
|||
}, |
|||
handleAvatarSuccess (res, file) { |
|||
this.loading = false |
|||
this.isAble = false |
|||
this.dataForm.images.push({ url: res.data.imgUrl, thumbnail: res.data.thumbnail, fileType: 1, recordType: 3, fileName: res.data.fileName }) |
|||
this.hideUpload = this.dataForm.images.length >= 9 |
|||
}, |
|||
handelError () { |
|||
this.loading = false |
|||
this.fileloading = false |
|||
this.isAble = false |
|||
this.$message.error('上传文件失败!') |
|||
}, |
|||
handleRemove (file, fileList) { |
|||
for (var i = 0; i < this.dataForm.images.length; i++) { |
|||
let item = this.dataForm.images[i] |
|||
if (item.url === file.url) { |
|||
this.dataForm.images.splice(i, 1) |
|||
} |
|||
} |
|||
this.hideUpload = this.dataForm.images.length >= 9 |
|||
}, |
|||
handlePictureCardPreview (file) { |
|||
this.dialogImageUrl = file.url |
|||
this.dialogVisible = true |
|||
}, |
|||
// --------------文件上传----------------- |
|||
handleFileCardPreview (file) { |
|||
window.location.href = `${window.SITE_CONFIG['apiURL']}/oss/file/download?fileUrl=${file.url}` |
|||
// window.location.href = `http://219.146.91.110:10000/epdc-api/oss/file/download?fileUrl=${file.url}` |
|||
}, |
|||
beforeFileRemove (file, fileList) { |
|||
if (this.isAutoRemoveFile) { |
|||
return this.$confirm(`确定移除${file.name}?`) |
|||
} |
|||
this.isAutoRemoveFile = true |
|||
}, |
|||
beforeAvatarFileUpload (file) { |
|||
this.fileloading = true |
|||
this.isAble = true |
|||
if (file.size === 0) { |
|||
this.isAutoRemoveFile = false |
|||
this.$message.error('文件为空文件,请上传非空文件!') |
|||
this.fileloading = false |
|||
this.isAble = false |
|||
return false |
|||
} |
|||
}, |
|||
handleFileRemove (file, fileList) { |
|||
for (var i = 0; i < this.dataForm.files.length; i++) { |
|||
let item = this.dataForm.files[i] |
|||
if (item.url === file.url) { |
|||
this.dataForm.files.splice(i, 1) |
|||
} |
|||
} |
|||
}, |
|||
handleErrorRemove (file) { |
|||
// 实现缩略图模板时删除文件 |
|||
let fileList = this.$refs.upload.uploadFiles |
|||
for (var i = 0; i < fileList.length; i++) { |
|||
let item = fileList[i] |
|||
if (item.url === file.url) { |
|||
fileList.splice(i, 1) |
|||
} |
|||
} |
|||
}, |
|||
handleAvatarFileSuccess (res, file) { |
|||
this.fileloading = false |
|||
this.isAble = false |
|||
if (res === null || res.data === null || res.data.imgUrl === null) { |
|||
this.$message.error('文件上传失败!') |
|||
this.handleErrorRemove(file) |
|||
return false |
|||
} |
|||
this.dataForm.files.push({ url: res.data.imgUrl, thumbnail: res.data.thumbnail, fileType: 2, recordType: 3, fileName: res.data.fileName, name: res.data.fileName }) |
|||
}, |
|||
// 返回按钮点击事件 |
|||
backToUserRelationList () { |
|||
this.$emit('refreshDataList') |
|||
if (this.isGoToInfo === '1') { |
|||
this.$parent.selectComponent = 'Monthrecordinfo' |
|||
this.$router.push({ path: '/workRecord-Monthrecordinforoute' }) |
|||
} else { |
|||
this.$parent.selectComponent = 'Monthexcellentperson' |
|||
this.$router.push({ path: '/workRecord-Monthexcellentpersonroute' }) |
|||
} |
|||
}, |
|||
// 获取信息 |
|||
getInfo () { |
|||
this.$http.get(`/workRecord/monthexcellentperson/${this.dataForm.id}`).then(({ data: res }) => { |
|||
this.pageloading = false |
|||
if (res.code !== 0) { |
|||
return this.$message.error(res.msg) |
|||
} |
|||
this.dataForm = { |
|||
...this.dataForm, |
|||
...res.data |
|||
} |
|||
// 判断是否存在九张照片,九张照片隐藏上传操作按钮(非查看状态下) |
|||
if (this.$route.query.disabled === '0') { |
|||
this.hideUpload = this.dataForm.images.length >= 9 |
|||
} |
|||
}).catch(() => {}) |
|||
}, |
|||
// 表单提交 |
|||
dataFormSubmitHandle: debounce(function () { |
|||
this.$refs['dataForm'].validate((valid) => { |
|||
if (!valid) { |
|||
return false |
|||
} |
|||
this.isAble = true |
|||
this.$http[!this.dataForm.id ? 'post' : 'put']('/workRecord/monthexcellentperson/', this.dataForm).then(({ data: res }) => { |
|||
if (res.code !== 0) { |
|||
this.isAble = false |
|||
return this.$message.error(res.msg) |
|||
} |
|||
this.$message({ |
|||
message: this.$t('prompt.success'), |
|||
type: 'success', |
|||
duration: 500, |
|||
onClose: () => { |
|||
this.isAble = false |
|||
this.visible = false |
|||
this.$emit('refreshDataList') |
|||
// 返回主列表 |
|||
this.backToUserRelationList() |
|||
} |
|||
}) |
|||
}).catch(() => {}) |
|||
}) |
|||
}, 1000, { 'leading': true, 'trailing': false }) |
|||
} |
|||
} |
|||
</script> |
|||
<style> |
|||
.hide .el-upload--picture-card { |
|||
display: none; |
|||
} |
|||
</style> |
|||
@ -0,0 +1,29 @@ |
|||
<template> |
|||
<keep-alive include="monthexcellentperson"> |
|||
<component :is="selectComponent"></component> |
|||
</keep-alive> |
|||
</template> |
|||
<script> |
|||
import Monthexcellentperson from './monthexcellentperson' |
|||
import MonthexcellentpersonDetail from './monthexcellentpersonDetail' |
|||
export default { |
|||
data () { |
|||
return { |
|||
selectComponent: Monthexcellentperson |
|||
} |
|||
}, |
|||
components: { |
|||
Monthexcellentperson, |
|||
MonthexcellentpersonDetail |
|||
}, |
|||
methods: { |
|||
init () { |
|||
this.selectComponent = Monthexcellentperson |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
|
|||
</style> |
|||
@ -0,0 +1,219 @@ |
|||
<template> |
|||
<el-card shadow="never" class="aui-card--fill" v-loading="pageloading"> |
|||
<div class="mod-__masteruserrelation}"> |
|||
<!-- <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmitHandle()" :label-width="$i18n.locale === 'en-US' ? '120px' : '80px'" :disabled="pageDisabled"> --> |
|||
<div v-for="(item, index) in this.dataForm.sortList" :key="index"> |
|||
<el-form :inline="true" :rules="dataRule" ref="item" :model="item" :disabled="pageDisabled"> |
|||
<el-form-item prop="deptId" :label="'第'+(index+1)+'名:'" label-width="90px"> |
|||
<el-cascader |
|||
:show-all-levels="true" |
|||
ref="name" |
|||
v-model="item.deptId" |
|||
:options="options" |
|||
:props="{ emitPath: false }" |
|||
@change="(value,selectedData)=>{changeHandle(value,selectedData,index)}" |
|||
style="width:500px;" |
|||
> |
|||
</el-cascader>  |
|||
<el-button @click="deleteUserMethod(index)">{{"删除"}}</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
</div> |
|||
<!-- </el-form> --> |
|||
<el-form> |
|||
<el-form-item style="margin-left:250px;"> |
|||
<el-button type="primary" @click="addSort" v-if="!pageDisabled" :disabled="isAble">{{"添加排名-名额"}}</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
<el-form> |
|||
<el-form-item style="margin-left:18px;"> |
|||
<el-button type="primary" @click="backToUserRelationList">{{"返回"}}</el-button> |
|||
<el-button v-if="!pageDisabled" type="primary" :disabled="isAble" @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|||
</el-form-item> |
|||
</el-form> |
|||
<template slot="footer"> |
|||
<el-button @click="visible = false">{{ $t('cancel') }}</el-button> |
|||
<el-button type="primary" @click="dataFormSubmitHandle()">{{ $t('confirm') }}</el-button> |
|||
</template> |
|||
</div> |
|||
</el-card> |
|||
</template> |
|||
|
|||
<script> |
|||
import debounce from 'lodash/debounce' |
|||
import 'quill/dist/quill.snow.css' |
|||
export default { |
|||
data () { |
|||
return { |
|||
visible: false, |
|||
dataForm: { |
|||
infoId: '', |
|||
sortList: [ { deptId: '', deptName: '', sort: '0' }, { deptId: '', deptName: '', sort: '1' }, |
|||
{ deptId: '', deptName: '', sort: '2' }, { deptId: '', deptName: '', sort: '3' }, { deptId: '', deptName: '', sort: '4' } ] |
|||
}, |
|||
isAble: false, |
|||
pageDisabled: false, |
|||
pageloading: true, |
|||
options: [], |
|||
isAdd: '0' // 是不是新增:0否;1是 |
|||
} |
|||
}, |
|||
computed: { |
|||
dataRule () { |
|||
return { |
|||
deptId: [ |
|||
{ required: true, message: this.$t('validate.required'), trigger: 'blur' } |
|||
] |
|||
} |
|||
} |
|||
}, |
|||
created: function () { |
|||
this.getOptions() |
|||
}, |
|||
components: {}, |
|||
mounted () { |
|||
this.isAdd = this.$route.query.isAdd |
|||
if (this.$route.query.infoId !== '' && this.$route.query.infoId != null) { |
|||
this.dataForm.infoId = this.$route.query.infoId |
|||
} |
|||
if (this.$route.query.disabled === '0') { |
|||
this.pageDisabled = false |
|||
} else { |
|||
this.pageDisabled = true |
|||
} |
|||
if (this.$route.query.isAdd === '1') { |
|||
this.pageloading = false |
|||
} else { |
|||
this.getInfo() |
|||
} |
|||
}, |
|||
methods: { |
|||
changeHandle (value, selectedData, index) { |
|||
this.dataForm.sortList[index].deptId = this.$refs['name'][index].getCheckedNodes()[0].value |
|||
let pathLabels = this.$refs['name'][index].getCheckedNodes()[0].pathLabels |
|||
let labels = '' |
|||
for (var i = 0; i < pathLabels.length; i++) { |
|||
labels += pathLabels[i] + '/' |
|||
} |
|||
if (labels.length > 0) { |
|||
labels = labels.substring(0, labels.length - 1) |
|||
} |
|||
this.dataForm.sortList[index].deptName = labels |
|||
// 所有ID |
|||
let path = this.$refs['name'][index].getCheckedNodes()[0].path |
|||
let allDeptIds = '' |
|||
for (var j = 0; j < path.length; j++) { |
|||
allDeptIds += path[j] + ',' |
|||
} |
|||
if (allDeptIds.length > 0) { |
|||
allDeptIds = allDeptIds.substring(0, allDeptIds.length - 1) |
|||
} |
|||
this.dataForm.sortList[index].allDeptIds = allDeptIds |
|||
}, |
|||
// 添加一个名额 |
|||
addSort () { |
|||
this.dataForm.sortList.push({ deptId: '', deptName: '', sort: '' }) |
|||
}, |
|||
// 删除一个名额 |
|||
deleteUserMethod (index) { |
|||
if (this.dataForm.sortList.length === 1) { |
|||
this.dataForm.sortList = [{ deptId: '', deptName: '', sort: '' }] |
|||
} else { |
|||
this.dataForm.sortList.splice(index, 1) |
|||
} |
|||
}, |
|||
init () { |
|||
this.dataForm.id = this.$route.query.id |
|||
this.visible = true |
|||
this.$nextTick(() => { |
|||
this.$refs['dataForm'].resetFields() |
|||
if (this.dataForm.id) { |
|||
// this.getInfo() |
|||
} |
|||
}) |
|||
}, |
|||
getOptions () { |
|||
this.$http |
|||
.get(`/sys/user/deptOptions/getDeptAuthByUser`) |
|||
.then(({ data: res }) => { |
|||
if (res.code !== 0) { |
|||
return this.$message.error(res.msg) |
|||
} |
|||
this.options = res.data.options |
|||
}) |
|||
.catch(() => {}) |
|||
}, |
|||
// 返回按钮点击事件 |
|||
backToUserRelationList () { |
|||
this.$emit('refreshDataList') |
|||
if (this.isAdd === '1' || this.isAdd === '2') { |
|||
this.$parent.selectComponent = 'Monthrecordinfo' |
|||
this.$router.push({ path: '/workRecord-Monthrecordinforoute' }) |
|||
} else { |
|||
this.$parent.selectComponent = 'Monthgridsort' |
|||
this.$router.push({ path: '/workRecord-Monthgridsortroute' }) |
|||
} |
|||
}, |
|||
// 获取信息 |
|||
getInfo () { |
|||
this.$http.get(`/workRecord/monthgridsort/${this.dataForm.infoId}`).then(({ data: res }) => { |
|||
this.pageloading = false |
|||
if (res.code !== 0) { |
|||
return this.$message.error(res.msg) |
|||
} |
|||
this.dataForm = { |
|||
...this.dataForm, |
|||
...res.data |
|||
} |
|||
}).catch(() => {}) |
|||
}, |
|||
// 表单提交 |
|||
dataFormSubmitHandle: debounce(function () { |
|||
let remindInfo = '' |
|||
var deptIdArr = [] |
|||
for (var i = 0; i < this.dataForm.sortList.length; i++) { |
|||
this.dataForm.sortList[i].sort = i |
|||
if (this.dataForm.sortList[i].deptId === '' || this.dataForm.sortList[i].deptId === null) { |
|||
remindInfo += '第' + (i + 1) + '名、' |
|||
} |
|||
} |
|||
if (remindInfo.length > 0) { |
|||
remindInfo = remindInfo.substring(0, remindInfo.length - 1) |
|||
this.$message.error(remindInfo + '信息不完善,请完善后提交!') |
|||
return false |
|||
} |
|||
for (var j = 0; j < this.dataForm.sortList.length; j++) { |
|||
let deptId = this.dataForm.sortList[j].deptId |
|||
let deptName = this.dataForm.sortList[j].deptName |
|||
let data = deptIdArr.find(function (value) { |
|||
return value === deptId |
|||
}) |
|||
if (data) { |
|||
this.$message.error('第' + (j + 1) + '名:' + deptName + '已存在,请更换网格!') |
|||
return false |
|||
} |
|||
deptIdArr.push(this.dataForm.sortList[j].deptId) |
|||
} |
|||
this.isAble = true |
|||
this.$http[this.$route.query.isAdd === '1' ? 'post' : 'put']('/workRecord/monthgridsort/', this.dataForm).then(({ data: res }) => { |
|||
if (res.code !== 0) { |
|||
this.isAble = false |
|||
return this.$message.error(res.msg) |
|||
} |
|||
this.$message({ |
|||
message: this.$t('prompt.success'), |
|||
type: 'success', |
|||
duration: 500, |
|||
onClose: () => { |
|||
this.isAble = false |
|||
this.visible = false |
|||
this.$emit('refreshDataList') |
|||
// 返回主列表 |
|||
this.backToUserRelationList() |
|||
} |
|||
}) |
|||
}).catch(() => {}) |
|||
}, 1000, { 'leading': true, 'trailing': false }) |
|||
} |
|||
} |
|||
</script> |
|||
@ -0,0 +1,29 @@ |
|||
<template> |
|||
<keep-alive include="monthgridsort"> |
|||
<component :is="selectComponent"></component> |
|||
</keep-alive> |
|||
</template> |
|||
<script> |
|||
import Monthgridsort from './monthgridsort' |
|||
import MonthgridsortDetail from './monthgridsortDetail' |
|||
export default { |
|||
data () { |
|||
return { |
|||
selectComponent: Monthgridsort |
|||
} |
|||
}, |
|||
components: { |
|||
Monthgridsort, |
|||
MonthgridsortDetail |
|||
}, |
|||
methods: { |
|||
init () { |
|||
this.selectComponent = Monthgridsort |
|||
} |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss" scoped> |
|||
|
|||
</style> |
|||
Loading…
Reference in new issue