调整系统关于vue报错误
This commit is contained in:
parent
7536022d33
commit
2210965709
@ -2,9 +2,9 @@ export function getBaseUrl() {
|
||||
let BASE_API;
|
||||
if (process.env.NODE_ENV === 'development') {
|
||||
// BASE_API = 'https://joylink.club/jlcloud';
|
||||
// BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
BASE_API = 'https://test.joylink.club/jlcloud';
|
||||
// BASE_API = 'http://192.168.3.5:9000'; // 袁琪
|
||||
BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||
// BASE_API = 'http://192.168.3.6:9000'; // 旭强
|
||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||
// BASE_API = 'http://192.168.3.82:9000'; // 杜康
|
||||
// BASE_API = 'http://192.168.3.41:9000'; // 张赛
|
||||
|
@ -76,7 +76,7 @@
|
||||
</el-table-column>
|
||||
</el-table>
|
||||
</div>
|
||||
<el-dialog title="" :visible.sync="dialogVisible" width="600px" :before-close="handleClose" class="dialog-div">
|
||||
<el-dialog title="" :visible.sync="dialogVisible" width="600px" class="dialog-div">
|
||||
<div>
|
||||
<div class="dialog-box">
|
||||
<div class="title">模式类别</div>
|
||||
@ -104,8 +104,8 @@ export default {
|
||||
data() {
|
||||
return {
|
||||
dialogVisible: false,
|
||||
tableTitleStyle: 'text-align: center; height: 28px; padding: 0;background: #45607B;',
|
||||
rowStyle: 'text-align: center;height: 28px; padding: 0; background: #45607B;',
|
||||
tableTitleStyle: {'text-align': 'center', 'height': '28px', 'padding': '0', 'background': '#45607B'},
|
||||
rowStyle: {'text-align': 'center', 'height': '28px', 'padding': '0', 'background': '#45607B' },
|
||||
tableData: [{
|
||||
code: '101',
|
||||
faf1: '打开',
|
||||
|
@ -129,7 +129,8 @@ export default {
|
||||
return {
|
||||
selectedCCTV: '41',
|
||||
descriptionList: [],
|
||||
textarea: ''
|
||||
textarea: '',
|
||||
value: ''
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="iscs-system-box">
|
||||
<top-nav v-if="!$route.query.group" @selectMode="selectMode" />
|
||||
<group-nav v-if="$route.query.group" @selectMode="selectMode" />
|
||||
<top-nav v-if="!$route.query.group" />
|
||||
<group-nav v-if="$route.query.group" />
|
||||
<div class="content-box iscs_content_box" :class="{'displayIscs': $route.query.group}">
|
||||
<router-view />
|
||||
</div>
|
||||
|
@ -8,17 +8,17 @@
|
||||
:data="orderList"
|
||||
size="medium"
|
||||
>
|
||||
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.commodityName')" prop="goodsName" />
|
||||
<el-table-column :key="forever" :label="this.$t('orderAuthor.permanenceOrNot')" prop="forever">
|
||||
<el-table-column :label="this.$t('orderAuthor.commodityName')" prop="goodsName" />
|
||||
<el-table-column :label="this.$t('orderAuthor.permanenceOrNot')" prop="forever">
|
||||
<template slot-scope="scope">
|
||||
{{ $ConstSelect.translate(scope.row.forever, 'Whether') }}
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
||||
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.goodsAmount')" prop="goodsAmount" />
|
||||
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.itemPricing')" prop="price" />
|
||||
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.startDate')" prop="startTime" />
|
||||
<el-table-column :key="goodsName" :label="this.$t('orderAuthor.purchaseMonths')" prop="monthAmount">
|
||||
<el-table-column :label="this.$t('orderAuthor.goodsAmount')" prop="goodsAmount" />
|
||||
<el-table-column :label="this.$t('orderAuthor.itemPricing')" prop="price" />
|
||||
<el-table-column :label="this.$t('orderAuthor.startDate')" prop="startTime" />
|
||||
<el-table-column :label="this.$t('orderAuthor.purchaseMonths')" prop="monthAmount">
|
||||
<template slot-scope="scope">
|
||||
{{ scope.row.forever?'/':scope.row.monthAmount }}
|
||||
</template>
|
||||
|
@ -227,11 +227,11 @@ export default {
|
||||
handleOriginalForm() {
|
||||
if (this.$route.query.distributeId) {
|
||||
const form = localStore.get(this.$route.path);
|
||||
form.distributeId = this.$route.query.distributeId;
|
||||
form['distributeId'] = this.$route.query.distributeId;
|
||||
localStore.set(this.$route.path, form);
|
||||
} else {
|
||||
const form = localStore.get(this.$route.path);
|
||||
form.distributeId = '';
|
||||
form['distributeId'] = '';
|
||||
localStore.set(this.$route.path, form);
|
||||
}
|
||||
},
|
||||
|
@ -110,12 +110,6 @@ export default {
|
||||
type: 'warning',
|
||||
showControl: (row) => { return row.status == 1; }
|
||||
},
|
||||
{
|
||||
name: this.$t('global.delete'),
|
||||
handleClick: this.handleDelete,
|
||||
type: 'danger',
|
||||
showControl: () => { return this.isShow != -1; }
|
||||
},
|
||||
{
|
||||
name: this.$t('global.exportMap'),
|
||||
handleClick: this.handleExportMap,
|
||||
@ -138,6 +132,12 @@ export default {
|
||||
name: this.$t('publish.simulationDataCheck'),
|
||||
handleClick: this.handleSimulationCheck,
|
||||
showControl: (row) => { return row.drawWay; }
|
||||
},
|
||||
{
|
||||
name: this.$t('global.delete'),
|
||||
handleClick: this.handleDelete,
|
||||
type: 'danger',
|
||||
showControl: () => { return this.isShow != -1; }
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -68,15 +68,15 @@ export default {
|
||||
width: '250',
|
||||
hide: (row) => { return this.$store.state.user.roles.indexOf(superAdmin) < 0; },
|
||||
buttons: [
|
||||
{
|
||||
name: this.$t('global.preview'),
|
||||
handleClick: this.handleView,
|
||||
type: ''
|
||||
},
|
||||
{
|
||||
name: this.$t('global.delete'),
|
||||
handleClick: this.handleDelete,
|
||||
type: 'danger'
|
||||
},
|
||||
{
|
||||
name: this.$t('global.preview'),
|
||||
handleClick: this.handleView,
|
||||
type: ''
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -68,11 +68,6 @@ export default {
|
||||
width: '450',
|
||||
hide: () => { return this.$store.state.user.roles.indexOf(superAdmin) < 0; },
|
||||
buttons: [
|
||||
{
|
||||
name: this.$t('global.delete'),
|
||||
handleClick: this.handleDelete,
|
||||
type: 'danger'
|
||||
},
|
||||
{
|
||||
name: this.$t('publish.generateRunPlan'),
|
||||
handleClick: this.handleMapSelect,
|
||||
@ -87,6 +82,11 @@ export default {
|
||||
name: this.$t('global.preview'),
|
||||
handleClick: this.handleView,
|
||||
type: ''
|
||||
},
|
||||
{
|
||||
name: this.$t('global.delete'),
|
||||
handleClick: this.handleDelete,
|
||||
type: 'danger'
|
||||
}
|
||||
]
|
||||
}
|
||||
|
@ -13,10 +13,10 @@ import { createDevice, deviceIsExist} from '@/api/project';
|
||||
export default {
|
||||
name: 'DeviceAdd',
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
// type: {
|
||||
// type: String,
|
||||
// required: true
|
||||
// }
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
@ -36,10 +36,10 @@ import { getDeviceDetail, setPsdConfig, setSignalConfig, setSwitchConfig } from
|
||||
export default {
|
||||
name: 'EditConfig',
|
||||
props: {
|
||||
type: {
|
||||
type: String,
|
||||
required: true
|
||||
}
|
||||
// type: {
|
||||
// type: String,
|
||||
// required: true
|
||||
// }
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
|
Loading…
Reference in New Issue
Block a user