Commit fd289ed3 by zhangchen

修改字段接口

parent d49db806
...@@ -1716,6 +1716,7 @@ ...@@ -1716,6 +1716,7 @@
"thread-loader": "^2.1.3", "thread-loader": "^2.1.3",
"url-loader": "^2.2.0", "url-loader": "^2.2.0",
"vue-loader": "^15.9.2", "vue-loader": "^15.9.2",
"vue-loader-v16": "npm:vue-loader@^16.0.0-beta.7",
"vue-style-loader": "^4.1.2", "vue-style-loader": "^4.1.2",
"webpack": "^4.0.0", "webpack": "^4.0.0",
"webpack-bundle-analyzer": "^3.8.0", "webpack-bundle-analyzer": "^3.8.0",
...@@ -8244,7 +8245,8 @@ ...@@ -8244,7 +8245,8 @@
"version": "2.2.2", "version": "2.2.2",
"resolved": "https://registry.npm.taobao.org/picomatch/download/picomatch-2.2.2.tgz", "resolved": "https://registry.npm.taobao.org/picomatch/download/picomatch-2.2.2.tgz",
"integrity": "sha1-IfMz6ba46v8CRo9RRupAbTRfTa0=", "integrity": "sha1-IfMz6ba46v8CRo9RRupAbTRfTa0=",
"dev": true "dev": true,
"optional": true
}, },
"pify": { "pify": {
"version": "4.0.1", "version": "4.0.1",
...@@ -11203,6 +11205,87 @@ ...@@ -11203,6 +11205,87 @@
} }
} }
}, },
"vue-loader-v16": {
"version": "npm:vue-loader@16.0.0-beta.9",
"resolved": "https://registry.npm.taobao.org/vue-loader/download/vue-loader-16.0.0-beta.9.tgz?cache=0&sync_timestamp=1603783124187&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fvue-loader%2Fdownload%2Fvue-loader-16.0.0-beta.9.tgz",
"integrity": "sha1-UlEsthwpaCfJnA1UOYvvhL5ESPw=",
"dev": true,
"optional": true,
"requires": {
"chalk": "^4.1.0",
"hash-sum": "^2.0.0",
"loader-utils": "^2.0.0"
},
"dependencies": {
"ansi-styles": {
"version": "4.3.0",
"resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-4.3.0.tgz",
"integrity": "sha1-7dgDYornHATIWuegkG7a00tkiTc=",
"dev": true,
"optional": true,
"requires": {
"color-convert": "^2.0.1"
}
},
"chalk": {
"version": "4.1.0",
"resolved": "https://registry.npm.taobao.org/chalk/download/chalk-4.1.0.tgz",
"integrity": "sha1-ThSHCmGNni7dl92DRf2dncMVZGo=",
"dev": true,
"optional": true,
"requires": {
"ansi-styles": "^4.1.0",
"supports-color": "^7.1.0"
}
},
"color-convert": {
"version": "2.0.1",
"resolved": "https://registry.npm.taobao.org/color-convert/download/color-convert-2.0.1.tgz",
"integrity": "sha1-ctOmjVmMm9s68q0ehPIdiWq9TeM=",
"dev": true,
"optional": true,
"requires": {
"color-name": "~1.1.4"
}
},
"color-name": {
"version": "1.1.4",
"resolved": "https://registry.npm.taobao.org/color-name/download/color-name-1.1.4.tgz",
"integrity": "sha1-wqCah6y95pVD3m9j+jmVyCbFNqI=",
"dev": true,
"optional": true
},
"has-flag": {
"version": "4.0.0",
"resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-4.0.0.tgz",
"integrity": "sha1-lEdx/ZyByBJlxNaUGGDaBrtZR5s=",
"dev": true,
"optional": true
},
"loader-utils": {
"version": "2.0.0",
"resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-2.0.0.tgz",
"integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=",
"dev": true,
"optional": true,
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
},
"supports-color": {
"version": "7.2.0",
"resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-7.2.0.tgz?cache=0&sync_timestamp=1598611719015&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-7.2.0.tgz",
"integrity": "sha1-G33NyzK4E4gBs+R4umpRyqiWSNo=",
"dev": true,
"optional": true,
"requires": {
"has-flag": "^4.0.0"
}
}
}
},
"vue-navigation": { "vue-navigation": {
"version": "1.1.4", "version": "1.1.4",
"resolved": "https://registry.npmjs.org/vue-navigation/-/vue-navigation-1.1.4.tgz", "resolved": "https://registry.npmjs.org/vue-navigation/-/vue-navigation-1.1.4.tgz",
......
...@@ -8,6 +8,6 @@ export default { ...@@ -8,6 +8,6 @@ export default {
pageApp: data => http.post('/drs/v1/sampling_place/page_app', data).then(res => res), pageApp: data => http.post('/drs/v1/sampling_place/page_app', data).then(res => res),
edit: data => http.put('/drs/v1/sampling_place/' + data.id, data.obj).then(res => res), edit: data => http.put('/drs/v1/sampling_place/' + data.id, data.obj).then(res => res),
listPlaces: data => http.post('/drs/v1/sampling_place/list_places', data).then(res => res), listPlaces: data => http.post('/drs/v1/sampling_place/list_places', data).then(res => res),
addMulti: data => http.put('/drs/v1/sampling_place/upload_multi_selected', data).then(res => res), addMulti: data => http.put('/drs/v1/sampling_place/update_multi_selected', data).then(res => res),
} }
...@@ -583,7 +583,7 @@ ...@@ -583,7 +583,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="25%" label-width="25%"
label-align="center" label-align="center"
v-model="formObj.prolicense" v-model="formObj.proLicense"
label="生产许可证号" label="生产许可证号"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -765,7 +765,7 @@ ...@@ -765,7 +765,7 @@
taskType: '', taskType: '',
proName: '', proName: '',
proAddress: '', proAddress: '',
prolicense: '', proLicense: '',
proTel: '', proTel: '',
thirdPartyName: '', thirdPartyName: '',
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="25%" label-width="25%"
label-align="center" label-align="center"
v-model="netTested.samplingPlace" v-model="netTested.address"
label="单位地址" label="单位地址"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="50%" label-width="50%"
label-align="center" label-align="center"
v-model="formObj.dateBatch" v-model="sample.batchNo"
label="生产批号" label="生产批号"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -577,7 +577,7 @@ ...@@ -577,7 +577,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="25%" label-width="25%"
label-align="center" label-align="center"
v-model="formObj.prolicense" v-model="formObj.proLicense"
label="生产许可证号" label="生产许可证号"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -757,11 +757,10 @@ ...@@ -757,11 +757,10 @@
source: '', source: '',
taskType: '', taskType: '',
sampleName: '', sampleName: '',
dateBatch: '',
proName: '', proName: '',
proAddress: '', proAddress: '',
prolicense: '', proLicense: '',
proTel: '', proTel: '',
thirdPartyName: '', thirdPartyName: '',
...@@ -786,7 +785,7 @@ ...@@ -786,7 +785,7 @@
plantformAddress: '', plantformAddress: '',
legalPerson: '', legalPerson: '',
name: '', name: '',
samplingPlace: '', address: '',
estore: '', estore: '',
sampleSite: '', sampleSite: '',
permitType: '', permitType: '',
...@@ -801,6 +800,7 @@ ...@@ -801,6 +800,7 @@
sample: { sample: {
trademark: '', trademark: '',
num: '', num: '',
batchNo:'',
firstClass: '', firstClass: '',
secondClass: '', secondClass: '',
thirdClass: '', thirdClass: '',
......
...@@ -583,7 +583,7 @@ ...@@ -583,7 +583,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="25%" label-width="25%"
label-align="center" label-align="center"
v-model="formObj.prolicense" v-model="formObj.proLicense"
label="生产许可证号" label="生产许可证号"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -765,7 +765,7 @@ ...@@ -765,7 +765,7 @@
taskType: '', taskType: '',
proName: '', proName: '',
proAddress: '', proAddress: '',
prolicense: '', proLicense: '',
proTel: '', proTel: '',
thirdPartyName: '', thirdPartyName: '',
......
...@@ -137,7 +137,7 @@ ...@@ -137,7 +137,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="25%" label-width="25%"
label-align="center" label-align="center"
v-model="netTested.samplingPlace" v-model="netTested.address"
label="单位地址" label="单位地址"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -389,7 +389,7 @@ ...@@ -389,7 +389,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="50%" label-width="50%"
label-align="center" label-align="center"
v-model="formObj.dateBatch" v-model="sample.batchNo"
label="生产批号" label="生产批号"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -577,7 +577,7 @@ ...@@ -577,7 +577,7 @@
label-class="cus-field-class" label-class="cus-field-class"
label-width="25%" label-width="25%"
label-align="center" label-align="center"
v-model="formObj.prolicense" v-model="formObj.proLicense"
label="生产许可证号" label="生产许可证号"
></van-field> ></van-field>
</table-col> </table-col>
...@@ -757,11 +757,10 @@ ...@@ -757,11 +757,10 @@
source: '', source: '',
taskType: '', taskType: '',
sampleName: '', sampleName: '',
dateBatch: '',
proName: '', proName: '',
proAddress: '', proAddress: '',
prolicense: '', proLicense: '',
proTel: '', proTel: '',
thirdPartyName: '', thirdPartyName: '',
...@@ -786,7 +785,7 @@ ...@@ -786,7 +785,7 @@
plantformAddress: '', plantformAddress: '',
legalPerson: '', legalPerson: '',
name: '', name: '',
samplingPlace: '', address: '',
estore: '', estore: '',
sampleSite: '', sampleSite: '',
permitType: '', permitType: '',
...@@ -801,6 +800,7 @@ ...@@ -801,6 +800,7 @@
sample: { sample: {
trademark: '', trademark: '',
num: '', num: '',
batchNo:'',
firstClass:'', firstClass:'',
secondClass:'', secondClass:'',
thirdClass:'', thirdClass:'',
......
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