|
@ -15,7 +15,7 @@ |
|
|
:mubanUrl="mubanUrl" |
|
|
:mubanUrl="mubanUrl" |
|
|
:editParams="editParams" |
|
|
:editParams="editParams" |
|
|
:editElseRules="editElseRules" |
|
|
:editElseRules="editElseRules" |
|
|
idName="icDangerousChemicalsId" |
|
|
idName="agentId" |
|
|
></base-page> |
|
|
></base-page> |
|
|
</div> |
|
|
</div> |
|
|
</template> |
|
|
</template> |
|
@ -91,7 +91,8 @@ export default { |
|
|
{ field: "联系电话", keyName: "mobile", type: "text" }, |
|
|
{ field: "联系电话", keyName: "mobile", type: "text" }, |
|
|
{ field: "身份证号", keyName: "idCard", type: "text" }, |
|
|
{ field: "身份证号", keyName: "idCard", type: "text" }, |
|
|
], |
|
|
], |
|
|
tableUrl: "【GET】/data/aggregator/lingshan/serviceAgent/workpc/agentList", |
|
|
tableUrl: |
|
|
|
|
|
"【GET】/data/aggregator/lingshan/serviceAgent/workpc/agentList", |
|
|
mubanUrl: "", |
|
|
mubanUrl: "", |
|
|
importUrl: "", |
|
|
importUrl: "", |
|
|
exportUrl: "/gov/org/icDangerousChemicals/export", |
|
|
exportUrl: "/gov/org/icDangerousChemicals/export", |
|
@ -100,12 +101,14 @@ export default { |
|
|
editUrl: "/gov/org/staff/editstaff", |
|
|
editUrl: "/gov/org/staff/editstaff", |
|
|
infoUrl: "/gov/org/staff/editstaffinit", |
|
|
infoUrl: "/gov/org/staff/editstaffinit", |
|
|
delUrl: "/gov/org/icDangerousChemicals/del", |
|
|
delUrl: "/gov/org/icDangerousChemicals/del", |
|
|
// editAuth(item) { |
|
|
editAuth(item) { |
|
|
// return item.agencyId == this.$store.state.user.agencyId; |
|
|
return true || item.agencyId == this.$store.state.user.agencyId; |
|
|
// }, |
|
|
}, |
|
|
// delAuth(item) { |
|
|
delAuth(item) { |
|
|
// return item.agencyId == this.$store.state.user.agencyId; |
|
|
return ( |
|
|
// }, |
|
|
false && item.agencyId == this.$store.state.user.agencyId |
|
|
|
|
|
); |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
editParams: [ |
|
|
editParams: [ |
|
|
// { |
|
|
// { |
|
@ -254,6 +257,12 @@ export default { |
|
|
}, |
|
|
}, |
|
|
optionList: () => [], |
|
|
optionList: () => [], |
|
|
editDisabled: false, |
|
|
editDisabled: false, |
|
|
|
|
|
optionCook(arr) { |
|
|
|
|
|
return arr.map((item) => ({ |
|
|
|
|
|
value: item.roleId, |
|
|
|
|
|
label: item.roleName, |
|
|
|
|
|
})); |
|
|
|
|
|
}, |
|
|
rules: [ |
|
|
rules: [ |
|
|
{ |
|
|
{ |
|
|
required: true, |
|
|
required: true, |
|
|