|
@@ -5,6 +5,11 @@
|
|
>
|
|
>
|
|
<div class="header">
|
|
<div class="header">
|
|
<div class="title">绑定工序</div>
|
|
<div class="title">绑定工序</div>
|
|
|
|
+ <div class="processInfo">
|
|
|
|
+ <span>工艺名称:{{ routeOperationData?.processRouteName }}</span>
|
|
|
|
+ <span>产品名称:{{ routeOperationData?.prodtName }}</span>
|
|
|
|
+ <span>产品编码:{{ routeOperationData?.prodtCode }}</span>
|
|
|
|
+ </div>
|
|
<el-button :icon="Back" size="small" @click="back">返回</el-button>
|
|
<el-button :icon="Back" size="small" @click="back">返回</el-button>
|
|
</div>
|
|
</div>
|
|
<div class="binContainer">
|
|
<div class="binContainer">
|
|
@@ -598,11 +603,14 @@ const filterDicts = () => {
|
|
// dictsArray.value = arr;
|
|
// dictsArray.value = arr;
|
|
};
|
|
};
|
|
|
|
|
|
|
|
+
|
|
|
|
+const routeOperationData = ref(null);
|
|
const cancelStatus = ref(true);
|
|
const cancelStatus = ref(true);
|
|
//通过id获取现存储信息
|
|
//通过id获取现存储信息
|
|
const loadProcessesFlow = async () => {
|
|
const loadProcessesFlow = async () => {
|
|
const res = await processesByRouteId(route.fullPath.split("/")[4]);
|
|
const res = await processesByRouteId(route.fullPath.split("/")[4]);
|
|
if (res.data) {
|
|
if (res.data) {
|
|
|
|
+ routeOperationData.value = res.data;
|
|
if (res.data.routeData && res.data.routeData != "") {
|
|
if (res.data.routeData && res.data.routeData != "") {
|
|
let jsonData = JSON.parse(res.data.routeData);
|
|
let jsonData = JSON.parse(res.data.routeData);
|
|
flowData.nodes = jsonData.nodes;
|
|
flowData.nodes = jsonData.nodes;
|
|
@@ -626,6 +634,7 @@ const formRef = ref(null);
|
|
const reset = () => {
|
|
const reset = () => {
|
|
currentProcess.value = {};
|
|
currentProcess.value = {};
|
|
editStatus.value = false;
|
|
editStatus.value = false;
|
|
|
|
+ routeOperationData.value = {};
|
|
};
|
|
};
|
|
const editProComponent = async () => {
|
|
const editProComponent = async () => {
|
|
router.push({
|
|
router.push({
|
|
@@ -779,7 +788,7 @@ const convertToSnakeLayout = () => {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
-.title {
|
|
|
|
|
|
+.title,.processInfo{
|
|
line-height: 44px;
|
|
line-height: 44px;
|
|
color: #6f7991;
|
|
color: #6f7991;
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
@@ -787,6 +796,14 @@ const convertToSnakeLayout = () => {
|
|
text-align: left;
|
|
text-align: left;
|
|
margin-left: 20px;
|
|
margin-left: 20px;
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+.processInfo span {
|
|
|
|
+ margin: 0 150px 0 200px;
|
|
|
|
+}
|
|
|
|
+.processInfo {
|
|
|
|
+ position: absolute;
|
|
|
|
+ left: 5%;
|
|
|
|
+}
|
|
.title2 {
|
|
.title2 {
|
|
color: #232032;
|
|
color: #232032;
|
|
font-size: 14px;
|
|
font-size: 14px;
|