Commit 4342b918 authored by jingnan's avatar jingnan 👀

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

parent 5f6bd7c8
...@@ -2,11 +2,12 @@ ...@@ -2,11 +2,12 @@
<div class="TfMomWebGatt-page"> <div class="TfMomWebGatt-page">
<div class="btn-bar"> <div class="btn-bar">
<el-radio-group v-model="viewType" size="small" @input="setView"> <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="unit">装配单元路线</el-radio-button>
<el-radio-button label="AircraftSorties">架次视图路线</el-radio-button> <!-- <el-radio-button label="AircraftSorties">架次视图路线</el-radio-button> -->
</el-radio-group> </el-radio-group>
<dee-tools mode="normal" :tools="tools" /> <!-- <dee-tools mode="normal" :tools="tools" /> -->
</div> </div>
<div class="content-model"> <div class="content-model">
<step v-if="viewType === 'ExtPosition'" ref="ExtPosition" :show-flag="viewType === 'ExtPosition'" :node="node" /> <step v-if="viewType === 'ExtPosition'" ref="ExtPosition" :show-flag="viewType === 'ExtPosition'" :node="node" />
...@@ -26,7 +27,7 @@ export default { ...@@ -26,7 +27,7 @@ export default {
components: { step, unit, view2 }, components: { step, unit, view2 },
data() { data() {
return { return {
viewType: 'ExtPosition', viewType: 'unit',
node: null, node: null,
evenList: [ evenList: [
{ {
......
...@@ -34,7 +34,7 @@ export default { ...@@ -34,7 +34,7 @@ export default {
AircraftSortiesName: '', AircraftSortiesName: '',
currentNode: {}, currentNode: {},
postionList: [], postionList: [],
viewType: 'ExtPosition', viewType: 'unit',
emitMethods: [ emitMethods: [
{ {
methods: 'getData', methods: 'getData',
......
...@@ -210,9 +210,9 @@ export default { ...@@ -210,9 +210,9 @@ export default {
const ganttAss = this.gantt const ganttAss = this.gantt
const that = this const that = this
this.usePlugins() this.usePlugins()
var predecessorEditor = { // var predecessorEditor = {
type: 'custom_datepicker_editor' // type: 'custom_datepicker_editor'
} // }
var getInput = function(node) { var getInput = function(node) {
return node.querySelector('input') return node.querySelector('input')
} }
...@@ -305,6 +305,7 @@ export default { ...@@ -305,6 +305,7 @@ export default {
ganttAss.config.drag_progress = false ganttAss.config.drag_progress = false
ganttAss.config.details_on_dblclick = false ganttAss.config.details_on_dblclick = false
ganttAss.config.open_split_tasks = true ganttAss.config.open_split_tasks = true
ganttAss.config.show_links = false // 取消依赖连线
ganttAss.templates.tooltip_text = function(start, end, task) { ganttAss.templates.tooltip_text = function(start, end, task) {
var html = var html =
'<b >站位:</b> ' + '<b >站位:</b> ' +
...@@ -367,7 +368,8 @@ export default { ...@@ -367,7 +368,8 @@ export default {
label: '前置', label: '前置',
width: 60, width: 60,
align: 'center', align: 'center',
editor: predecessorEditor, // 取消双击编辑
// editor: predecessorEditor,
template: colContent 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