Browse Source

修改表单直接提交申请

dev
long 2 years ago
parent
commit
a8c2f0178b
  1. 7
      src/views/activiti/form/ProcessMaterialWarehousingForm.vue
  2. 6
      src/views/activiti/form/ProcessMaterialsAllotForm.vue
  3. 6
      src/views/activiti/form/ProcessMaterialsDeliveryForm.vue
  4. 12
      src/views/activiti/form/ProcessPermissionAuthorizationForm.vue
  5. 6
      src/views/activiti/form/ProcessSmaterialsScrapForm.vue
  6. 3
      src/views/activiti/form/ProcessUdgetPlanForm.vue
  7. 8
      src/views/processmaterials/ProcessPermissionAuthorizationList.vue
  8. 6
      src/views/processmaterials/modules/ProcessPermissionAuthorizationForm.vue

7
src/views/activiti/form/ProcessMaterialWarehousingForm.vue

@ -283,6 +283,9 @@ import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
getForm:'/actBusiness/getForm',
add: "/hy/processMaterialWarehousing/add",
edit: "/hy/processMaterialWarehousing/edit",
addWarehousingApply: "/hy/processMaterialWarehousing/addWarehousingApply" +
"",
editWarehousingApply: "/hy/processMaterialWarehousing/editWarehousingApply",
queryById: "/hy/processMaterialWarehousing/queryById",
list: "/hy/processUdgetPlan/queryProcessUdgetPlanMaterialByMainId",
puwwlist: "/unitwaste/processUnitWasteWarehouseCode/queryById",
@ -455,10 +458,10 @@ import JSelectUserByDep from '@/components/jeecgbiz/JSelectUserByDep'
formData.procDeTitle = this.processData.name;
formData.title=this.processData.description;
if (!formData.tableName)formData.tableName = this.processData.businessTable;
var url = this.url.addFromTableApply;
var url = this.url.addWarehousingApply;
let method='post';
if (!this.isNew){
url = this.url.fromTableApply;
url = this.url.editWarehousingApply;
method='put';
}
this.btndisabled = true;

6
src/views/activiti/form/ProcessMaterialsAllotForm.vue

@ -283,6 +283,8 @@
getForm: '/actBusiness/getForm',
add: '/hy/processMaterialsAllot/add',
edit: '/hy/processMaterialsAllot/edit',
addAlloApply:'/hy/processMaterialsAllot/addAlloApply',
editAlloApply:'/hy/processMaterialsAllot/editAlloApply',
queryById: '/hy/processMaterialsAllot/queryById',
descriptionRake: '/wastematerials/processWasteMaterials/wasteMaterialsName', //
descriptionRakeUrl: '/hy/processMaterialWarehousingList/queryByIdWarehousingList', //
@ -658,10 +660,10 @@
formData.procDeTitle = this.processData.name;
formData.title=this.processData.description;
if (!formData.tableName)formData.tableName = this.processData.businessTable;
var url = this.url.addFromTableApply;
var url = this.url.addAlloApply;
let method='post';
if (!this.isNew){
url = this.url.fromTableApply;
url = this.url.editAlloApply;
method='put';
}
this.btndisabled = true;

6
src/views/activiti/form/ProcessMaterialsDeliveryForm.vue

@ -313,6 +313,8 @@
getForm: '/actBusiness/getForm',
add: '/hy/processMaterialsDelivery/add',
edit: '/hy/processMaterialsDelivery/edit',
addDeliveryApply: '/hy/processMaterialsDelivery/addDeliveryApply',
editDeliveryApply: '/hy/processMaterialsDelivery/editDeliveryApply',
queryById: '/hy/processMaterialsDelivery/queryById',
descriptionRake: '/suppliesstronger/processSuppliesStronger/descriptionName', //
wasteMaterialsUrl: '/wastematerials/processWasteMaterials/wasteMaterialsName', //
@ -1124,10 +1126,10 @@
formData.procDeTitle = this.processData.name;
formData.title=this.processData.description;
if (!formData.tableName)formData.tableName = this.processData.businessTable;
var url = this.url.addFromTableApply;
var url = this.url.addDeliveryApply;
let method='post';
if (!this.isNew){
url = this.url.fromTableApply;
url = this.url.editDeliveryApply;
method='put';
}
this.btndisabled = true;

12
src/views/activiti/form/ProcessPermissionAuthorizationForm.vue

