| | |
| | | <el-tabs tab-position="top" class="custom-tabs" v-model="normal"> |
| | | <el-tab-pane label="机器信息" name="1"> |
| | | <el-container> |
| | | <el-header>基础数据</el-header> |
| | | <el-header> |
| | | <h2>基础数据</h2> |
| | | </el-header> |
| | | <el-main> |
| | | <el-row> |
| | | <el-col :span="4"> |
| | |
| | | </el-container> |
| | | <el-container> |
| | | <el-header> |
| | | <span>采集信息</span> |
| | | <el-button @click="editFlag = !editFlag" |
| | | style="margin-left: auto;" text type="primary" |
| | | size="small">配置工位采集</el-button> |
| | | <h2>采集信息</h2> |
| | | <el-button v-show="list.length > 0" |
| | | @click="editFlag = !editFlag" style="margin-left: auto;" |
| | | text type="primary" size="small">配置工位采集</el-button> |
| | | <el-button v-show="editFlag" @click="saveInfo" text |
| | | type="primary" size="small">保存</el-button> |
| | | <el-button text type="primary" |
| | | size="small">修改DMP配置</el-button> |
| | | <el-button text type="primary" size="small" |
| | | @click="editDMP">修改DMP配置</el-button> |
| | | </el-header> |
| | | <el-main> |
| | | <el-table :data="list" height="200px"> |
| | |
| | | this.queryList() |
| | | }, |
| | | methods: { |
| | | editDMP() { |
| | | this.$HTTP.get(`/api/blade-system/param/detail?paramKey=system.dmp.url`).then(res => { |
| | | if (res.success) { |
| | | window.open(res.data.paramValue) |
| | | } else { |
| | | this.$message.error(res.msg) |
| | | } |
| | | }) |
| | | }, |
| | | renderContent(h, { data }) { |
| | | let img = data.groupTag == 'fms_beltline' |
| | | return h('span', { |