Kaynağa Gözat

update PUT-POST

pull/1/head
lb 2 yıl önce
ebeveyn
işleme
8f802c5580
27 değiştirilmiş dosya ile 54 ekleme ve 54 silme
  1. +2
    -2
      src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue
  2. +2
    -2
      src/views/modules/monitoring/equipmenattr-add-or-update.vue
  3. +2
    -2
      src/views/modules/monitoring/equipmenfile-add-or-update.vue
  4. +2
    -2
      src/views/modules/monitoring/equipmengroup-add-or-update.vue
  5. +2
    -2
      src/views/modules/monitoring/equipmengroupalarm-add-or-update.vue
  6. +2
    -2
      src/views/modules/monitoring/equipmenplc-add-or-update.vue
  7. +2
    -2
      src/views/modules/monitoring/equipmenplcconnect-add-or-update.vue
  8. +2
    -2
      src/views/modules/monitoring/equipmenplcparam-add-or-update.vue
  9. +2
    -2
      src/views/modules/monitoring/equipmenquantity-add-or-update.vue
  10. +2
    -2
      src/views/modules/monitoring/equipmenstatuslog-add-or-update.vue
  11. +2
    -2
      src/views/modules/monitoring/equipment-add-or-update.vue
  12. +2
    -2
      src/views/modules/monitoring/equipmentype-add-or-update.vue
  13. +2
    -2
      src/views/modules/monitoring/equipmentypefile-add-or-update.vue
  14. +2
    -2
      src/views/modules/monitoring/factory-add-or-update.vue
  15. +2
    -2
      src/views/modules/monitoring/producarrt-add-or-update.vue
  16. +2
    -2
      src/views/modules/monitoring/product-add-or-update.vue
  17. +2
    -2
      src/views/modules/monitoring/productionline-add-or-update.vue
  18. +2
    -2
      src/views/modules/monitoring/productionlinerecsch-add-or-update.vue
  19. +2
    -2
      src/views/modules/monitoring/qualityinspectiondet-add-or-update.vue
  20. +2
    -2
      src/views/modules/monitoring/qualityinspectionrecord-add-or-update.vue
  21. +2
    -2
      src/views/modules/monitoring/qualityinspectiontype-add-or-update.vue
  22. +2
    -2
      src/views/modules/monitoring/reporsheecategory-add-or-update.vue
  23. +2
    -2
      src/views/modules/monitoring/reporsheet-add-or-update.vue
  24. +2
    -2
      src/views/modules/monitoring/sysfile-add-or-update.vue
  25. +2
    -2
      src/views/modules/monitoring/sysfiletype-add-or-update.vue
  26. +2
    -2
      src/views/modules/monitoring/workshopsection-add-or-update.vue
  27. +2
    -2
      src/views/modules/monitoring/workshopsectionequipment-add-or-update.vue

+ 2
- 2
src/views/modules/monitoring/equipmenalarmlog-add-or-update.vue Dosyayı Görüntüle

@@ -122,8 +122,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentAlarmLog/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentAlarmLog/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
alarmId: this.dataForm.alarmId,


+ 2
- 2
src/views/modules/monitoring/equipmenattr-add-or-update.vue Dosyayı Görüntüle

@@ -116,8 +116,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentAttr/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentAttr/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
equipmentId: this.dataForm.equipmentId,


+ 2
- 2
src/views/modules/monitoring/equipmenfile-add-or-update.vue Dosyayı Görüntüle

@@ -140,8 +140,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentFile/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentFile/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
equipmentId: this.dataForm.equipmentId,


+ 2
- 2
src/views/modules/monitoring/equipmengroup-add-or-update.vue Dosyayı Görüntüle

@@ -122,8 +122,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentGroup/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentGroup/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
code: this.dataForm.code,


+ 2
- 2
src/views/modules/monitoring/equipmengroupalarm-add-or-update.vue Dosyayı Görüntüle

@@ -152,8 +152,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentGroupAlarm/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentGroupAlarm/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
equipmentGroupId: this.dataForm.equipmentGroupId,


+ 2
- 2
src/views/modules/monitoring/equipmenplc-add-or-update.vue Dosyayı Görüntüle

@@ -170,8 +170,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentPlc/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentPlc/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
plcType: this.dataForm.plcType,


+ 2
- 2
src/views/modules/monitoring/equipmenplcconnect-add-or-update.vue Dosyayı Görüntüle

@@ -116,8 +116,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentPlcConnect/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentPlcConnect/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
plcId: this.dataForm.plcId,


+ 2
- 2
src/views/modules/monitoring/equipmenplcparam-add-or-update.vue Dosyayı Görüntüle

@@ -200,8 +200,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentPlcParam/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentPlcParam/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
plcConId: this.dataForm.plcConId,


+ 2
- 2
src/views/modules/monitoring/equipmenquantity-add-or-update.vue Dosyayı Görüntüle

