Commit cc41c501 authored by 周远喜's avatar 周远喜

ok

parent 369364b5
......@@ -252,7 +252,7 @@ export default {
{
//this.formValidate1.id=
}
service.post(`${url}`,JSON.stringify({Dictionary:this.formValidate1})).then(response=>{
service.post(`${url}`,{Dictionary:this.formValidate1}).then(response=>{
if(response.success){
this.$Message.success('保存成功')
this.loaddata(this.model1)
......
......@@ -358,7 +358,7 @@ export default {
this.formValidate1 = this.$refs.addpri.formValidate
//console.log(this.formValidate1)
service
.post(`${url}`, JSON.stringify({ Privilege: this.formValidate1 }))
.post(`${url}`, { Privilege: this.formValidate1 })
.then((response) => {
if (response.success) {
......
......@@ -574,14 +574,12 @@ export default {
var url = `${systemUrl}/MyUserRole/CreateOrUpdate`;
service
.post(
`${url}`,
JSON.stringify({
`${url}`,{
myUserRole: {
userId: this.curId,
RoleIds: this.allChecked.join(",")
}
})
)
})
.then(response => {
if (response.success) {
this.$Message.success("保存成功");
......
......@@ -485,7 +485,7 @@ export default {
saveOk() {
var url = `${designUrl}/unqualifiedorder/createorupdate`;
service
.post(`${url}`, JSON.stringify({ unqualifiedOrder: this.formdata }))
.post(`${url}`, { unqualifiedOrder: this.formdata })
.then(res => {
console.log(res);
if (res.success) {
......
......@@ -102,11 +102,9 @@ export default {
service
.post(
`${url}`,
JSON.stringify({
`${url}`,{
routingFile: dataValidate
})
)
})
.then((response) => {
if (response.success) {
}
......
......@@ -681,12 +681,10 @@ export default {
// JSON.stringify({Process:this.formValidate})
service
.post(
`${url}`,
JSON.stringify({
`${url}`,{
routingHeaderEntity: a.formValidate,
FileList: filelist
})
)
})
.then((response) => {
if (response.success) {
if (!next) {
......
......@@ -419,11 +419,9 @@ export default {
service
.post(
`${url}`,
JSON.stringify({
`${url}`,{
routingDetail: this.formprocessValidate
})
)
.then((response) => {
if (response.success) {
this.$Message.success('保存成功')
......
......@@ -335,11 +335,10 @@ this.isadd03=false;
service
.post(
`${url}`,
JSON.stringify({
`${url}`,{
orderBill: this.formValidate,
orderBillLlist: orderBillLlist
})
}
)
.then((response) => {
if (response.success) {
......
......@@ -350,11 +350,10 @@ this.formValidate.product_handover_date =new Date();
service
.post(
`${url}`,
JSON.stringify({
`${url}`,{
orderBill: this.formValidate,
orderBillLlist: orderBillLlist
})
}
)
.then((response) => {
if (response.success) {
......
......@@ -372,7 +372,7 @@ export default {
// "handling_opinions_id": 0,
};
console.log(paramsdata);
service.post(`${url}`, JSON.stringify({routingHeaderChangeorder: paramsdata})).then(res=>{
service.post(`${url}`, {routingHeaderChangeorder: paramsdata}).then(res=>{
if(res.success) {
this.$Message.success('新增成功')
this.modelChange = false;
......@@ -417,7 +417,7 @@ export default {
// "handling_opinions_id": 0,
};
console.log(paramsdata);
service.post(`${url}`, JSON.stringify({routingHeaderChangeorder: paramsdata})).then(res=>{
service.post(`${url}`,{routingHeaderChangeorder: paramsdata}).then(res=>{
if(res.success) {
this.$Message.success('编辑成功')
this.modelChange = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment