| | |
| | | <el-button id="searchButton" type="success" @click="handlezhiban"> |
| | | {{ $t('hellow.createtask') }} |
| | | </el-button> |
| | | <el-button style="margin-left: 20px;" id="searchButton" type="success" @click="handleBinda"> |
| | | {{ $t('hellow.starttask') }} |
| | | </el-button> |
| | | <el-button style="margin-left: 20px;" id="searchButton" type="success" @click="handleBindb">{{ |
| | | $t('hellow.stoptask') |
| | | }} |
| | | </el-button> |
| | | <!-- <el-button style="margin-left: 20px;" id="searchButton" type="success" @click="handleBinda">--> |
| | | <!-- {{ $t('hellow.starttask') }}--> |
| | | <!-- </el-button>--> |
| | | <!-- <el-button style="margin-left: 20px;" id="searchButton" type="success" @click="handleBindb">{{--> |
| | | <!-- $t('hellow.stoptask')--> |
| | | <!-- }}--> |
| | | <!-- </el-button>--> |
| | | <el-switch style="margin-top: 7px;margin-left: 10px;" v-model="ganghua" class="mb-2" :inactive-text="$t('hellow.schedulingswitch')" @change="handleChange" /> |
| | | </div> |
| | | <div style="margin-bottom: -5px;margin-left: 5px;"> |
| | |
| | | :header-cell-style="{ background: '#F2F3F5', color: '#1D2129' }"> |
| | | <el-table-column prop="sequence" :label="$t('hellow.order')" align="center"/> |
| | | <el-table-column prop="thickness" :label="$t('hellow.thickness')" align="center"/> |
| | | <el-table-column prop="layer" :label="$t('hellow.coatingtypes')" align="center"/> |
| | | <el-table-column prop="layer" :label="$t('hellow.layer')" align="center"/> |
| | | <el-table-column prop="filmsId" :label="$t('hellow.coatingtypes')" align="center"/> |
| | | <el-table-column prop="height" :label="$t('hellow.height')" align="center"/> |
| | | <el-table-column prop="width" :label="$t('hellow.width')" align="center"/> |
| | | <el-table-column prop="state" :label="$t('hellow.state')" align="center"/> |
| | | <el-table-column prop="state" :label="$t('hellow.state')" align="center"> |
| | | <template #default="scope"> |
| | | {{ scope.row.state == -1 ? "等待出片" : "出片完成" }} |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div style="display: flex;margin-left: 500px;margin-top: 10px;"> |
| | | <!-- <div style="float: center;"> --> |
| | |
| | | var url="/hollowGlass/hollowGlassRelationInfo/queryLackByFlowCard?flowCardId="+flowCardId + "&layer=" + layer; |
| | | const response = await request.post(url) |
| | | if (response.code == 200) { |
| | | tableDatac.value = response.data[1]; |
| | | // tableDatac.value = response.data[1]; |
| | | tableDatac.value = response.data; |
| | | ElMessage.success(response.message); |
| | | } else { |
| | | ElMessage.error(response.message); |