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

ok

parent 369364b5
...@@ -252,7 +252,7 @@ export default { ...@@ -252,7 +252,7 @@ export default {
{ {
//this.formValidate1.id= //this.formValidate1.id=
} }
service.post(`${url}`,JSON.stringify({Dictionary:this.formValidate1})).then(response=>{ service.post(`${url}`,{Dictionary:this.formValidate1}).then(response=>{
if(response.success){ if(response.success){
this.$Message.success('保存成功') this.$Message.success('保存成功')
this.loaddata(this.model1) this.loaddata(this.model1)
......
...@@ -358,7 +358,7 @@ export default { ...@@ -358,7 +358,7 @@ export default {
this.formValidate1 = this.$refs.addpri.formValidate this.formValidate1 = this.$refs.addpri.formValidate
//console.log(this.formValidate1) //console.log(this.formValidate1)
service service
.post(`${url}`, JSON.stringify({ Privilege: this.formValidate1 })) .post(`${url}`, { Privilege: this.formValidate1 })
.then((response) => { .then((response) => {
if (response.success) { if (response.success) {
......
...@@ -574,14 +574,12 @@ export default { ...@@ -574,14 +574,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.curId, userId: this.curId,
RoleIds: this.allChecked.join(",") RoleIds: this.allChecked.join(",")
} }
}) })
)
.then(response => { .then(response => {
if (response.success) { if (response.success) {
this.$Message.success("保存成功"); this.$Message.success("保存成功");
......
...@@ -485,7 +485,7 @@ export default { ...@@ -485,7 +485,7 @@ export default {
saveOk() { saveOk() {
var url = `${designUrl}/unqualifiedorder/createorupdate`; var url = `${designUrl}/unqualifiedorder/createorupdate`;
service service
.post(`${url}`, JSON.stringify({ unqualifiedOrder: this.formdata })) .post(`${url}`, { unqualifiedOrder: this.formdata })
.then(res => { .then(res => {
console.log(res); console.log(res);
if (res.success) { if (res.success) {
......
...@@ -102,11 +102,9 @@ export default { ...@@ -102,11 +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) {
} }
......
...@@ -681,12 +681,10 @@ export default { ...@@ -681,12 +681,10 @@ export default {
// JSON.stringify({Process:this.formValidate}) // 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) {
......
...@@ -419,11 +419,9 @@ export default { ...@@ -419,11 +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) {
this.$Message.success('保存成功') this.$Message.success('保存成功')
......
...@@ -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) {
......
...@@ -350,11 +350,10 @@ this.formValidate.product_handover_date =new Date(); ...@@ -350,11 +350,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) {
......
...@@ -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;
......
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