Commit 4342b918 authored by jingnan's avatar jingnan 👀

ERP相关_删除站位路线,架次视图路线页签,及右侧按钮 装配单元路线只读,删除右侧按钮

parent 5f6bd7c8
......@@ -2,11 +2,12 @@
<div class="TfMomWebGatt-page">
<div class="btn-bar">
<el-radio-group v-model="viewType" size="small" @input="setView">
<el-radio-button label="ExtPosition">站位路线</el-radio-button>
<!-- 删除站位路线和架次视图路线及右侧按钮 -->
<!-- <el-radio-button label="ExtPosition">站位路线</el-radio-button> -->
<el-radio-button label="unit">装配单元路线</el-radio-button>
<el-radio-button label="AircraftSorties">架次视图路线</el-radio-button>
<!-- <el-radio-button label="AircraftSorties">架次视图路线</el-radio-button> -->
</el-radio-group>
<dee-tools mode="normal" :tools="tools" />
<!-- <dee-tools mode="normal" :tools="tools" /> -->
</div>
<div class="content-model">
<step v-if="viewType === 'ExtPosition'" ref="ExtPosition" :show-flag="viewType === 'ExtPosition'" :node="node" />
......@@ -26,7 +27,7 @@ export default {
components: { step, unit, view2 },
data() {
return {
viewType: 'ExtPosition',
viewType: 'unit',
node: null,
evenList: [
{
......
......@@ -34,7 +34,7 @@ export default {
AircraftSortiesName: '',
currentNode: {},
postionList: [],
viewType: 'ExtPosition',
viewType: 'unit',
emitMethods: [
{
methods: 'getData',
......
......@@ -210,9 +210,9 @@ export default {
const ganttAss = this.gantt
const that = this
this.usePlugins()
var predecessorEditor = {
type: 'custom_datepicker_editor'
}
// var predecessorEditor = {
// type: 'custom_datepicker_editor'
// }
var getInput = function(node) {
return node.querySelector('input')
}
......@@ -305,6 +305,7 @@ export default {
ganttAss.config.drag_progress = false
ganttAss.config.details_on_dblclick = false
ganttAss.config.open_split_tasks = true
ganttAss.config.show_links = false // 取消依赖连线
ganttAss.templates.tooltip_text = function(start, end, task) {
var html =
'<b >站位:</b> ' +
......@@ -367,7 +368,8 @@ export default {
label: '前置',
width: 60,
align: 'center',
editor: predecessorEditor,
// 取消双击编辑
// editor: predecessorEditor,
template: colContent
}
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment