Browse Source

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

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

9
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: {
fbjyxm: JSON.stringify(this.yqsbData), jyxm: jyxm,
bgjyxm: JSON.stringify([this.tableData]), fbjyxm: JSON.stringify(this.yqsbData),
bgjyxm: jyxm
},
flag: operation flag: operation
} }
}).then(data => { }).then(data => {

Loading…
Cancel
Save