| | |
| | | <el-table-column type="selection" width="55" align="center" /> |
| | | <el-table-column label="工艺流程编码" width="130" align="center"> |
| | | <template slot-scope="scope"> |
| | | <router-link :to="{path: '/main/route-data/index/', query: {routeCode: scope.row.routeCode} }" class="link-type"> |
| | | <router-link :to="{path: '/main/route-data/index/', query: {routeCode: scope.row.routeCode,routeId: scope.row.id} }" class="link-type"> |
| | | <span>{{ scope.row.routeCode }}</span> |
| | | </router-link> |
| | | </template> |
| | |
| | | </el-table-column> |
| | | <el-table-column label="更改时间" width="160" align="center" prop="updateTime"> |
| | | </el-table-column> |
| | | <el-table-column label="操作" width="130" align="center" class-name="small-padding fixed-width"> |
| | | <el-table-column fixed="right" label="操作" width="200" align="center" class-name="small-padding fixed-width"> |
| | | <template slot-scope="scope"> |
| | | <el-button |
| | | size="mini" |
| | |
| | | </template> |
| | | |
| | | <script> |
| | | import { listTechnologyRoute, getTechnologyRoute, delTechnologyRoute, addTechnologyRoute, updateTechnologyRoute } from "@/api/main/bs/technologyRoute/technologyRoute"; |
| | | import { updateTechnologyRouteAndChild, listTechnologyRoute, getTechnologyRoute, delTechnologyRoute, addTechnologyRoute, updateTechnologyRoute } from "@/api/main/bs/technologyRoute/technologyRoute"; |
| | | |
| | | export default { |
| | | name: "TechnologyRoute", |
| | |
| | | this.$refs["form"].validate(valid => { |
| | | if (valid) { |
| | | if (this.form.id != null) { |
| | | updateTechnologyRoute(this.form).then(response => { |
| | | // updateTechnologyRoute(this.form).then(response => { |
| | | updateTechnologyRouteAndChild(this.form).then(response => { |
| | | this.$modal.msgSuccess("修改成功"); |
| | | this.open = false; |
| | | this.getList(); |