Browse Source

优化检验项目保存接口变动

master
李磊 3 years ago
parent
commit
d4ad42cf39
  1. 7
      src/views/ysjl/1000/common/sz/gyscl.vue

7
src/views/ysjl/1000/common/sz/gyscl.vue

@ -725,15 +725,18 @@ export default {
if (valid) { if (valid) {
const tableData = [] // const tableData = [] //
tableData.push(this.getProp(operation)) tableData.push(this.getProp(operation))
const jyxm = JSON.stringify([tableData])
this.api({ this.api({
url: '/ysjl', url: '/ysjl',
method: type, method: type,
data: { data: {
ysjl: this.ysjl, ysjl: this.ysjl,
param: this.param, param: this.param,
jyxm: JSON.stringify(tableData), cyJyxm: {
jyxm: jyxm,
fbjyxm: JSON.stringify(this.yqsbData), fbjyxm: JSON.stringify(this.yqsbData),
bgjyxm: JSON.stringify([this.tableData]), bgjyxm: jyxm
},
flag: operation flag: operation
} }
}).then(data => { }).then(data => {

Loading…
Cancel
Save