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
d9c76614
Commit
d9c76614
authored
Jun 24, 2020
by
仇晓婷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'product' of
http://git.mes123.com/zhouyx/mes-ui
into product
parents
c3d1801e
8193c594
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
60 additions
and
49 deletions
+60
-49
dataGrid.vue
components/page/dataGrid.vue
+39
-22
product.vue
layouts/basic-layout/product.vue
+1
-0
package-lock.json
package-lock.json
+0
-10
check.vue
pages/aps/aps/components/check.vue
+2
-2
index.vue
pages/aps/aps/index.vue
+1
-1
index.vue
pages/aps/plan/index.vue
+2
-1
datalist.vue
pages/dncmnc/dnc/datalist.vue
+2
-2
dispatch.less
pages/dncmnc/dnc/dispatch.less
+1
-0
detail.vue
pages/handle/examine2/detail.vue
+1
-1
detail.vue
pages/handle/examine3/detail.vue
+2
-2
index.vue
pages/handle/examine3/index.vue
+1
-1
shen.less
pages/handle/shen.less
+1
-0
index.vue
pages/materiel/codeRule/index.vue
+1
-1
index.vue
pages/order/monitoring/index.vue
+1
-1
metalDetailsExamine.vue
pages/order/quotation/components/metalDetailsExamine.vue
+1
-1
index.vue
pages/qc/check/index.vue
+2
-2
index.vue
pages/resource/order/index.vue
+1
-1
index.vue
pages/resourceManagement/productionResources/index.vue
+1
-1
No files found.
components/page/dataGrid.vue
View file @
d9c76614
...
...
@@ -3,18 +3,26 @@
<div
class=
"table-tools"
v-if=
"tool"
>
<div
class=
"table-search"
v-if=
"easy"
>
<slot
name=
"easySearch"
>
<Input
search
enter-button
:placeholder=
"placeholder"
@
on-search=
"easySearch"
v-model=
"keys"
/>
<Form
inline
>
<FormItem>
<Input
search
enter-button
:placeholder=
"placeholder"
@
on-search=
"easySearch"
v-width=
"300"
v-model=
"keys"
/>
</FormItem>
<FormItem>
<Button
v-if=
"high"
@
click=
"modalSearch=true"
type=
"text"
>
<Icon
type=
"md-search"
/>
高级
</Button>
</FormItem>
</Form>
</slot>
<Button
v-if=
"high"
@
click=
"modalSearch=true"
type=
"text"
>
<Icon
type=
"md-search"
/>
高级
</Button>
</div>
<div
class=
"searchBack"
>
<slot
name=
"searchBack"
></slot>
</div>
...
...
@@ -269,14 +277,23 @@ export default {
}
else
{
this
.
easySearch
();
}
console
.
warn
(
"this.$refs.main.clientX"
,
this
.
$refs
.
main
.
offsetTop
,
this
.
$refs
.
main
.
offsetHeight
)
if
(
this
.
height
===
0
)
{
this
.
$nextTick
(()
=>
{
this
.
tableHeight
=
this
.
$refs
.
main
.
offsetHeight
;
this
.
tableHeight
=
this
.
$refs
.
main
.
offsetHeight
;
if
(
this
.
tableHeight
<
300
)
{
this
.
tableHeight
=
window
.
screen
.
availHeight
-
this
.
$refs
.
main
.
offsetTop
-
200
;
}
console
.
warn
(
"this.$refs.main.VVV"
,
this
.
tableHeight
)
window
.
onresize
=
()
=>
{
///浏览器窗口大小变化
return
(()
=>
{
console
.
warn
(
"fasfas"
,
this
.
$refs
.
main
)
// this.tableHeight = this.$refs.main.offsetHeight;
console
.
warn
(
123
)
this
.
tableHeight
=
this
.
$refs
.
main
.
offsetHeight
;
if
(
this
.
tableHeight
<
300
)
{
this
.
tableHeight
=
window
.
screen
.
availHeight
-
this
.
$refs
.
main
.
offsetTop
-
150
;
}
console
.
warn
(
"this.$refs.main.tableHeight"
,
this
.
tableHeight
)
})();
};
});
...
...
@@ -291,7 +308,7 @@ export default {
},
methods
:
{
//数据加载
load
()
{
load
()
{
if
(
this
.
action
)
{
//条件初始化处理。
if
(
this
.
initsearch
)
{
...
...
@@ -427,7 +444,7 @@ export default {
let
v
=
conditions
[
u
].
value
;
let
op
=
conditions
[
u
].
op
;
if
(
!
this
.
$u
.
isNull
(
v
))
{
if
(
op
==
"Range"
&&
Array
.
isArray
(
v
))
{
if
(
op
==
"Range"
&&
Array
.
isArray
(
v
))
{
let
times
=
[];
v
.
map
(
u
=>
{
if
(
!
this
.
$u
.
isNull
(
u
))
{
...
...
@@ -435,7 +452,7 @@ export default {
}
});
v
=
times
.
join
(
","
);
}
else
if
(
op
.
indexOf
(
"In"
)
>
-
1
&&
Array
.
isArray
(
v
))
{
}
else
if
(
op
.
indexOf
(
"In"
)
>
-
1
&&
Array
.
isArray
(
v
))
{
v
=
v
.
join
(
","
);
}
if
(
!
this
.
$u
.
isNull
(
v
))
{
...
...
@@ -543,13 +560,13 @@ export default {
height
()
{
this
.
tableHeight
=
this
.
height
;
},
"columns.length"
(){
"columns.length"
()
{
this
.
columns
.
forEach
(
u
=>
{
if
(
!
u
.
hide
)
{
u
.
hide
=
false
;
}
});
this
.
columnsCur
=
this
.
$u
.
clone
(
this
.
columns
);
if
(
!
u
.
hide
)
{
u
.
hide
=
false
;
}
});
this
.
columnsCur
=
this
.
$u
.
clone
(
this
.
columns
);
}
}
};
...
...
layouts/basic-layout/product.vue
View file @
d9c76614
...
...
@@ -359,6 +359,7 @@ export default {
.product-layout {
.i-layout-content {
padding: 5px 10px;
height: calc(100vh - 100px);
}
.i-tabs {
width: 100% !important;
...
...
package-lock.json
View file @
d9c76614
...
...
@@ -22420,13 +22420,8 @@
},
"vue-slider-component"
:
{
"version"
:
"3.1.5"
,
<<<<<<<
HEAD
"resolved"
:
"https://registry.npmjs.org/vue-slider-component/-/vue-slider-component-3.1.5.tgz"
,
"integrity"
:
"sha512-RIDL2cjIfSMKxv7IeNQ5gn936SAaLi+UKc97xd8yN92zz0n5dK343GGSay/3ypzhR1C5YIN3n7/LclUQrIDoFg=="
,
=======
"resolved"
:
"https://registry.npm.taobao.org/vue-slider-component/download/vue-slider-component-3.1.5.tgz?cache=0&sync_timestamp=1590980161427&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-slider-component%2Fdownload%2Fvue-slider-component-3.1.5.tgz"
,
"integrity"
:
"sha1-2a1vGhBcigp7cvW4+VZW0HuOTDY="
,
>>>>>>>
07734
a
85
a
7
ff
7845
f
4
f
995
bf
7879
d
342
b
5
bda
7
d
3
"requires"
:
{
"core-js"
:
"^3.6.5"
,
"vue-property-decorator"
:
"^8.0.0"
...
...
@@ -22434,13 +22429,8 @@
"dependencies"
:
{
"core-js"
:
{
"version"
:
"3.6.5"
,
<<<<<<<
HEAD
"resolved"
:
"https://registry.npmjs.org/core-js/-/core-js-3.6.5.tgz"
,
"integrity"
:
"sha512-vZVEEwZoIsI+vPEuoF9Iqf5H7/M3eeQqWlQnYa8FSKKePuYTf5MWnxb5SDAzCa60b3JBRS5g9b+Dq7b1y/RCrA=="
=======
"resolved"
:
"https://registry.npm.taobao.org/core-js/download/core-js-3.6.5.tgz"
,
"integrity"
:
"sha1-c5XcJzrzf7LlDpvT2f6EEoUjHRo="
>>>>>>>
07734
a
85
a
7
ff
7845
f
4
f
995
bf
7879
d
342
b
5
bda
7
d
3
}
}
},
...
...
pages/aps/aps/components/check.vue
View file @
d9c76614
...
...
@@ -32,14 +32,14 @@ export default {
default
:()
=>
{
return
{
res
:
true
,
datas
:
{}
,
datas
:
'{}'
,
}
}
},
computed
:{
list
(){
var
data
=
{};
if
(
this
.
data
.
datas
){
if
(
this
.
data
.
datas
!=
''
){
var
item
=
JSON
.
parse
(
this
.
data
.
datas
);
for
(
var
key
in
item
)
{
...
...
pages/aps/aps/index.vue
View file @
d9c76614
...
...
@@ -129,7 +129,7 @@ export default {
},
result
:
{
res
:
true
,
datas
:
{}
datas
:
'{}'
},
resultModal
:
false
,
entity
:
{
...
...
pages/aps/plan/index.vue
View file @
d9c76614
<
template
>
<div
class=
"
myBug
"
>
<div
class=
"
h100
"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
...
...
@@ -15,6 +15,7 @@
enter-button
placeholder=
"请输入关键字订单编号/项目名称"
v-model=
"easySearch.keys.value"
v-width=
"300"
@
on-search=
"search"
/>
</FormItem>
...
...
pages/dncmnc/dnc/datalist.vue
View file @
d9c76614
...
...
@@ -33,8 +33,8 @@
<p
class=
"show_btn"
>
<a
@
click=
"showRow(item.id,item.btnShow)"
>
<Tooltip
content=
"所属程序列表"
>
<Icon
v-if=
"item.btnShow"
type=
"ios-arrow-
down
"
/>
<Icon
v-else
type=
"ios-arrow-
up
"
/>
<Icon
v-if=
"item.btnShow"
type=
"ios-arrow-
up
"
/>
<Icon
v-else
type=
"ios-arrow-
down
"
/>
</Tooltip>
</a>
</p>
...
...
pages/dncmnc/dnc/dispatch.less
View file @
d9c76614
...
...
@@ -47,6 +47,7 @@
padding: 0 10px 0;
}
.h60{
border-top: 1px solid #e2e1e1e0;
.card_body02{
padding: 0 10px 0;
margin: 4px 0;
...
...
pages/handle/examine2/detail.vue
View file @
d9c76614
<
template
>
<div
class=
"detail
"
style=
"width:80%;margin:0 auto
"
>
<div
class=
"detail
table-detail
"
>
<Row>
<Metal-Details
ref=
"metalDetail"
...
...
pages/handle/examine3/detail.vue
View file @
d9c76614
...
...
@@ -2,7 +2,7 @@
@import '../../processDesign/Process/menu.less';
</
style
>
<
template
>
<div
class=
"outP
"
style=
"width:80%;margin:0 auto
"
>
<div
class=
"outP
table-detail
"
>
<Processview
ref=
"processview"
:isoutpdf=
"false"
></Processview>
</div>
</
template
>
...
...
@@ -14,7 +14,7 @@ export default {
name
:
'detail'
,
components
:
{
Processview
},
},
props
:
{
idVal
:
{
type
:
String
,
...
...
pages/handle/examine3/index.vue
View file @
d9c76614
<
template
>
<div
style=
"padding:30px 0"
>
<Detail
:idVal=
"detailId"
/>
<Process
ref=
"userProcess"
:idVal=
"detailId"
style=
"width:80%"
/>
<Process
ref=
"userProcess"
:idVal=
"detailId"
/>
<div
class=
"footers"
v-if=
"footerStatu === '2'"
style=
"text-align:left;"
>
<Form
:model=
"formMyCheck"
...
...
pages/handle/shen.less
View file @
d9c76614
...
...
@@ -8,6 +8,7 @@
padding: 20px 100px;
display: block;
width: 98%;
background: #fff;
margin: 0 auto;
box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.16);
.ivu-row .filed-col > .label{
...
...
pages/materiel/codeRule/index.vue
View file @
d9c76614
<
template
>
<div>
<div
class=
"h100"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
><template
slot=
"easySearch"
><Form
ref=
"formInline"
:model=
"easySearch"
inline
><FormItem
prop=
"keys"
><Input
placeholder=
"请输入关键字编码/名称"
v-model=
"easySearch.keys.value"
/>
</FormItem>
<FormItem><Button
type=
"primary"
@
click=
"search"
>
查询
</Button></FormItem>
</Form></
template
>
...
...
pages/order/monitoring/index.vue
View file @
d9c76614
<
template
>
<div
class=
"monitoring"
>
<div
class=
"monitoring
h100
"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
style=
"margin-top:5px;"
>
...
...
pages/order/quotation/components/metalDetailsExamine.vue
View file @
d9c76614
<
template
>
<div
class=
"metal-details"
>
>
<div
class=
"metal-details"
>
<div
class=
"outPdf"
>
<div
class=
"body-box"
>
<div
class=
"bj-box"
>
...
...
pages/qc/check/index.vue
View file @
d9c76614
...
...
@@ -4,8 +4,8 @@
}
</
style
>
<
template
>
<div
class=
"content manyTabs"
>
<Tabs
value=
"Powder"
@
on-click=
'changeTab'
>
<div
class=
"content manyTabs
h100
"
>
<Tabs
value=
"Powder"
@
on-click=
'changeTab'
class=
"h100"
>
<TabPane
label=
"待复验"
name=
"Powder"
>
<waitReview
ref=
"waitReview"
style=
"margin-top: 45px;"
/>
</TabPane>
...
...
pages/resource/order/index.vue
View file @
d9c76614
<
template
>
<div>
<div
class=
"h100"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
:action=
"action"
@
on-expand=
"show"
>
<template
slot=
"easySearch"
>
<Form
ref=
"formInline"
:model=
"easySearch"
inline
>
...
...
pages/resourceManagement/productionResources/index.vue
View file @
d9c76614
<
template
>
<div
class=
"resources-p"
>
<div
class=
"resources-p
h100
"
>
<DataGrid
:columns=
"columns"
ref=
"grid"
...
...
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