|
|
@ -18,9 +18,7 @@ |
|
|
|
<el-button |
|
|
|
round |
|
|
|
class="release_btn" |
|
|
|
:loading="crud.status.cu === 2" |
|
|
|
type="primary" |
|
|
|
@click="crud.submitCU" |
|
|
|
>发布</el-button> |
|
|
|
<el-button round type="primary">关闭</el-button> |
|
|
|
</el-col> |
|
|
@ -363,32 +361,14 @@ |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
import crudDept from '@/api/system/dept' |
|
|
|
import draggable from 'vuedraggable' |
|
|
|
import CRUD, { presenter, header, form, crud } from '@crud/crud' |
|
|
|
import ThemeGalleryList from '../components/ThemeGalleryList.vue' |
|
|
|
const defaultForm = { |
|
|
|
name: '', |
|
|
|
date: null, |
|
|
|
isTop: null, |
|
|
|
deviceSelect: '', |
|
|
|
timePeriod: null, |
|
|
|
onweek: [] |
|
|
|
} |
|
|
|
export default { |
|
|
|
name: 'ImmediateRelease', |
|
|
|
components: { |
|
|
|
draggable, |
|
|
|
ThemeGalleryList |
|
|
|
}, |
|
|
|
cruds() { |
|
|
|
return CRUD({ |
|
|
|
title: '部门', |
|
|
|
url: 'api/dept', |
|
|
|
crudMethod: { ...crudDept } |
|
|
|
}) |
|
|
|
}, |
|
|
|
mixins: [presenter(), header(), form(defaultForm), crud()], |
|
|
|
data() { |
|
|
|
return { |
|
|
|
publishType: 0, |
|
|
@ -406,6 +386,14 @@ export default { |
|
|
|
deviceTags: [], |
|
|
|
mulitText: '多选', |
|
|
|
isMultiSelected: false, |
|
|
|
form: { |
|
|
|
name: '', |
|
|
|
date: null, |
|
|
|
isTop: null, |
|
|
|
deviceSelect: '', |
|
|
|
timePeriod: null, |
|
|
|
onweek: [] |
|
|
|
}, |
|
|
|
listData: [ |
|
|
|
{ |
|
|
|
id: '1', |
|
|
|