|
|
@ -15,7 +15,8 @@ |
|
|
|
:mubanUrl="mubanUrl" |
|
|
|
:editParams="editParams" |
|
|
|
:editElseRules="editElseRules" |
|
|
|
idName="icDangerousChemicalsId" |
|
|
|
:cookTableData="cookTableData" |
|
|
|
idName="id" |
|
|
|
></base-page> |
|
|
|
</div> |
|
|
|
</template> |
|
|
@ -77,37 +78,70 @@ export default { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ field: "代办员姓名", keyName: "agentName", type: "input" }, |
|
|
|
{ field: "手机号", keyName: "mobile", type: "input" }, |
|
|
|
{ field: "身份证号", keyName: "idCard", type: "input" }, |
|
|
|
{ field: "服务事项", keyName: "content", type: "input" }, |
|
|
|
{ |
|
|
|
field: "办理日期", |
|
|
|
keyName: "processTime", |
|
|
|
type: "date-range", |
|
|
|
supKeys: ["processTimeStart", "processTimeEnd"], |
|
|
|
supValues: ["", ""], |
|
|
|
}, |
|
|
|
], |
|
|
|
|
|
|
|
tableParams: [ |
|
|
|
{ field: "序号", keyName: "", type: "no" }, |
|
|
|
{ field: "所属组织", keyName: "orgName", type: "text" }, |
|
|
|
{ field: "代办员姓名", keyName: "name", type: "text" }, |
|
|
|
{ field: "性别", keyName: "gender", type: "text" }, |
|
|
|
{ field: "年龄", keyName: "age", type: "text" }, |
|
|
|
{ field: "学历", keyName: "edu", type: "text" }, |
|
|
|
{ field: "联系电话", keyName: "mobile", type: "text" }, |
|
|
|
{ field: "身份证号", keyName: "idCard", type: "text" }, |
|
|
|
{ field: "所属组织", keyName: "orgNamePath", type: "text" }, |
|
|
|
{ |
|
|
|
field: "代办服务类型", |
|
|
|
keyName: "serviceCategoryName", |
|
|
|
type: "text", |
|
|
|
}, |
|
|
|
{ field: "申请服务事项", keyName: "content", type: "text" }, |
|
|
|
{ field: "申请人", keyName: "applicantName", type: "text" }, |
|
|
|
{ field: "申请日期", keyName: "createdTime", type: "text" }, |
|
|
|
{ field: "代办人", keyName: "agentName", type: "text" }, |
|
|
|
{ |
|
|
|
field: "办理状态", |
|
|
|
keyName: "processStatusDisplay", |
|
|
|
type: "text", |
|
|
|
}, |
|
|
|
{ field: "办理日期", keyName: "processTime", type: "text" }, |
|
|
|
{ field: "满意度", keyName: "satisfactionName", type: "text" }, |
|
|
|
], |
|
|
|
tableUrl: "【GET】/epmetuser/lingshan/serviceAgent/workpc/serviceList", |
|
|
|
tableUrl: "【GET】/heart/lingshan/serviceAgent/workpc/serviceList", |
|
|
|
mubanUrl: "", |
|
|
|
importUrl: "", |
|
|
|
exportUrl: "/gov/org/icDangerousChemicals/export", |
|
|
|
exportUrl: "", |
|
|
|
|
|
|
|
// addUrl: "/gov/org/staff/addstaffv2", |
|
|
|
editUrl: "/gov/org/staff/editstaff", |
|
|
|
infoUrl: "/gov/org/staff/editstaffinit", |
|
|
|
delUrl: "/gov/org/icDangerousChemicals/del", |
|
|
|
// editAuth(item) { |
|
|
|
// return item.agencyId == this.$store.state.user.agencyId; |
|
|
|
// }, |
|
|
|
// delAuth(item) { |
|
|
|
// return item.agencyId == this.$store.state.user.agencyId; |
|
|
|
// }, |
|
|
|
addUrl: "", |
|
|
|
editUrl: "", |
|
|
|
infoUrl: "【GET】/heart/lingshan/serviceAgent/screen/serviceDetail", |
|
|
|
delUrl: "/heart/lingshan/serviceAgent/workpc/deltel", |
|
|
|
editAuth(item) { |
|
|
|
return true || item.agencyId == this.$store.state.user.agencyId; |
|
|
|
}, |
|
|
|
delAuth(item) { |
|
|
|
return true || item.agencyId == this.$store.state.user.agencyId; |
|
|
|
}, |
|
|
|
|
|
|
|
editParams: [ |
|
|
|
{ field: "所属组织", keyName: "orgNamePath", type: "input" }, |
|
|
|
{ |
|
|
|
field: "代办服务类型", |
|
|
|
keyName: "serviceCategoryName", |
|
|
|
type: "input", |
|
|
|
}, |
|
|
|
{ field: "申请服务事项", keyName: "content", type: "input" }, |
|
|
|
{ field: "申请人", keyName: "applicantName", type: "input" }, |
|
|
|
{ field: "申请日期", keyName: "createdTime", type: "input" }, |
|
|
|
{ field: "代办人", keyName: "agentName", type: "input" }, |
|
|
|
{ |
|
|
|
field: "办理状态", |
|
|
|
keyName: "processStatusDisplay", |
|
|
|
type: "input", |
|
|
|
}, |
|
|
|
{ field: "办理日期", keyName: "processTime", type: "input" }, |
|
|
|
{ field: "满意度", keyName: "satisfactionName", type: "input" }, |
|
|
|
// { |
|
|
|
// field: "所属组织", |
|
|
|
// keyName: "orgId", |
|
|
@ -164,122 +198,122 @@ export default { |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
{ |
|
|
|
field: "代办员姓名", |
|
|
|
keyName: "name", |
|
|
|
type: "input", |
|
|
|
maxlength: 50, |
|
|
|
editDisabled: false, |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "代办员姓名不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "手机号", |
|
|
|
keyName: "mobile", |
|
|
|
type: "input", |
|
|
|
maxlength: 50, |
|
|
|
editDisabled: false, |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "手机号不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "身份证号", |
|
|
|
keyName: "idCard", |
|
|
|
type: "input", |
|
|
|
maxlength: 50, |
|
|
|
editDisabled: false, |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "身份证号不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "学历", |
|
|
|
keyName: "edu", |
|
|
|
type: "select", |
|
|
|
optionUrl: "/sys/dict/data/education", |
|
|
|
optionUrlParams: { |
|
|
|
formCode: "resi_base_info", |
|
|
|
}, |
|
|
|
optionList: () => [], |
|
|
|
editDisabled: false, |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "学历不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "专兼职", |
|
|
|
keyName: "workType", |
|
|
|
type: "select", |
|
|
|
optionUrl: "", |
|
|
|
optionUrlParams: {}, |
|
|
|
optionList: () => [ |
|
|
|
{ value: "fulltime", label: "专职" }, |
|
|
|
{ value: "parttime", label: "兼职" }, |
|
|
|
], |
|
|
|
editDisabled: false, |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "专兼职不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "职责", |
|
|
|
keyName: "roleList", |
|
|
|
multiple: true, |
|
|
|
type: "select", |
|
|
|
optionUrl: "/gov/org/staff/rolelist", |
|
|
|
optionUrlParams: { |
|
|
|
agencyId: this.$store.state.user.agencyId, |
|
|
|
}, |
|
|
|
optionList: () => [], |
|
|
|
editDisabled: false, |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "职责不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
{ |
|
|
|
field: "角色", |
|
|
|
keyName: "newRoleList", |
|
|
|
multiple: true, |
|
|
|
type: "select", |
|
|
|
optionUrl: "/gov/access/govrole/list", |
|
|
|
optionUrlMethod: "get", |
|
|
|
optionUrlParams: {}, |
|
|
|
optionList: () => [], |
|
|
|
editDisabled: false, |
|
|
|
rules: [ |
|
|
|
{ |
|
|
|
required: true, |
|
|
|
message: "角色不能为空", |
|
|
|
trigger: "blur", |
|
|
|
}, |
|
|
|
], |
|
|
|
}, |
|
|
|
// { |
|
|
|
// field: "代办员姓名", |
|
|
|
// keyName: "name", |
|
|
|
// type: "input", |
|
|
|
// maxlength: 50, |
|
|
|
// editDisabled: false, |
|
|
|
// rules: [ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: "代办员姓名不能为空", |
|
|
|
// trigger: "blur", |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// field: "手机号", |
|
|
|
// keyName: "mobile", |
|
|
|
// type: "input", |
|
|
|
// maxlength: 50, |
|
|
|
// editDisabled: false, |
|
|
|
// rules: [ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: "手机号不能为空", |
|
|
|
// trigger: "blur", |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// field: "身份证号", |
|
|
|
// keyName: "idCard", |
|
|
|
// type: "input", |
|
|
|
// maxlength: 50, |
|
|
|
// editDisabled: false, |
|
|
|
// rules: [ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: "身份证号不能为空", |
|
|
|
// trigger: "blur", |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// field: "学历", |
|
|
|
// keyName: "edu", |
|
|
|
// type: "select", |
|
|
|
// optionUrl: "/sys/dict/data/education", |
|
|
|
// optionUrlParams: { |
|
|
|
// formCode: "resi_base_info", |
|
|
|
// }, |
|
|
|
// optionList: () => [], |
|
|
|
// editDisabled: false, |
|
|
|
// rules: [ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: "学历不能为空", |
|
|
|
// trigger: "blur", |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// field: "专兼职", |
|
|
|
// keyName: "workType", |
|
|
|
// type: "select", |
|
|
|
// optionUrl: "", |
|
|
|
// optionUrlParams: {}, |
|
|
|
// optionList: () => [ |
|
|
|
// { value: "fulltime", label: "专职" }, |
|
|
|
// { value: "parttime", label: "兼职" }, |
|
|
|
// ], |
|
|
|
// editDisabled: false, |
|
|
|
// rules: [ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: "专兼职不能为空", |
|
|
|
// trigger: "blur", |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// field: "职责", |
|
|
|
// keyName: "roleList", |
|
|
|
// multiple: true, |
|
|
|
// type: "select", |
|
|
|
// optionUrl: "/gov/org/staff/rolelist", |
|
|
|
// optionUrlParams: { |
|
|
|
// agencyId: this.$store.state.user.agencyId, |
|
|
|
// }, |
|
|
|
// optionList: () => [], |
|
|
|
// editDisabled: false, |
|
|
|
// rules: [ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: "职责不能为空", |
|
|
|
// trigger: "blur", |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
// { |
|
|
|
// field: "角色", |
|
|
|
// keyName: "newRoleList", |
|
|
|
// multiple: true, |
|
|
|
// type: "select", |
|
|
|
// optionUrl: "/gov/access/govrole/list", |
|
|
|
// optionUrlMethod: "get", |
|
|
|
// optionUrlParams: {}, |
|
|
|
// optionList: () => [], |
|
|
|
// editDisabled: false, |
|
|
|
// rules: [ |
|
|
|
// { |
|
|
|
// required: true, |
|
|
|
// message: "角色不能为空", |
|
|
|
// trigger: "blur", |
|
|
|
// }, |
|
|
|
// ], |
|
|
|
// }, |
|
|
|
], |
|
|
|
editElseRules: {}, |
|
|
|
editConfig: {}, |
|
|
@ -291,7 +325,21 @@ export default { |
|
|
|
|
|
|
|
async mounted() {}, |
|
|
|
|
|
|
|
methods: {}, |
|
|
|
methods: { |
|
|
|
cookTableData(list) { |
|
|
|
return list.map((item) => ({ |
|
|
|
...item, |
|
|
|
satisfactionName: |
|
|
|
typeof item.satisfaction == "number" |
|
|
|
? { |
|
|
|
"-1": "不满意", |
|
|
|
0: "基本满意", |
|
|
|
1: "非常满意", |
|
|
|
}[item.satisfaction + ""] |
|
|
|
: "", |
|
|
|
})); |
|
|
|
}, |
|
|
|
}, |
|
|
|
}; |
|
|
|
</script> |
|
|
|
|
|
|
|