@ -173,9 +173,11 @@
confirmLoading: false,
url: {
getForm:'/actBusiness/getForm',
add: "/processpermissionauthorization/processPermissionAuthorization/add",
edit: "/processpermissionauthorization/processPermissionAuthorization/edit",
queryById: "/processpermissionauthorization/processPermissionAuthorization/queryById"
add: "/hy/processPermissionAuthorization/add",
edit: "/hy/processPermissionAuthorization/edit",
addAuthorizationApply: "/hy/processPermissionAuthorization/addAuthorizationApply",
editAuthorizationApply: "/hy/processPermissionAuthorization/editAuthorizationApply",
queryById: "/hy/processPermissionAuthorization/queryById"
},
btndisabled: false,
validatorRules: {
@ -312,10 +314,10 @@
formData.procDeTitle = this.processData.name;
formData.title=this.processData.description;
if (!formData.tableName)formData.tableName = this.processData.businessTable;
var url = this.url.addFromTableApply;
var url = this.url.addAuthorizationApply;
let method='post';
if (!this.isNew){
url = this.url.fromTableApply;
url = this.url.editAuthorizationApply;
method='put';
}
this.btndisabled = true;

6
src/views/activiti/form/ProcessSmaterialsScrapForm.vue

@ -256,6 +256,8 @@
getForm: '/actBusiness/getForm',
add: '/hy/processSmaterialsScrap/add',
edit: '/hy/processSmaterialsScrap/edit',
addScrapApply: '/hy/processSmaterialsScrap/addScrapApply',
editScrapApply: '/hy/processSmaterialsScrap/editScrapApply',
queryById: '/hy/processSmaterialsScrap/queryById',
list:"/hy/processMaterialsDelivery/queryProcessMaterialsDeliveryListByMainId",
processSmaterialsScrapList: {
@ -419,10 +421,10 @@
formData.procDeTitle = this.processData.name;
formData.title=this.processData.description;
if (!formData.tableName)formData.tableName = this.processData.businessTable;
var url = this.url.addFromTableApply;
var url = this.url.addScrapApply;
let method='post';
if (!this.isNew){
url = this.url.fromTableApply;
url = this.url.editScrapApply;
method='put';
}
this.btndisabled = true;

3
src/views/activiti/form/ProcessUdgetPlanForm.vue

@ -490,6 +490,7 @@
add: '/hy/processUdgetPlan/add',
edit: '/hy/processUdgetPlan/edit',
addFromTableApply:'/hy/processUdgetPlan/addFromTableApply',
editFromTableApply: '/hy/processUdgetPlan/editFromTableApply',
queryById: '/hy/processUdgetPlan/queryById',
selectdeparment:'/sys/selectByUser',
descriptionRakeUrl: "/description/processDescription/list",
@ -1043,7 +1044,7 @@
var url = this.url.addFromTableApply;
let method='post';
if (!this.isNew){
url = this.url.fromTableApply;
url = this.url.editFromTableApply;
method='put';
}
this.btndisabled = true;

8
src/views/processmaterials/ProcessPermissionAuthorizationList.vue

@ -133,10 +133,10 @@
}
],
url: {
list: "/processpermissionauthorization/processPermissionAuthorization/list",
delete: "/processpermissionauthorization/processPermissionAuthorization/delete",
deleteBatch: "/processpermissionauthorization/processPermissionAuthorization/deleteBatch",
exportXlsUrl: "/processpermissionauthorization/processPermissionAuthorization/exportXls",
list: "/hy/processPermissionAuthorization/list",
delete: "/hy/processPermissionAuthorization/delete",
deleteBatch: "/hy/processPermissionAuthorization/deleteBatch",
exportXlsUrl: "/hy/processPermissionAuthorization/exportXls",
importExcelUrl: "processpermissionauthorization/processPermissionAuthorization/importExcel",
},

6
src/views/processmaterials/modules/ProcessPermissionAuthorizationForm.vue

@ -126,9 +126,9 @@
validatorRules: {
},
url: {
add: "/processpermissionauthorization/processPermissionAuthorization/add",
edit: "/processpermissionauthorization/processPermissionAuthorization/edit",
queryById: "/processpermissionauthorization/processPermissionAuthorization/queryById"
add: "/hy/processPermissionAuthorization/add",
edit: "/hy/processPermissionAuthorization/edit",
queryById: "/hy/processPermissionAuthorization/queryById"
}
}
},

Loading…
Cancel
Save