@@ -146,8 +146,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentQuantity/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentQuantity/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
externalCode: this.dataForm.externalCode,


+ 2
- 2
src/views/modules/monitoring/equipmenstatuslog-add-or-update.vue Dosyayı Görüntüle

@@ -140,8 +140,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentStatusLog/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentStatusLog/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
externalCode: this.dataForm.externalCode,


+ 2
- 2
src/views/modules/monitoring/equipment-add-or-update.vue Dosyayı Görüntüle

@@ -200,8 +200,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipment/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipment/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
code: this.dataForm.code,


+ 2
- 2
src/views/modules/monitoring/equipmentype-add-or-update.vue Dosyayı Görüntüle

@@ -134,8 +134,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentType/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentType/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
code: this.dataForm.code,


+ 2
- 2
src/views/modules/monitoring/equipmentypefile-add-or-update.vue Dosyayı Görüntüle

@@ -140,8 +140,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/equipmentTypeFile/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/equipmentTypeFile/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
equipmentTypeId: this.dataForm.equipmentTypeId,


+ 2
- 2
src/views/modules/monitoring/factory-add-or-update.vue Dosyayı Görüntüle

@@ -134,8 +134,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/factory/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/factory/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
code: this.dataForm.code,


+ 2
- 2
src/views/modules/monitoring/producarrt-add-or-update.vue Dosyayı Görüntüle

@@ -140,8 +140,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/productArrt/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/productArrt/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
code: this.dataForm.code,


+ 2
- 2
src/views/modules/monitoring/product-add-or-update.vue Dosyayı Görüntüle

@@ -158,8 +158,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/product/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/product/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
code: this.dataForm.code,


+ 2
- 2
src/views/modules/monitoring/productionline-add-or-update.vue Dosyayı Görüntüle

@@ -146,8 +146,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/productionLine/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/productionLine/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
factoryId: this.dataForm.factoryId,


+ 2
- 2
src/views/modules/monitoring/productionlinerecsch-add-or-update.vue Dosyayı Görüntüle

@@ -86,8 +86,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/productionLineRecSch/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/productionLineRecSch/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
productionLineId: this.dataForm.productionLineId,


+ 2
- 2
src/views/modules/monitoring/qualityinspectiondet-add-or-update.vue Dosyayı Görüntüle

@@ -116,8 +116,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/qualityInspectionDet/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/qualityInspectionDet/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
typeId: this.dataForm.typeId,


+ 2
- 2
src/views/modules/monitoring/qualityinspectionrecord-add-or-update.vue Dosyayı Görüntüle

@@ -146,8 +146,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/qualityInspectionRecord/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/qualityInspectionRecord/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
inspectionDetId: this.dataForm.inspectionDetId,


+ 2
- 2
src/views/modules/monitoring/qualityinspectiontype-add-or-update.vue Dosyayı Görüntüle

@@ -110,8 +110,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/qualityInspectionType/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/qualityInspectionType/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
name: this.dataForm.name,


+ 2
- 2
src/views/modules/monitoring/reporsheecategory-add-or-update.vue Dosyayı Görüntüle

@@ -128,8 +128,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/reportSheetCategory/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/reportSheetCategory/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
code: this.dataForm.code,


+ 2
- 2
src/views/modules/monitoring/reporsheet-add-or-update.vue Dosyayı Görüntüle

@@ -146,8 +146,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/reportSheet/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/reportSheet/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
category: this.dataForm.category,


+ 2
- 2
src/views/modules/monitoring/sysfile-add-or-update.vue Dosyayı Görüntüle

@@ -122,8 +122,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/sysFile/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/sysFile/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
typeCode: this.dataForm.typeCode,


+ 2
- 2
src/views/modules/monitoring/sysfiletype-add-or-update.vue Dosyayı Görüntüle

@@ -110,8 +110,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/sysFileType/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/sysFileType/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
typeCode: this.dataForm.typeCode,


+ 2
- 2
src/views/modules/monitoring/workshopsection-add-or-update.vue Dosyayı Görüntüle

@@ -140,8 +140,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/workShopSection/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/workShopSection/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
productionLineId: this.dataForm.productionLineId,


+ 2
- 2
src/views/modules/monitoring/workshopsectionequipment-add-or-update.vue Dosyayı Görüntüle

@@ -116,8 +116,8 @@ export default {
this.$refs['dataForm'].validate(valid => {
if (valid) {
this.$http({
url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${!this.dataForm.id ? 'save' : 'update'}`),
method: 'post',
url: this.$http.adornUrl(`/monitoring/workShopSectionEquipment/${!this.dataForm.id ? '' : this.dataForm.id}`),
method: this.dataForm.id ? 'put' : 'post',
data: this.$http.adornData({
id: this.dataForm.id || undefined,
workshopSectionId: this.dataForm.workshopSectionId,


Yükleniyor…
İptal
Kaydet