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
00540e2a
Commit
00540e2a
authored
Apr 02, 2020
by
周远喜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JSON.stringify( 传参bug处理
parent
76833b00
Hide whitespace changes
Inline
Side-by-side
Showing
24 changed files
with
48 additions
and
73 deletions
+48
-73
index.vue
pages/basicData/userManagent/index.vue
+2
-3
index.vue
pages/mordent/dispose/index.vue
+2
-3
index.vue
.../processDesign/ChangeSingle/processchangesingle/index.vue
+2
-2
techSendReview.vue
...ign/ChangeSingle/technicalcoordination/techSendReview.vue
+2
-2
changeSendReview.vue
pages/processDesign/Process/changeSendReview.vue
+1
-2
detailfiles.vue
pages/processDesign/Process/detailfiles.vue
+2
-3
index.vue
pages/processDesign/Process/index.vue
+1
-4
processNew.vue
pages/processDesign/Process/processNew.vue
+2
-3
quotationBox2.vue
pages/processDesign/Process/quotationBox2.vue
+2
-3
quotationBox3.vue
pages/processDesign/Process/quotationBox3.vue
+2
-2
routingchangeorder.vue
pages/processDesign/Process/routingchangeorder.vue
+6
-6
stepModel.vue
pages/processDesign/Process/stepModel.vue
+4
-6
testingModel.vue
pages/processDesign/Process/testingModel.vue
+2
-2
orderData.vue
pages/processDesign/setProcess/components/orderData.vue
+2
-3
orderMaterial.vue
pages/processDesign/setProcess/components/orderMaterial.vue
+2
-3
index.vue
pages/processDesign/setProcess/index.vue
+4
-8
index.vue
pages/processManage/Process/index.vue
+0
-1
stepModel.vue
pages/processManage/Process/stepModel.vue
+2
-3
orderData.vue
pages/processManage/setProcess/components/orderData.vue
+2
-3
orderMaterial.vue
pages/processManage/setProcess/components/orderMaterial.vue
+2
-3
index.vue
pages/processManage/setProcess/index.vue
+0
-3
dispatched.vue
pages/qc/dataTrace/components/dispatched.vue
+0
-1
newEquipment.vue
...ceManagement/deviceManagement/components/newEquipment.vue
+2
-2
newEquipment.vue
...Management/deviceManagementCP/components/newEquipment.vue
+2
-2
No files found.
pages/basicData/userManagent/index.vue
View file @
00540e2a
...
@@ -781,13 +781,12 @@ export default {
...
@@ -781,13 +781,12 @@ export default {
var
url
=
`
${
systemUrl
}
/MyUserRole/CreateOrUpdate`
var
url
=
`
${
systemUrl
}
/MyUserRole/CreateOrUpdate`
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
{
JSON
.
stringify
({
myUserRole
:
{
myUserRole
:
{
userId
:
this
.
selectedRow
.
id
,
userId
:
this
.
selectedRow
.
id
,
RoleIds
:
this
.
allChecked
.
join
(
','
)
RoleIds
:
this
.
allChecked
.
join
(
','
)
}
}
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/mordent/dispose/index.vue
View file @
00540e2a
...
@@ -383,10 +383,9 @@ export default {
...
@@ -383,10 +383,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
routingQcCard
:
this
.
cardModeldata
routingQcCard
:
this
.
cardModeldata
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processDesign/ChangeSingle/processchangesingle/index.vue
View file @
00540e2a
...
@@ -404,7 +404,7 @@ export default {
...
@@ -404,7 +404,7 @@ export default {
"equip_type_name"
:
this
.
formItem
.
equip_type_name
,
"equip_type_name"
:
this
.
formItem
.
equip_type_name
,
"notes"
:
this
.
formItem
.
notes
,
"notes"
:
this
.
formItem
.
notes
,
};
};
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
equipType
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
equipType
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
laodaction
();
this
.
laodaction
();
this
.
$Message
.
success
(
'编辑成功'
)
this
.
$Message
.
success
(
'编辑成功'
)
...
@@ -427,7 +427,7 @@ export default {
...
@@ -427,7 +427,7 @@ export default {
"equip_type_name"
:
this
.
formItem
.
equip_type_name
,
"equip_type_name"
:
this
.
formItem
.
equip_type_name
,
"notes"
:
this
.
formItem
.
notes
,
"notes"
:
this
.
formItem
.
notes
,
};
};
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
equipType
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
equipType
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
laodaction
();
this
.
laodaction
();
this
.
$Message
.
success
(
'新增成功'
)
this
.
$Message
.
success
(
'新增成功'
)
...
...
pages/processDesign/ChangeSingle/technicalcoordination/techSendReview.vue
View file @
00540e2a
...
@@ -131,13 +131,13 @@ export default {
...
@@ -131,13 +131,13 @@ export default {
// service
// service
// .post(
// .post(
// `${url}`,
// `${url}`,
//
JSON.stringify(
{
// {
// idList: [this.data3[0].id],
// idList: [this.data3[0].id],
// schemaId: '2c921502-41a2-4fa5-b659-71d0e1e19ffc',
// schemaId: '2c921502-41a2-4fa5-b659-71d0e1e19ffc',
// operatorIdList: this.userlist,
// operatorIdList: this.userlist,
// data: {},
// data: {},
// userId: 0
// userId: 0
// }
)
// }
// )
// )
// .then((response) => {
// .then((response) => {
// if (response.success) {
// if (response.success) {
...
...
pages/processDesign/Process/changeSendReview.vue
View file @
00540e2a
...
@@ -131,14 +131,13 @@ export default {
...
@@ -131,14 +131,13 @@ export default {
// service
// service
// .post(
// .post(
// `${url}`,
// `${url}`,
//
JSON.stringify(
{
// {
// idList: [this.data3[0].id],
// idList: [this.data3[0].id],
// schemaId: 'd0cdafe3-2341-4499-a4f5-278ef0f30740',
// schemaId: 'd0cdafe3-2341-4499-a4f5-278ef0f30740',
// operatorIdList: this.userlist,
// operatorIdList: this.userlist,
// data: {},
// data: {},
// userId: 0
// userId: 0
// })
// })
// )
// .then((response) => {
// .then((response) => {
// if (response.success) {
// if (response.success) {
// this.$Message.success('送审成功')
// this.$Message.success('送审成功')
...
...
pages/processDesign/Process/detailfiles.vue
View file @
00540e2a
...
@@ -102,10 +102,9 @@ export default {
...
@@ -102,10 +102,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
routingFile
:
dataValidate
routingFile
:
dataValidate
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processDesign/Process/index.vue
View file @
00540e2a
...
@@ -678,15 +678,12 @@ export default {
...
@@ -678,15 +678,12 @@ export default {
}
}
if
(
a
.
formValidate
.
code
!=
null
)
{
if
(
a
.
formValidate
.
code
!=
null
)
{
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
routingHeaderEntity
:
a
.
formValidate
,
routingHeaderEntity
:
a
.
formValidate
,
FileList
:
filelist
FileList
:
filelist
})
})
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
if
(
!
next
)
{
if
(
!
next
)
{
...
...
pages/processDesign/Process/processNew.vue
View file @
00540e2a
...
@@ -419,10 +419,9 @@ export default {
...
@@ -419,10 +419,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
routingDetail
:
this
.
formprocessValidate
routingDetail
:
this
.
formprocessValidate
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processDesign/Process/quotationBox2.vue
View file @
00540e2a
...
@@ -335,11 +335,10 @@ this.isadd03=false;
...
@@ -335,11 +335,10 @@ this.isadd03=false;
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
orderBill
:
this
.
formValidate
,
orderBill
:
this
.
formValidate
,
orderBillLlist
:
orderBillLlist
orderBillLlist
:
orderBillLlist
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processDesign/Process/quotationBox3.vue
View file @
00540e2a
...
@@ -351,10 +351,10 @@ this.formValidate.product_handover_date =new Date();
...
@@ -351,10 +351,10 @@ this.formValidate.product_handover_date =new Date();
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
orderBill
:
this
.
formValidate
,
orderBill
:
this
.
formValidate
,
orderBillLlist
:
orderBillLlist
orderBillLlist
:
orderBillLlist
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processDesign/Process/routingchangeorder.vue
View file @
00540e2a
...
@@ -372,7 +372,7 @@ export default {
...
@@ -372,7 +372,7 @@ export default {
// "handling_opinions_id": 0,
// "handling_opinions_id": 0,
};
};
console
.
log
(
paramsdata
);
console
.
log
(
paramsdata
);
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
routingHeaderChangeorder
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
routingHeaderChangeorder
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
'新增成功'
)
this
.
$Message
.
success
(
'新增成功'
)
this
.
modelChange
=
false
;
this
.
modelChange
=
false
;
...
@@ -417,7 +417,7 @@ export default {
...
@@ -417,7 +417,7 @@ export default {
// "handling_opinions_id": 0,
// "handling_opinions_id": 0,
};
};
console
.
log
(
paramsdata
);
console
.
log
(
paramsdata
);
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
routingHeaderChangeorder
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
routingHeaderChangeorder
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$Message
.
success
(
'编辑成功'
)
this
.
$Message
.
success
(
'编辑成功'
)
this
.
modelChange
=
false
;
this
.
modelChange
=
false
;
...
@@ -444,13 +444,13 @@ export default {
...
@@ -444,13 +444,13 @@ export default {
// service
// service
// .post(
// .post(
// `${url}`,
// `${url}`,
//
JSON.stringify(
{
// {
// idList: [this.data3[0].id],
// idList: [this.data3[0].id],
// schemaId: 'd0cdafe3-2341-4499-a4f5-278ef0f30740',
// schemaId: 'd0cdafe3-2341-4499-a4f5-278ef0f30740',
// operatorIdList: this.userlist,
// operatorIdList: this.userlist,
// data: {},
// data: {},
// userId: 0
// userId: 0
// }
)
// }
// )
// )
// .then((response) => {
// .then((response) => {
// if (response.success) {
// if (response.success) {
...
@@ -478,13 +478,13 @@ export default {
...
@@ -478,13 +478,13 @@ export default {
// service
// service
// .post(
// .post(
// `${url}`,
// `${url}`,
//
JSON.stringify(
{
// {
// idList: [this.data3[0].id],
// idList: [this.data3[0].id],
// schemaId: 'd0cdafe3-2341-4499-a4f5-278ef0f30740',
// schemaId: 'd0cdafe3-2341-4499-a4f5-278ef0f30740',
// operatorIdList: this.userlist,
// operatorIdList: this.userlist,
// data: {},
// data: {},
// userId: 0
// userId: 0
// }
)
// }
// )
// )
// .then((response) => {
// .then((response) => {
// if (response.success) {
// if (response.success) {
...
...
pages/processDesign/Process/stepModel.vue
View file @
00540e2a
...
@@ -163,10 +163,9 @@ let isvalidate = false;
...
@@ -163,10 +163,9 @@ let isvalidate = false;
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
routingStep
:
this
.
newModeldata
routingStep
:
this
.
newModeldata
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -218,10 +217,9 @@ this.newModeldata.name="";
...
@@ -218,10 +217,9 @@ this.newModeldata.name="";
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
routingStep
:
this
.
data01
[
index
]
routingStep
:
this
.
data01
[
index
]
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processDesign/Process/testingModel.vue
View file @
00540e2a
...
@@ -348,9 +348,9 @@ export default {
...
@@ -348,9 +348,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingQcCard
:
this
.
cardModeldata
routingQcCard
:
this
.
cardModeldata
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processDesign/setProcess/components/orderData.vue
View file @
00540e2a
...
@@ -226,10 +226,9 @@ export default {
...
@@ -226,10 +226,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
orderDataReview
:
this
.
formValidate
orderDataReview
:
this
.
formValidate
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
)
console
.
log
(
response
)
...
...
pages/processDesign/setProcess/components/orderMaterial.vue
View file @
00540e2a
...
@@ -648,11 +648,10 @@ this.formValidate.productingPreparationPeople=this.productingPreparationPeople;
...
@@ -648,11 +648,10 @@ this.formValidate.productingPreparationPeople=this.productingPreparationPeople;
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
orderMaterial
:
this
.
formValidate
,
orderMaterial
:
this
.
formValidate
,
orderMaterialList
:
this
.
formValidate1
orderMaterialList
:
this
.
formValidate1
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
let
itemId
=
response
.
result
.
orderMaterial
.
id
let
itemId
=
response
.
result
.
orderMaterial
.
id
...
...
pages/processDesign/setProcess/index.vue
View file @
00540e2a
...
@@ -1303,14 +1303,13 @@ export default {
...
@@ -1303,14 +1303,13 @@ export default {
if
(
a
.
formValidate
.
code
!=
null
)
{
if
(
a
.
formValidate
.
code
!=
null
)
{
let
orders
=
a
.
dataTop
let
orders
=
a
.
dataTop
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
JSON
.
stringify
(
{
{
routingHeaderEntity
:
a
.
formValidate
,
routingHeaderEntity
:
a
.
formValidate
,
FileList
:
filelist
FileList
:
filelist
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -1427,13 +1426,11 @@ export default {
...
@@ -1427,13 +1426,11 @@ export default {
}
}
var
url
=
`
${
designUrl
}
/orderrouting/createorupdate`
var
url
=
`
${
designUrl
}
/orderrouting/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
orderRouting
:
orderRoutingobj
orderRouting
:
orderRoutingobj
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
@@ -1502,7 +1499,6 @@ export default {
...
@@ -1502,7 +1499,6 @@ export default {
},
},
saveOK
()
{
saveOK
()
{
var
url
=
`
${
PlanUrl
}
/OrderMaterial/createorupdate`
var
url
=
`
${
PlanUrl
}
/OrderMaterial/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
`
${
url
}
`
,{
orderMaterial
:
this
.
formValidate
})
.
post
(
`
${
url
}
`
,{
orderMaterial
:
this
.
formValidate
})
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
...
...
pages/processManage/Process/index.vue
View file @
00540e2a
...
@@ -668,7 +668,6 @@ export default {
...
@@ -668,7 +668,6 @@ export default {
}
}
if
(
a
.
formValidate
.
code
!=
null
)
{
if
(
a
.
formValidate
.
code
!=
null
)
{
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
...
...
pages/processManage/Process/stepModel.vue
View file @
00540e2a
...
@@ -225,10 +225,9 @@ this.newModeldata.name="";
...
@@ -225,10 +225,9 @@ this.newModeldata.name="";
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
routingStep
:
this
.
data01
[
index
]
routingStep
:
this
.
data01
[
index
]
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
if
(
response
.
success
)
{
if
(
response
.
success
)
{
...
...
pages/processManage/setProcess/components/orderData.vue
View file @
00540e2a
...
@@ -226,10 +226,9 @@ export default {
...
@@ -226,10 +226,9 @@ export default {
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
orderDataReview
:
this
.
formValidate
orderDataReview
:
this
.
formValidate
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
console
.
log
(
response
)
console
.
log
(
response
)
...
...
pages/processManage/setProcess/components/orderMaterial.vue
View file @
00540e2a
...
@@ -648,11 +648,10 @@ this.formValidate.productingPreparationPeople=this.productingPreparationPeople;
...
@@ -648,11 +648,10 @@ this.formValidate.productingPreparationPeople=this.productingPreparationPeople;
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,{
JSON
.
stringify
({
orderMaterial
:
this
.
formValidate
,
orderMaterial
:
this
.
formValidate
,
orderMaterialList
:
this
.
formValidate1
orderMaterialList
:
this
.
formValidate1
}
)
}
)
)
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
let
itemId
=
response
.
result
.
orderMaterial
.
id
let
itemId
=
response
.
result
.
orderMaterial
.
id
...
...
pages/processManage/setProcess/index.vue
View file @
00540e2a
...
@@ -1084,7 +1084,6 @@ export default {
...
@@ -1084,7 +1084,6 @@ export default {
if
(
a
.
formValidate
.
code
!=
null
)
{
if
(
a
.
formValidate
.
code
!=
null
)
{
let
orders
=
a
.
dataTop
let
orders
=
a
.
dataTop
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
var
url
=
`
${
designUrl
}
/routingheader/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
...
@@ -1206,7 +1205,6 @@ export default {
...
@@ -1206,7 +1205,6 @@ export default {
}
}
var
url
=
`
${
designUrl
}
/orderrouting/createorupdate`
var
url
=
`
${
designUrl
}
/orderrouting/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
.
post
(
`
${
url
}
`
,
`
${
url
}
`
,
...
@@ -1278,7 +1276,6 @@ export default {
...
@@ -1278,7 +1276,6 @@ export default {
saveOK
()
{
saveOK
()
{
var
url
=
`
${
PlanUrl
}
/OrderMaterial/createorupdate`
var
url
=
`
${
PlanUrl
}
/OrderMaterial/createorupdate`
// JSON.stringify({Process:this.formValidate})
service
service
.
post
(
`
${
url
}
`
,
{
orderMaterial
:
this
.
formValidate
})
.
post
(
`
${
url
}
`
,
{
orderMaterial
:
this
.
formValidate
})
.
then
((
response
)
=>
{
.
then
((
response
)
=>
{
...
...
pages/qc/dataTrace/components/dispatched.vue
View file @
00540e2a
...
@@ -311,7 +311,6 @@ export default {
...
@@ -311,7 +311,6 @@ export default {
]
]
}
}
let
url02
=
`
${
resourceUrl
}
/materialpowder/itempaged`
let
url02
=
`
${
resourceUrl
}
/materialpowder/itempaged`
// ,JSON.stringify({Dictionary:this.formValidate1})JSON.stringify(parme)
service
.
post
(
`
${
url02
}
`
,
parme
).
then
((
res
)
=>
{
service
.
post
(
`
${
url02
}
`
,
parme
).
then
((
res
)
=>
{
if
(
res
.
success
&&
res
.
result
.
totalCount
!=
0
)
{
if
(
res
.
success
&&
res
.
result
.
totalCount
!=
0
)
{
this
.
Powder
=
res
.
result
.
items
[
0
]
this
.
Powder
=
res
.
result
.
items
[
0
]
...
...
pages/resourceManagement/deviceManagement/components/newEquipment.vue
View file @
00540e2a
...
@@ -197,7 +197,7 @@ export default {
...
@@ -197,7 +197,7 @@ export default {
"eqstyle"
:
str
,
"eqstyle"
:
str
,
};
};
// console.log(paramsdata);
// console.log(paramsdata);
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
equipInfo
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
equipInfo
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$emit
(
'getMessage'
);
this
.
$emit
(
'getMessage'
);
this
.
modalShow
=
false
;
this
.
modalShow
=
false
;
...
@@ -229,7 +229,7 @@ export default {
...
@@ -229,7 +229,7 @@ export default {
"eqstyle"
:
str
,
"eqstyle"
:
str
,
};
};
//console.log(this.formItem.equip_type);
//console.log(this.formItem.equip_type);
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
equipInfo
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
equipInfo
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$emit
(
'getMessage'
);
this
.
$emit
(
'getMessage'
);
this
.
modalShow
=
false
;
this
.
modalShow
=
false
;
...
...
pages/resourceManagement/deviceManagementCP/components/newEquipment.vue
View file @
00540e2a
...
@@ -224,7 +224,7 @@ export default {
...
@@ -224,7 +224,7 @@ export default {
"capability_value"
:
this
.
formItem
.
capability_value
,
"capability_value"
:
this
.
formItem
.
capability_value
,
};
};
// console.log(paramsdata);
// console.log(paramsdata);
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
equipInfo
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
equipInfo
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$emit
(
'getMessage'
);
this
.
$emit
(
'getMessage'
);
this
.
modalShow
=
false
;
this
.
modalShow
=
false
;
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
};
};
//console.log(this.formItem.equip_type);
//console.log(this.formItem.equip_type);
service
.
post
(
`
${
url
}
`
,
JSON
.
stringify
({
equipInfo
:
paramsdata
})
).
then
(
res
=>
{
service
.
post
(
`
${
url
}
`
,
{
equipInfo
:
paramsdata
}
).
then
(
res
=>
{
if
(
res
.
success
)
{
if
(
res
.
success
)
{
this
.
$emit
(
'getMessage'
);
this
.
$emit
(
'getMessage'
);
this
.
modalShow
=
false
;
this
.
modalShow
=
false
;
...
...
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