gaoshp
2024-09-11 6ef89b00cce212f98ffe6ac339642e25e507d88a
update
已修改1个文件
11 ■■■■■ 文件已修改
src/views/console/workstation/index.vue 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/console/workstation/index.vue
@@ -71,8 +71,10 @@
                                            </template>
                                        </el-table-column>
                                    </scTable>
                                    <div style="margin-left: 14px;flex: 1 1 auto;"
                                        v-if="Object.keys(previewData).length > 0">
                                    <div :style="{
                                        'max-width': showTable ? '50%' : '100%', 'margin-left': '14px',
                                        flex: '1 1 auto'
                                    }" v-if="Object.keys(previewData).length > 0">
                                        <div class="header">
                                            <el-icon @click="showTable = !showTable"
                                                style="font-size: 20px;cursor: pointer;margin-top: 10px;">
@@ -135,9 +137,9 @@
                                                        <el-header>
                                                            <h2>采集信息</h2>
                                                            <el-button v-show="list.length > 0"
                                                                @click="() => { editFlag = !editFlag; }"
                                                                @click="() => { editFlag = !editFlag; showTable = !editFlag }"
                                                                style="margin-left: auto;" text type="primary"
                                                                size="small">配置工位采集</el-button>
                                                                size="small">{{ editFlag ? '取消' : '配置工位采集' }}</el-button>
                                                            <el-button v-show="editFlag" @click="saveInfo" text
                                                                type="primary" size="small">保存</el-button>
                                                            <el-button text type="primary" size="small"
@@ -716,6 +718,7 @@
        saveInfo() {
            this.$HTTP.post('/api/blade-cps/workstation-wcs/save', this.workbenchVOList).then(res => {
                this.editFlag = false
                this.showTable = true
            })
        },
    }