| | |
| | | :tree-props="{children: 'children', hasChildren: 'hasChildren'}"> |
| | | <el-table-column type="selection" width="55"></el-table-column> |
| | | <el-table-column type="index" width="60" label="序号"></el-table-column> |
| | | <el-table-column prop="tfather" label="工序" :resizable="false"> |
| | | <el-table-column prop="tfather" label="工序" width="200" :resizable="false"> |
| | | <template slot-scope="scope"> |
| | | <el-tag class="tag" type="primary" v-if="scope.row.tfather != null">01</el-tag> |
| | | <span>{{scope.row.tfather}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="tname" label="工艺名称" :resizable="false"> |
| | | <el-table-column prop="tname" label="工艺名称" width="200" :resizable="false"> |
| | | <template slot-scope="scope"> |
| | | <el-tag type="success" v-if="scope.row.tname != null" class="tag">02</el-tag> |
| | | <span>{{scope.row.tname}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="pfather" label="项目" :resizable="false"> |
| | | <el-table-column prop="pfather" label="项目" width="200" :resizable="false"> |
| | | <template slot-scope="scope"> |
| | | <el-tag type="info" color="#faf2ff" v-if="scope.row.pfather != null" class="tag"> |
| | | <span style="color: #e1affb">03</span> |
| | |
| | | <span>{{scope.row.pfather}}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column prop="pname" label="指标名称" :resizable="false"> |
| | | <el-table-column prop="pname" label="指标名称" width="200" :resizable="false"> |
| | | <template slot-scope="scope"> |
| | | <span>{{scope.row.pname}}</span> |
| | | </template> |
| | |
| | | }).then(res=>{ |
| | | this.$message.success(res.message); |
| | | }).catch(error=>{ |
| | | this.$message.error(error.message); |
| | | }) |
| | | }, |
| | | } |