会话代码调整 3d挂载js路径修改 帮助文档路径修改
This commit is contained in:
parent
f39ee786b4
commit
9141a6f92c
@ -8,8 +8,8 @@
|
||||
<!-- cdn.bootcss.com替换成cdnjs.cloudflare.com/ajax/libs -->
|
||||
|
||||
<title><%= webpackConfig.name %></title>
|
||||
<script src="/static/inflate.min.js"></script>
|
||||
<script src="/static/three.min.js"></script>
|
||||
<script src="/cbtc/static/inflate.min.js"></script>
|
||||
<script src="/cbtc/static/three.min.js"></script>
|
||||
<!--<% if (process.env.VUE_APP_PRO !== 'local') { %>-->
|
||||
<!--<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/element-ui/2.7.2/theme-chalk/index.css">-->
|
||||
<!--<link href="https://cdnjs.cloudflare.com/ajax/libs/nprogress/0.2.0/nprogress.min.css" rel="stylesheet">-->
|
||||
|
@ -135,11 +135,11 @@ export default {
|
||||
},
|
||||
goEmpty() {},
|
||||
goToCaseShow() {
|
||||
const href = 'https://joylink.club/helps/西安铁路职业技术学院.pdf';
|
||||
const href = 'https://joylink.club/oss/portal/cases/西安铁路职业技术学院.pdf';
|
||||
window.open(href, '_blank');
|
||||
},
|
||||
goToCase() {
|
||||
const href = 'https://joylink.club/helps/贵州装备制造职业学院机电技术专业实训室建设.pdf';
|
||||
const href = 'https://joylink.club/oss/portal/cases/贵州装备制造职业学院机电技术专业实训室建设.pdf';
|
||||
window.open(href, '_blank');
|
||||
},
|
||||
goToTraining() {
|
||||
|
@ -114,7 +114,7 @@
|
||||
</el-form-item>
|
||||
<el-form-item label="关联剧本" :required="true" prop="scriptId">
|
||||
<!-- <el-input-number v-model="formModel.scriptId" :controls="true" :min="0" :max="100" :step="1" /> -->
|
||||
</el-form-item>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
<span slot="footer" class="dialog-footer">
|
||||
<el-button type="primary" @click="doUpdate">{{ $t('global.confirm') }}</el-button>
|
||||
|
@ -51,6 +51,7 @@
|
||||
<i class="el-icon-loading" style="margin-bottom: 4px;" />
|
||||
<span>呼叫中</span>
|
||||
</div>
|
||||
<div v-if="data.isConnect||data.disabled" class="content_connect" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -321,6 +322,7 @@ export default {
|
||||
item.children.forEach(data =>{
|
||||
if (data.id == val.memberId) {
|
||||
data.active = false;
|
||||
data.isConnect = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
@ -417,8 +419,10 @@ export default {
|
||||
if (val.memberId == item.id && val.memberId != this.myMemberId) {
|
||||
if (item.active) {
|
||||
item.loading = false;
|
||||
item.isConnect = true;
|
||||
} else {
|
||||
item.active = true;
|
||||
item.isConnect = true;
|
||||
}
|
||||
}
|
||||
});
|
||||
@ -459,6 +463,7 @@ export default {
|
||||
data.children && data.children.forEach(item => {
|
||||
if (memberId == item.id) {
|
||||
item.active = true;
|
||||
item.isConnect = true;
|
||||
}
|
||||
});
|
||||
});
|
||||
@ -468,16 +473,39 @@ export default {
|
||||
},
|
||||
// 创建会话 拨打电话
|
||||
createCoversition() {
|
||||
if (this.memberIdList.length) {
|
||||
if (this.memberIdList.length || this.memberObject) {
|
||||
this.createLoading = true;
|
||||
this.treeData.forEach(data => {
|
||||
data.children && data.children.forEach(item => {
|
||||
if (item.active) {
|
||||
item.loading = true;
|
||||
}
|
||||
if (this.memberIdList.length > 0) {
|
||||
// this.memberObject
|
||||
this.treeData.forEach(data => {
|
||||
data.children && data.children.forEach(item => {
|
||||
if (item.active) {
|
||||
item.loading = true;
|
||||
}
|
||||
});
|
||||
});
|
||||
});
|
||||
} else {
|
||||
// allTrain
|
||||
if (this.memberObject == 'ALL_STATION') {
|
||||
const stationList = this.treeData[1].children;
|
||||
const length = stationList.length;
|
||||
stationList.forEach((item, index) => {
|
||||
if (index != length - 1) {
|
||||
item.active = true;
|
||||
item.loading = true;
|
||||
} else {
|
||||
item.active = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
}
|
||||
startConversition(this.group, this.memberIdList, this.memberObject).then(resp => {
|
||||
if (this.memberObject == 'ALL_STATION') {
|
||||
const stationList = this.treeData[1].children;
|
||||
const length = stationList.length;
|
||||
stationList[length - 1].active = false;
|
||||
stationList[length - 1].isConnect = true;
|
||||
}
|
||||
this.messageList = [];
|
||||
this.memberIdList = [];
|
||||
this.memberObject = '';
|
||||
@ -606,10 +634,26 @@ export default {
|
||||
},
|
||||
// 点击按钮事件
|
||||
handleCheckChange(data, jude = false) {
|
||||
this.memberObject = '';
|
||||
if (data.userId && data.userId == this.$store.state.user.id) {
|
||||
return;
|
||||
}
|
||||
if (data.value == 'allConcentrateStation' || data.value == 'allStation' || data.value == 'allTrain') {
|
||||
const stationList = this.treeData[1].children;
|
||||
const length = stationList.length;
|
||||
if (data.active) {
|
||||
stationList.forEach((item, index) => {
|
||||
if (index != length - 1) {
|
||||
item.disabled = true;
|
||||
}
|
||||
});
|
||||
} else {
|
||||
stationList.forEach((item, index) => {
|
||||
if (index != length - 1) {
|
||||
item.disabled = false;
|
||||
}
|
||||
});
|
||||
}
|
||||
data.active = !data.active;
|
||||
this.memberObject = data.sign;
|
||||
} else {
|
||||
@ -661,6 +705,7 @@ export default {
|
||||
if (item.children && item.children.length) {
|
||||
item.children.forEach(data =>{
|
||||
data.active = false;
|
||||
data.isConnect = false;
|
||||
data.loading = false;
|
||||
});
|
||||
}
|
||||
@ -851,6 +896,20 @@ export default {
|
||||
border-radius:4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.content_connect{
|
||||
position: absolute;
|
||||
width: 73px;
|
||||
height: 73px;
|
||||
left: 5px;
|
||||
top: 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
background: rgba(0,0,0,0);
|
||||
flex-direction: column;
|
||||
border-radius:4px;
|
||||
font-size: 14px;
|
||||
}
|
||||
}
|
||||
.menuTrainListBtn {
|
||||
background: #fff;
|
||||
|
Loading…
Reference in New Issue
Block a user