剧本列表预览调整

This commit is contained in:
joylink_cuiweidong 2019-10-18 11:26:11 +08:00
parent b96ca27907
commit c80c9d467c
3 changed files with 11 additions and 9 deletions

View File

@ -151,7 +151,7 @@
this.$refs.applyReject.doShow(row);
},
scriptPreview(index,row){
let mapInfo=this.allMapList.find(elem=>{return elem.id=row.mapId});
let mapInfo=this.allMapList.find(elem=>{return elem.id==row.mapId});
scriptRecordNotify(row.id).then(resp => {
const query = { mapId: row.mapId, group: resp.data, scriptId: row.id,skinCode:mapInfo.skinCode,try:0};
this.$router.push({ path: `${UrlConfig.design.display}/demon`, query });

View File

@ -85,6 +85,7 @@ import { getLoginWmurl, checkLoginStatus } from '@/api/login';
import { LoginParams } from '@/utils/login';
import bgImg from '@/assets/bg1.jpg';
import { setDesignToken } from '@/utils/auth';
import QCode from '@/assets/erCode.jpg';
export default {
name: 'LoginDesign',
@ -115,7 +116,8 @@ export default {
password: [{ required: true, trigger: 'blur', validator: validatePass }]
},
loading: false,
pwdType: 'password',
pwdType: 'password',
QCode: QCode,
tipsMsg: '',
qrcodeClassName: 'login-qrcode',
sessionId: '',

View File

@ -2,9 +2,9 @@
<div>
<pop-menu ref="popMenu" :menu="menu" />
<map-edit ref="edit" :basic-info="true" :map="editModel" :skin-code="skinCode" @refresh="refresh" />
<map-edit ref="axisEdit" :basic-info="false" :map="editModel" :skin-code="skinCode" @refresh="refresh" />
<map-save-as ref="saveAs" :map="editModel" @refresh="refresh" />
<map-publish ref="publish" :map="editModel" />
<!-- <map-edit ref="axisEdit" :basic-info="false" :map="editModel" :skin-code="skinCode" @refresh="refresh" /> -->
<!-- <map-save-as ref="saveAs" :map="editModel" @refresh="refresh" /> -->
<!-- <map-publish ref="publish" :map="editModel" /> -->
</div>
</template>
@ -14,8 +14,8 @@ import { DeviceMenu } from '@/scripts/ConstDic';
import { UrlConfig } from '@/router/index';
import PopMenu from '@/components/PopMenu';
import MapEdit from './edit';
import MapSaveAs from './saveAs';
import MapPublish from './publish';
// import MapSaveAs from './saveAs';
// import MapPublish from './publish';
import { mapGetters } from 'vuex';
export default {
@ -23,8 +23,8 @@ export default {
components: {
PopMenu,
MapEdit,
MapSaveAs,
MapPublish
// MapSaveAs,
// MapPublish
},
props: {
point: {