|
@@ -39,7 +39,7 @@
|
|
|
</BasicModal>
|
|
</BasicModal>
|
|
|
</template>
|
|
</template>
|
|
|
<script lang="ts">
|
|
<script lang="ts">
|
|
|
- import { defineComponent, reactive, h, ref, computed } from 'vue';
|
|
|
|
|
|
|
+ import { defineComponent, reactive, ref, computed } from 'vue';
|
|
|
import { Switch } from 'ant-design-vue';
|
|
import { Switch } from 'ant-design-vue';
|
|
|
import { BasicModal, useModalInner } from '/@/components/Modal';
|
|
import { BasicModal, useModalInner } from '/@/components/Modal';
|
|
|
// import { BasicForm, FormSchema, useForm } from '/@/components/Form/index';
|
|
// import { BasicForm, FormSchema, useForm } from '/@/components/Form/index';
|
|
@@ -50,7 +50,7 @@
|
|
|
// bindAnchorListApi
|
|
// bindAnchorListApi
|
|
|
import { bindOldAnchorListApi, bindUserApi } from '/@/api/scene/live';
|
|
import { bindOldAnchorListApi, bindUserApi } from '/@/api/scene/live';
|
|
|
import { bindAnchorListParam } from '/@/api/scene/model';
|
|
import { bindAnchorListParam } from '/@/api/scene/model';
|
|
|
- import { Time } from '/@/components/Time';
|
|
|
|
|
|
|
+ // import { Time } from '/@/components/Time';
|
|
|
// import { useUserStore } from '/@/store/modules/user';
|
|
// import { useUserStore } from '/@/store/modules/user';
|
|
|
|
|
|
|
|
const { t } = useI18n();
|
|
const { t } = useI18n();
|
|
@@ -66,8 +66,9 @@
|
|
|
{
|
|
{
|
|
|
title: 'ID',
|
|
title: 'ID',
|
|
|
dataIndex: 'id',
|
|
dataIndex: 'id',
|
|
|
|
|
+ ellipsis: true,
|
|
|
fixed: 'left',
|
|
fixed: 'left',
|
|
|
- width: 40,
|
|
|
|
|
|
|
+ width: 100,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
title: t('routes.scenes.userName'),
|
|
title: t('routes.scenes.userName'),
|
|
@@ -91,20 +92,20 @@
|
|
|
slots: { customRender: 'canShowSwitch' },
|
|
slots: { customRender: 'canShowSwitch' },
|
|
|
width: 140,
|
|
width: 140,
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- title: t('routes.scenes.bindTime'),
|
|
|
|
|
- dataIndex: 'createTime',
|
|
|
|
|
- width: 100,
|
|
|
|
|
- customRender: ({ record }) => {
|
|
|
|
|
- return (
|
|
|
|
|
- record.createTime &&
|
|
|
|
|
- h(Time, {
|
|
|
|
|
- value: record.createTime,
|
|
|
|
|
- mode: 'datetime',
|
|
|
|
|
- })
|
|
|
|
|
- );
|
|
|
|
|
- },
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // title: t('routes.scenes.bindTime'),
|
|
|
|
|
+ // dataIndex: 'createTime',
|
|
|
|
|
+ // width: 100,
|
|
|
|
|
+ // customRender: ({ record }) => {
|
|
|
|
|
+ // return (
|
|
|
|
|
+ // record.createTime &&
|
|
|
|
|
+ // h(Time, {
|
|
|
|
|
+ // value: record.createTime,
|
|
|
|
|
+ // mode: 'datetime',
|
|
|
|
|
+ // })
|
|
|
|
|
+ // );
|
|
|
|
|
+ // },
|
|
|
|
|
+ // },
|
|
|
];
|
|
];
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
|
components: { BasicModal, BasicTable, Switch },
|
|
components: { BasicModal, BasicTable, Switch },
|