Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mes-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
周远喜
mes-ui
Commits
27c393b0
Commit
27c393b0
authored
May 07, 2020
by
renjintao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
error info
parent
0e8e0797
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
219 additions
and
202 deletions
+219
-202
processview.vue
pages/technology/processview.vue
+219
-202
No files found.
pages/technology/processview.vue
View file @
27c393b0
...
...
@@ -11,211 +11,225 @@
</Spin>
</Col>
</Row>
<div
class=
"out"
v-show=
"!circleModal"
>
<Row
class=
"table_row"
style=
"width:100%"
>
<Button
class=
"fr"
v-if=
"isoutpdf"
type=
"primary"
@
click=
"$u.outPdf('.outP','工艺规程')"
>
导出pdf
</Button>
</Row>
</div>
<div
class=
"outP"
v-show=
"!circleModal"
>
<div
class=
"table_box part01"
style=
"min-height:400px"
>
<Row
class=
"table_row"
style=
"width:100%"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
工艺文件编号
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.code"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"row_label"
>
任务类型
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.task_type_str"
></label>
</div>
</Col>
</Row>
<Row
class=
"table_row"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
工艺文件版本
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.versiondesc"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"row_label"
>
研制方式
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.development_mode_str"
></label>
</div>
</Col>
</Row>
<Row
class=
"center"
>
<div
class=
"h1"
v-text=
"formValidate.name"
></div>
</Row>
<Row
class=
"center"
>
<div
class=
"title_cont f16"
>
<div
class=
"iview_cont01"
>
<span>
产品名称:
</span>
<label
class=
"table_row"
v-text=
"formValidate.productName"
></label>
</div>
<div
class=
"iview_cont01"
>
<span>
产品代号:
</span>
<label
class=
"table_row"
v-text=
"formValidate.productCode"
></label>
</div>
<Row
v-show=
"!circleModal&&!dataSatus"
>
<Col
span=
"24"
>
<div
class=
"out"
>
<Row
class=
"table_row"
style=
"width:100%"
>
<Button
class=
"fr"
v-if=
"isoutpdf"
type=
"primary"
@
click=
"$u.outPdf('.outP','工艺规程')"
>
导出pdf
</Button>
</Row>
</div>
<div
class=
"outP"
>
<div
class=
"table_box part01"
style=
"min-height:400px"
>
<Row
class=
"table_row"
style=
"width:100%"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
工艺文件编号
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.code"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"row_label"
>
任务类型
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.task_type_str"
></label>
</div>
</Col>
</Row>
<Row
class=
"table_row"
>
<Col
span=
"3"
>
<div
class=
"row_label"
>
工艺文件版本
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont"
>
<label
v-text=
"formValidate.versiondesc"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"row_label"
>
研制方式
</div>
</Col>
<Col
span=
"9"
>
<div
class=
"iview_cont border_none"
>
<label
v-text=
"formValidate.development_mode_str"
></label>
</div>
</Col>
</Row>
<Row
class=
"center"
>
<div
class=
"h1"
v-text=
"formValidate.name"
></div>
</Row>
<Row
class=
"center"
>
<div
class=
"title_cont f16"
>
<div
class=
"iview_cont01"
>
<span>
产品名称:
</span>
<label
class=
"table_row"
v-text=
"formValidate.productName"
></label>
</div>
<div
class=
"iview_cont01"
>
<span>
产品代号:
</span>
<label
class=
"table_row"
v-text=
"formValidate.productCode"
></label>
</div>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
编 制:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.authorName"
></label>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
校 对:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.proofreader"
></label>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
批 准:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.approver"
></label>
</div>
</Row>
<Row
class=
"table_row02"
>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改单编号
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6"
>
<label
v-text=
"formValidate.change_order_code"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改单日期
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6"
>
<label
v-text=
"formValidate.change_order_date"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改办法
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6 border_none"
>
<label
v-text=
"formValidate.change_method"
></label>
</div>
</Col>
</Row>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
编 制:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.authorName"
></label>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
校 对:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.proofreader"
></label>
</div>
</Row>
<Row
class=
"center f16"
>
<div
class=
"iview_cont01"
>
<span>
批 准:
</span>
<label
class=
"table_row min120"
v-text=
"formValidate.approver"
></label>
</div>
</Row>
<Row
class=
"table_row02"
>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改单编号
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6"
>
<label
v-text=
"formValidate.change_order_code"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改单日期
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6"
>
<label
v-text=
"formValidate.change_order_date"
></label>
</div>
</Col>
<Col
span=
"3"
>
<div
class=
"iview_cont"
>
更改办法
</div>
</Col>
<Col
span=
"5"
>
<div
class=
"iview_cont iview_cont6 border_none"
>
<label
v-text=
"formValidate.change_method"
></label>
</div>
</Col>
</Row>
</div>
<div
class=
"table_box part01"
>
<Row
class=
"table_row center row_title"
>
<h2>
工艺内容
</h2>
</Row>
<Row
class=
"table_row row03 auto_row"
>
<div
style=
"min-height:300px"
class=
"tex_in10"
>
{{
formValidate
.
remark
}}
</div>
</Row>
<Row
class=
"table_row center row_title"
>
<h2>
工艺附图
</h2>
</Row>
<div
class=
"table_box part01"
>
<Row
class=
"table_row center row_title"
>
<h2>
工艺内容
</h2>
</Row>
<Row
class=
"table_row row03 auto_row"
>
<div
style=
"min-height:300px"
class=
"tex_in10"
>
{{
formValidate
.
remark
}}
</div>
</Row>
<Row
class=
"table_row center row_title"
>
<h2>
工艺附图
</h2>
</Row>
<Row
class=
"table_row row03 auto_row"
>
<div
style=
"min-height:300px"
class=
"tex_in10"
>
<img
v-for=
"(item2,index2) in formValidate.files"
:key=
"index2"
:src=
" downUrl +item2.url"
style=
"max-width:1000px"
/>
<Row
class=
"table_row row03 auto_row"
>
<div
style=
"min-height:300px"
class=
"tex_in10"
>
<img
v-for=
"(item2,index2) in formValidate.files"
:key=
"index2"
:src=
" downUrl +item2.url"
style=
"max-width:1000px"
/>
</div>
</Row>
</div>
<Row
class=
"center f16"
>
<h2>
工艺过程卡
</h2>
</Row>
<div
class=
"body-box part01"
>
<table>
<thead>
<tr>
<th
class=
"tit01"
>
序号
</th>
<th
class=
"tit02"
>
工序
</th>
<th
class=
"tit03"
>
工序内容及要求
</th>
<th
class=
"tit04"
>
操作者
</th>
<th
class=
"tit05"
>
检验者
</th>
</tr>
</thead>
<tbody>
<template
v-for=
"(item5,index5) in formValidate.details"
>
<tr>
<td
class=
"tl"
>
{{
item5
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item5
.
name
}}
</td>
<td
class=
"tl"
>
<div
v-html=
"item5.task_content"
class=
"html"
></div>
</td>
<td
class=
"tl"
>
{{
item5
.
operator
}}
</td>
<td
class=
"tl"
>
{{
item5
.
proofreader
}}
</td>
</tr>
<tr
v-for=
"(item6,index6) in item5.step"
>
<td
class=
"tl"
>
{{
item6
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item6
.
name
}}
</td>
<td
class=
"tl"
>
<div
v-html=
"item6.task_content"
class=
"html"
></div>
</td>
<td
class=
"tl"
>
{{
item6
.
operator
}}
</td>
<td
class=
"tl"
>
{{
item6
.
proofreader
}}
</td>
</tr>
<tr>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
</tr>
</
template
>
</tbody>
</table>
</div>
<Row
class=
"center f16"
>
<h2>
检测记录表
</h2>
</Row>
<div
class=
"body-box part01"
>
<table>
<thead>
<tr>
<th
class=
"title01"
>
检测工序号
</th>
<th
class=
"title02"
>
检测项目内容
</th>
<th
class=
"title03"
>
检测结果
</th>
<th
class=
"title04"
>
合格判定
</th>
<th
class=
"title05"
>
检验员
</th>
<th
class=
"title06"
>
备注
</th>
</tr>
</thead>
<tbody>
<
template
v-for=
"(item7,index7) in formValidate.qcards"
>
<tr>
<td
class=
"tl"
>
{{
item7
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item7
.
check_content
}}
</td>
<td
class=
"tl"
>
{{
item7
.
checkresult
}}
</td>
<td
class=
"tl"
>
{{
item7
.
result
}}
</td>
<td
class=
"tl"
>
{{
item7
.
checker
}}
</td>
<td
class=
"tl"
>
{{
item7
.
remarks
}}
</td>
</tr>
</
template
>
</tbody>
</table>
</div>
</Row>
</div>
<Row
class=
"center f16"
>
<h2>
工艺过程卡
</h2>
</Row>
<div
class=
"body-box part01"
>
<table>
<thead>
<tr>
<th
class=
"tit01"
>
序号
</th>
<th
class=
"tit02"
>
工序
</th>
<th
class=
"tit03"
>
工序内容及要求
</th>
<th
class=
"tit04"
>
操作者
</th>
<th
class=
"tit05"
>
检验者
</th>
</tr>
</thead>
<tbody>
<template
v-for=
"(item5,index5) in formValidate.details"
>
<tr>
<td
class=
"tl"
>
{{
item5
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item5
.
name
}}
</td>
<td
class=
"tl"
>
<div
v-html=
"item5.task_content"
class=
"html"
></div>
</td>
<td
class=
"tl"
>
{{
item5
.
operator
}}
</td>
<td
class=
"tl"
>
{{
item5
.
proofreader
}}
</td>
</tr>
<tr
v-for=
"(item6,index6) in item5.step"
>
<td
class=
"tl"
>
{{
item6
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item6
.
name
}}
</td>
<td
class=
"tl"
>
<div
v-html=
"item6.task_content"
class=
"html"
></div>
</td>
<td
class=
"tl"
>
{{
item6
.
operator
}}
</td>
<td
class=
"tl"
>
{{
item6
.
proofreader
}}
</td>
</tr>
<tr>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
<td
class=
"tl"
></td>
</tr>
</
template
>
</tbody>
</table>
</div>
<Row
class=
"center f16"
>
<h2>
检测记录表
</h2>
</Row>
<div
class=
"body-box part01"
>
<table>
<thead>
<tr>
<th
class=
"title01"
>
检测工序号
</th>
<th
class=
"title02"
>
检测项目内容
</th>
<th
class=
"title03"
>
检测结果
</th>
<th
class=
"title04"
>
合格判定
</th>
<th
class=
"title05"
>
检验员
</th>
<th
class=
"title06"
>
备注
</th>
</tr>
</thead>
<tbody>
<
template
v-for=
"(item7,index7) in formValidate.qcards"
>
<tr>
<td
class=
"tl"
>
{{
item7
.
taskseq
}}
</td>
<td
class=
"tl"
>
{{
item7
.
check_content
}}
</td>
<td
class=
"tl"
>
{{
item7
.
checkresult
}}
</td>
<td
class=
"tl"
>
{{
item7
.
result
}}
</td>
<td
class=
"tl"
>
{{
item7
.
checker
}}
</td>
<td
class=
"tl"
>
{{
item7
.
remarks
}}
</td>
</tr>
</
template
>
</tbody>
</table>
</div>
</div>
</div>
</Col>
</Row>
<Row
style=
"height:300px"
v-show=
"!circleModal&&dataSatus"
>
<Col
span=
"24"
class=
"tc"
>
<div
style=
"margin-top:80px"
>
数据加载失败!
</div>
</Col>
</Row>
</div>
</template>
<
script
>
...
...
@@ -231,7 +245,8 @@ export default {
details
:
[],
qcards
:
[]
},
circleModal
:
true
circleModal
:
true
,
dataSatus
:
false
};
},
props
:
{
...
...
@@ -250,6 +265,7 @@ export default {
methods
:
{
load
(
v
)
{
this
.
circleModal
=
true
;
this
.
dataSatus
=
false
;
var
url
=
`
${
designUrl
}
/routingheader/getprocessinfo?headerid=`
+
v
;
service
.
get
(
`
${
url
}
`
)
...
...
@@ -272,6 +288,7 @@ export default {
})
.
catch
(
err
=>
{
this
.
circleModal
=
false
;
this
.
dataSatus
=
true
;
});
}
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment