apply-clients 3.3.71-2 → 3.3.71-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/applyAndroid.js +34 -31
- package/src/components/android/Process/AppExplorationUser.vue +2 -3
- package/src/components/android/Process/AppServiceControl.vue +244 -16
- package/src/components/android/Process/Processes/selectApply.vue +250 -0
- package/src/components/android/Process/Processes/selectUserinfo.vue +182 -0
package/package.json
CHANGED
package/src/applyAndroid.js
CHANGED
|
@@ -1,31 +1,34 @@
|
|
|
1
|
-
import Vue from 'vue'
|
|
2
|
-
import { all } from 'vue-client'
|
|
3
|
-
Vue.config.silent = true
|
|
4
|
-
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
-
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
-
/** ****************服务插件*********************/
|
|
7
|
-
|
|
8
|
-
export default function () {
|
|
9
|
-
Vue.use(ApplyGetSaleParam)
|
|
10
|
-
Vue.use(ApplyLoadParams)
|
|
11
|
-
/** ***************************报建模块*********************************/
|
|
12
|
-
// 报建 总入口
|
|
13
|
-
Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
|
|
14
|
-
Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
|
|
15
|
-
Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
|
|
16
|
-
Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
|
|
17
|
-
Vue.component('app-istall-function', (resolve) => { require(['./components/android/Function/AppInstallFunction'], resolve) })
|
|
18
|
-
Vue.component('app-function-service-control', (resolve) => { require(['./components/android/Function/AppFunctionServiceControl'], resolve) })
|
|
19
|
-
|
|
20
|
-
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
21
|
-
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
22
|
-
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
23
|
-
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
24
|
-
|
|
25
|
-
Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
|
|
26
|
-
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
27
|
-
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
28
|
-
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
29
|
-
|
|
30
|
-
Vue.component('
|
|
31
|
-
|
|
1
|
+
import Vue from 'vue'
|
|
2
|
+
import { all } from 'vue-client'
|
|
3
|
+
Vue.config.silent = true
|
|
4
|
+
import ApplyGetSaleParam from './stores/ApplyGetSaleParams'
|
|
5
|
+
import ApplyLoadParams from './stores/ApplyLoadParams'
|
|
6
|
+
/** ****************服务插件*********************/
|
|
7
|
+
|
|
8
|
+
export default function () {
|
|
9
|
+
Vue.use(ApplyGetSaleParam)
|
|
10
|
+
Vue.use(ApplyLoadParams)
|
|
11
|
+
/** ***************************报建模块*********************************/
|
|
12
|
+
// 报建 总入口
|
|
13
|
+
Vue.component('app-exploration-user', (resolve) => { require(['./components/android/Process/AppExplorationUser'], resolve) })
|
|
14
|
+
Vue.component('app-service-control', (resolve) => { require(['./components/android/Process/AppServiceControl'], resolve) })
|
|
15
|
+
Vue.component('app-process-supervisory', (resolve) => { require(['./components/android/Supervisory/AppProcessSupervisory'], resolve) })
|
|
16
|
+
Vue.component('app-supervisory-cart', (resolve) => { require(['./components/android/Supervisory/AppSupervisoryCart'], resolve) })
|
|
17
|
+
Vue.component('app-istall-function', (resolve) => { require(['./components/android/Function/AppInstallFunction'], resolve) })
|
|
18
|
+
Vue.component('app-function-service-control', (resolve) => { require(['./components/android/Function/AppFunctionServiceControl'], resolve) })
|
|
19
|
+
|
|
20
|
+
Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
|
|
21
|
+
Vue.component('app-take-pic', (resolve) => { require(['./components/android/AppTakePic'], resolve) })
|
|
22
|
+
Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
|
|
23
|
+
Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
|
|
24
|
+
|
|
25
|
+
Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
|
|
26
|
+
Vue.component('app-apply-devices-management', (resolve) => { require(['./components/android/Process/Processes/AppDevicesManagement'], resolve) })
|
|
27
|
+
Vue.component('app-charge-management', (resolve) => { require(['./components/android/Process/Processes/AppChargeManagement'], resolve) })
|
|
28
|
+
Vue.component('app-supplemental-agreement', (resolve) => { require(['./components/android/Process/Processes/AppSupplementalAgreement'], resolve) })
|
|
29
|
+
// 选择用户信息
|
|
30
|
+
Vue.component('select-userinfo', (resolve) => { require(['./components/android/Process/Processes/selectUserinfo'], resolve) })
|
|
31
|
+
// 选择报建项目
|
|
32
|
+
Vue.component('select-apply', (resolve) => { require(['./components/android/Process/Processes/selectApply'], resolve) })
|
|
33
|
+
Vue.component('app-build-sign', (resolve) => { require(['./components/android/Process/Processes/AppBuildSign'], resolve) })
|
|
34
|
+
}
|
|
@@ -62,7 +62,6 @@ export default {
|
|
|
62
62
|
)
|
|
63
63
|
|
|
64
64
|
this.json_datas = res.data
|
|
65
|
-
// this.json_datas = {"start_activity":"报装申请","workflow_xmlfilename":"散户报建流程","activitys":[{"title":"报装申请","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":false,"disabled":false,"required":true},{"label":"报建类型","type":"select","field":"f_apply_type","readonly":true,"required":true,"disabled":true,"placeholder":"请选择","param":true,"options":[]},{"label":"用户名称","type":"input","field":"f_user_name","readonly":false,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":false,"disabled":false,"required":true},{"label":"证件类型","type":"select","field":"f_credentials","readonly":false,"required":true,"disabled":false,"placeholder":"请选择","param":true,"options":[{"label":"身份证","value":"身份证"},{"label":"营业执照","value":"营业执照"}]},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":false,"required":true,"disabled":false},{"label":"片区","type":"select","field":"f_slice_area","readonly":false,"required":true,"disabled":false,"ready":"getSliceArea","options":[]},{"label":"地址类型","type":"select","field":"f_address_type","readonly":false,"required":true,"disabled":false,"onchange":"addressTypeChange","options":[{"label":"民用城区","value":"民用城区"},{"label":"民用农村","value":"民用农村"},{"label":"特殊城区","value":"特殊城区"},{"label":"特殊农村","value":"特殊农村"}]},{"label":"区/县","type":"select","field":"f_pcd","hidden":true,"readonly":false,"required":true,"disabled":false,"ready":"getPcd","onchange":"pcdChange","options":[]},{"label":"街道","type":"select","field":"f_street","hidden":true,"readonly":false,"required":true,"disabled":false,"onchange":"streetChange","options":[]},{"label":"小区","type":"select","field":"f_residential_area","hidden":true,"readonly":false,"required":true,"disabled":false,"options":[]},{"label":"楼号(乡/镇)","type":"input","field":"f_building","hidden":true,"readonly":false,"required":false,"disabled":false},{"label":"单元(村)","type":"input","field":"f_unit","hidden":true,"readonly":false,"required":false,"disabled":false},{"label":"楼层(组)","type":"input","field":"f_floor","hidden":true,"readonly":false,"required":false,"disabled":false},{"label":"门牌号(号)","type":"input","field":"f_room","hidden":true,"readonly":false,"required":false,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":1,"readonly":false,"required":true,"disabled":false},{"label":"预约地址","type":"textarea","field":"f_order_address","rows":1,"readonly":true,"required":false,"disabled":false},{"label":"备注","type":"textarea","field":"f_apply_remarks","rows":2,"readonly":false,"required":false,"disabled":false}],"components":[],"buttons":[{"button_name":"保存"},{"button_name":"勘察","disabled":true},{"button_name":"合同","disabled":true}],"readyEvent":"applyReadyEvent"},{"title":"勘察派工","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":1,"readonly":true,"required":true,"disabled":false}],"components":[],"buttons":[{"button_name":"保存"},{"button_name":"下发","source":"this.getParentByType($organization$).getChildByName($市场部报装$).getChildren()","button_fields":[{"label":"下发给","type":"select","field":"f_issue_man","placeholder":"请输入","readonly":false,"disabled":false,"required":true,"options":[]}],"disabled":true}]},{"title":"现场勘察","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":1,"readonly":true,"required":true,"disabled":false},{"label":"勘查结果","type":"textarea","field":"f_prospecting_result","rows":2,"readonly":false,"required":true,"disabled":false}],"components":[],"buttons":[{"button_name":"保存"},{"button_name":"提交","disabled":true}]},{"title":"合同签订","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":1,"readonly":true,"required":true,"disabled":false},{"label":"合同编号","type":"input","field":"f_contract_number","prefix":"","suffix":null,"placeholder":"请输入","readonly":true,"required":true,"default":"this.selectdata.f_apply_num","eval":true},{"label":"合同金额","type":"number","field":"f_contract_money","placeholder":"0.00","readonly":false,"required":true,"onchange":"contractMoneyChange"},{"label":"追加金额","type":"number","field":"f_add_contract_money","placeholder":"请输入","readonly":true,"required":true,"default":0},{"label":"应交金额","type":"number","field":"f_due_money","placeholder":"请输入","readonly":true,"required":true,"default":0},{"label":"合同签订时间","type":"datepicker","field":"f_contract_date","placeholder":"请选择","readonly":false,"required":true}],"components":[{"title":"补充协议","device":"pc","name":"supplemental-agreement"},{"title":"补充协议","device":"app","name":"app-supplemental-agreement"}],"buttons":[{"button_name":"保存"},{"button_name":"提交","disabled":true}]},{"title":"报装缴费","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":2,"readonly":true,"required":true,"disabled":false},{"label":"合同编号","type":"input","field":"f_contract_number","placeholder":"","readonly":true,"required":true},{"label":"合同金额","type":"number","field":"f_contract_money","placeholder":"请输入","readonly":true,"required":true},{"label":"追加款","type":"number","field":"f_add_contract_money","placeholder":"请输入","readonly":true,"required":false},{"label":"应交金额","type":"number","field":"f_due_money","placeholder":"请输入","readonly":true,"required":false},{"label":"累计缴费金额","type":"number","field":"f_cumulative_payment_money","placeholder":"请输入","readonly":true,"required":false},{"label":"未结总金额","type":"number","field":"f_surplus_money","placeholder":"请输入","readonly":true,"required":false},{"label":"付款比例","type":"input","field":"f_payment_ratio","placeholder":"请输入","readonly":true,"required":false},{"label":"累计退款金额","type":"number","field":"f_cumulative_retreat_money","placeholder":"请输入","readonly":true,"required":false,"default":0}],"components":[{"title":"缴费明细","device":"pc","name":"apply-charge-management"},{"title":"补充协议","device":"pc","name":"supplemental-agreement","mark":1},{"title":"缴费明细","device":"app","name":"app-charge-management"},{"title":"补充协议","device":"app","name":"app-supplemental-agreement","mark":1}],"buttons":[{"button_name":"保存"},{"before":"chargeBefore","button_name":"提交","disabled":true}]},{"title":"工程派工","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":1,"readonly":true,"required":true,"disabled":false}],"buttons":[{"button_name":"保存"},{"button_name":"下发","source":"this.getParentByType($organization$).getChildByName($工程部报装$).getChildren()","button_fields":[{"label":"下发给","type":"select","field":"f_issue_man","placeholder":"请输入","readonly":false,"disabled":false,"required":true,"options":[]}],"disabled":true}]},{"title":"工程施工","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":2,"readonly":true,"required":true,"disabled":false},{"label":"施工单位","type":"input","field":"f_construction_unit","readonly":false,"required":true,"disabled":false,"default":"this.$login.f.name","eval":true},{"label":"施工安装时间","type":"datepicker","field":"f_construction_date","readonly":false,"required":true,"disabled":false},{"bootstraped":"col-sm-12 col-xs-12","label":"安装项目","type":"checkbox","field":"f_install_project","readonly":false,"required":true,"disabled":false,"param":false,"options":[{"label":"入户","value":"入户"},{"label":"热水器","value":"热水器"},{"label":"壁挂炉","value":"壁挂炉"}]},{"label":"施工安装情况","type":"textarea","field":"f_install_situation","rows":2,"readonly":false,"required":true,"disabled":false},{"label":"施工备注","type":"textarea","field":"f_construction_remarks","rows":2,"readonly":false,"required":false,"disabled":false}],"onetomany":[{"title":"材料明细","hidden":false,"tables":["t_material_list"],"hiddenOperate":false,"modalSize":"large","addHidden":false,"addStyle":null,"deleteHidden":false,"deleteText":"删除","deleteMessage":null,"updateHidden":false,"updateText":"修改","fields":[{"label":"材料名称","type":"input","field":"f_material_name","placeholder":"请输入","readonly":false,"required":true},{"label":"材料型号","type":"input","field":"f_material_style","placeholder":"请输入","readonly":false,"required":true},{"label":"材料价格","type":"number","field":"f_material_price","placeholder":"请输入","readonly":false,"required":true},{"label":"材料单位","type":"input","field":"f_material_unit","placeholder":"请输入","readonly":false,"required":true},{"label":"材料数量","type":"number","field":"f_material_number","placeholder":"请输入","readonly":false,"required":true},{"label":"材料备注","type":"input","field":"f_material_remarks","placeholder":"请输入","readonly":false,"required":false}]}],"components":[{"title":"安装明细","device":"pc","name":"installation-details"},{"title":"安装明细","device":"app","name":"app-installation-details"},{"title":"用气设备","device":"pc","name":"apply-devices-management"},{"title":"用气设备","device":"app","name":"app-apply-devices-management"}],"buttons":[{"button_name":"保存"},{"before":"constructionBefore","button_name":"提交","disabled":true}]},{"title":"点火派单","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":1,"readonly":true,"required":true,"disabled":false},{"label":"施工单位","type":"input","field":"f_construction_unit","readonly":true,"required":true,"disabled":false},{"label":"施工安装时间","type":"datepicker","field":"f_construction_date","readonly":true,"required":true,"disabled":true},{"bootstraped":"col-sm-12 col-xs-12","label":"安装项目","type":"checkbox","field":"f_install_project","readonly":true,"required":true,"disabled":true,"param":false,"options":[{"label":"入户","value":"入户"},{"label":"热水器","value":"热水器"},{"label":"壁挂炉","value":"壁挂炉"}]},{"label":"施工安装情况","type":"textarea","field":"f_install_situation","rows":2,"readonly":true,"required":true,"disabled":false},{"label":"施工备注","type":"textarea","field":"f_construction_remarks","rows":2,"readonly":true,"required":false,"disabled":false}],"components":[],"buttons":[{"button_name":"保存"},{"button_name":"下发","source":"this.getParentByType($organization$).getChildByName($运营部报装$).getChildren()","button_fields":[{"label":"下发给","type":"select","field":"f_issue_man","placeholder":"请输入","readonly":false,"disabled":false,"required":true,"options":[]}],"disabled":true}]},{"title":"通气点火","tables":["t_apply"],"fields":[{"label":"工程名称","type":"input","field":"f_entry_name","readonly":true,"disabled":false,"required":true},{"label":"工程编号","type":"input","field":"f_apply_num","readonly":true,"disabled":false,"required":true},{"label":"报建类型","type":"input","field":"f_apply_type","readonly":true,"required":true,"disabled":false},{"label":"用户编号","type":"input","field":"f_userinfo_code","readonly":true,"disabled":false,"required":true},{"label":"用户名称","type":"input","field":"f_user_name","readonly":true,"disabled":false,"required":true},{"label":"用户电话","type":"tel","field":"f_phone","readonly":true,"disabled":false,"required":true},{"label":"证件类型","type":"input","field":"f_credentials","readonly":true,"required":true,"disabled":false},{"label":"证件号码","type":"input","field":"f_idnumber","readonly":true,"required":true,"disabled":false},{"label":"地址","type":"textarea","field":"f_address","rows":1,"readonly":true,"required":true,"disabled":false},{"label":"施工单位","type":"input","field":"f_construction_unit","readonly":true,"required":true,"disabled":false},{"label":"施工安装时间","type":"datepicker","field":"f_construction_date","readonly":true,"required":true,"disabled":true},{"bootstraped":"col-sm-12 col-xs-12","label":"安装项目","type":"checkbox","field":"f_install_project","readonly":true,"required":true,"disabled":true,"param":true},{"label":"施工安装情况","type":"textarea","field":"f_install_situation","rows":2,"readonly":true,"required":true,"disabled":false},{"label":"施工备注","type":"textarea","field":"f_construction_remarks","rows":2,"readonly":true,"required":false,"disabled":false},{"label":"点火人","type":"input","field":"f_igniter_people","readonly":true,"required":true,"disabled":false,"default":"this.$login.f.name","eval":true},{"label":"通气时间","type":"datepicker","field":"f_ventilate_date","readonly":true,"required":true,"disabled":true,"default":true},{"label":"通气情况","type":"textarea","field":"f_gas_result","readonly":false,"required":true,"disabled":true,"rows":"7","default":"客户如认可以下内容请签字,如有不认可之处请说明情况\n1、气密性检测合格,已对各接口处进行查漏无泄漏\n2、燃气表运转正常并告知用户。灶具点火测试正常。使用金属波纹管\n3、已向用户讲解安全常识及注意事项。发放《用户使用手册》并张贴提示标签\n4、灶具品牌 油烟机品牌\n5、热水器品牌 壁挂炉品牌\n6、金属波纹品牌。"},{"label":"通气备注","type":"textarea","field":"f_gas_result","readonly":false,"required":false,"disabled":false},{"label":"是否购买保险","type":"select","field":"f_is_insure","placeholder":"请输入","readonly":false,"disabled":false,"required":true,"options":[{"label":"是","value":"是"},{"label":"否","value":"否"}],"default":"是","onchange":"isInsureChange"},{"label":"保费开始日期","type":"datepicker","field":"f_ins_start_date","readonly":false,"required":true,"disabled":false,"default":true,"format":"yyyy-MM-dd","hidden":true},{"label":"保费结束日期","type":"datepicker","field":"f_ins_expiration_date","readonly":false,"required":true,"disabled":false,"hidden":true},{"label":"险种","type":"select","field":"f_insurance_type","readonly":false,"disabled":false,"required":true,"options":[],"param":true,"hidden":true},{"label":"保费金额","type":"number","field":"f_insurance_money","placeholder":"请输入","readonly":false,"required":true,"hidden":true},{"label":"保险备注","type":"textarea","field":"f_ins_comments","rows":2,"readonly":false,"required":false,"disabled":false,"hidden":true}],"components":[{"title":"安装明细","device":"pc","name":"installation-details"},{"title":"安装明细","device":"app","name":"app-installation-details"},{"title":"用气设备","device":"pc","name":"apply-devices-management"},{"title":"用气设备","device":"app","name":"app-apply-devices-management"}],"buttons":[{"button_name":"保存"},{"button_name":"提交","disabled":true}],"readyEvent":"gasReadyEvent"},{"title":"完工","tables":["t_apply"],"fields":[{"label":"完工","type":"input","field":"f_successful","disabled":true,"value":"---success---"}]}]}
|
|
66
65
|
|
|
67
66
|
let sum = 0
|
|
68
67
|
let jsonData = {}
|
|
@@ -388,6 +387,123 @@ export default {
|
|
|
388
387
|
}
|
|
389
388
|
}
|
|
390
389
|
},
|
|
390
|
+
async streetChange () {
|
|
391
|
+
if (isEmpty(this.show_data.f_street)) {
|
|
392
|
+
return
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
let data = {
|
|
396
|
+
tablename: 't_area',
|
|
397
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_street = '${this.show_data.f_street}'`
|
|
398
|
+
}
|
|
399
|
+
let http = new HttpResetClass()
|
|
400
|
+
let res = await http.load(
|
|
401
|
+
'POST',
|
|
402
|
+
`rs/sql/singleTable`,
|
|
403
|
+
{data: data},
|
|
404
|
+
{resolveMsg: null, rejectMsg: '集收单位查询失败!!!'}
|
|
405
|
+
)
|
|
406
|
+
|
|
407
|
+
this.setLabelOptions('集收单位', res.data.map(item => {
|
|
408
|
+
return {
|
|
409
|
+
label: item.f_residential_area,
|
|
410
|
+
value: item.f_residential_area
|
|
411
|
+
}
|
|
412
|
+
}))
|
|
413
|
+
},
|
|
414
|
+
async pcdChange () {
|
|
415
|
+
if (isEmpty(this.show_data.f_pcd)) {
|
|
416
|
+
return
|
|
417
|
+
}
|
|
418
|
+
|
|
419
|
+
let data = {
|
|
420
|
+
tablename: 't_street',
|
|
421
|
+
condition: `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}'`
|
|
422
|
+
}
|
|
423
|
+
let f_address_type = this.getLableValue('地址类型')
|
|
424
|
+
|
|
425
|
+
if (f_address_type === '民用市区') {
|
|
426
|
+
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '市区'`
|
|
427
|
+
}
|
|
428
|
+
if (f_address_type === '民用乡镇') {
|
|
429
|
+
data.condition = `f_filialeid = '${this.$login.f.orgid}' and f_pcd = '${this.show_data.f_pcd}' and f_iscity = '乡镇'`
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
let http = new HttpResetClass()
|
|
433
|
+
let res = await http.load(
|
|
434
|
+
'POST',
|
|
435
|
+
`rs/sql/singleTable`,
|
|
436
|
+
{data: data},
|
|
437
|
+
{resolveMsg: null, rejectMsg: '街道/乡镇查询失败!!!'}
|
|
438
|
+
)
|
|
439
|
+
|
|
440
|
+
this.setLabelOptions('街道/乡镇', res.data.map(item => {
|
|
441
|
+
return {
|
|
442
|
+
label: item.f_street,
|
|
443
|
+
value: item.f_street
|
|
444
|
+
}
|
|
445
|
+
}))
|
|
446
|
+
},
|
|
447
|
+
addressInitialization () {
|
|
448
|
+
this.$getConfig(this, 'UserAddress')
|
|
449
|
+
|
|
450
|
+
let f_address_type = this.show_data.f_address_type
|
|
451
|
+
|
|
452
|
+
for (const item of this.show_data.fields) {
|
|
453
|
+
if (f_address_type === '民用市区') {
|
|
454
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
455
|
+
item.hidden = false
|
|
456
|
+
item.required = true
|
|
457
|
+
}
|
|
458
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
459
|
+
item.hidden = false
|
|
460
|
+
item.required = false
|
|
461
|
+
}
|
|
462
|
+
if (item.label === '地址') {
|
|
463
|
+
item.readonly = true
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
if (f_address_type === '民用乡镇') {
|
|
467
|
+
if (item.label === '区/县' || item.label === '街道/乡镇' || item.label === '集收单位' || item.label === '门牌号') {
|
|
468
|
+
item.hidden = false
|
|
469
|
+
item.required = true
|
|
470
|
+
}
|
|
471
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层') {
|
|
472
|
+
item.hidden = false
|
|
473
|
+
item.required = false
|
|
474
|
+
}
|
|
475
|
+
if (item.label === '楼层') {
|
|
476
|
+
item.hidden = true
|
|
477
|
+
item.required = false
|
|
478
|
+
}
|
|
479
|
+
if (item.label === '地址') {
|
|
480
|
+
item.readonly = true
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
if (f_address_type === '特殊地址') {
|
|
484
|
+
if (item.label === '区/县' || item.label === '街道/乡镇') {
|
|
485
|
+
item.hidden = false
|
|
486
|
+
item.required = true
|
|
487
|
+
}
|
|
488
|
+
if (item.label === '集收单位') {
|
|
489
|
+
item.hidden = false
|
|
490
|
+
item.required = false
|
|
491
|
+
}
|
|
492
|
+
if (item.label === '楼号/组' || item.label === '单元/排' || item.label === '楼层' || item.label === '门牌号') {
|
|
493
|
+
item.hidden = true
|
|
494
|
+
item.required = false
|
|
495
|
+
}
|
|
496
|
+
if (item.label === '地址') {
|
|
497
|
+
item.readonly = false
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
if (this.show_data.f_apply_source === '线下发起' && item.label === '预约地址') {
|
|
502
|
+
item.hidden = true
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
|
|
391
507
|
async checkDuplicate(index) {
|
|
392
508
|
let http = new HttpResetClass()
|
|
393
509
|
let data = {
|
|
@@ -530,6 +646,47 @@ export default {
|
|
|
530
646
|
|
|
531
647
|
throw '终止报建!!!'
|
|
532
648
|
},
|
|
649
|
+
async getDevInfo () {
|
|
650
|
+
let data = {
|
|
651
|
+
tablename: 't_dev_info',
|
|
652
|
+
condition: `f_orgid = '${Vue.user.orgid}'`
|
|
653
|
+
}
|
|
654
|
+
let http = new HttpResetClass()
|
|
655
|
+
let res = await http.load(
|
|
656
|
+
'POST',
|
|
657
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
658
|
+
{data: data},
|
|
659
|
+
{resolveMsg: null, rejectMsg: '公司查询失败!!!'}
|
|
660
|
+
)
|
|
661
|
+
|
|
662
|
+
return res.data.map(item => {
|
|
663
|
+
return {
|
|
664
|
+
label: item.f_dev_name,
|
|
665
|
+
value: item.f_dev_name
|
|
666
|
+
}
|
|
667
|
+
})
|
|
668
|
+
},
|
|
669
|
+
async getDesignerPeople () {
|
|
670
|
+
let data = {
|
|
671
|
+
source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
|
|
672
|
+
userid: Vue.user.id
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
let http = new HttpResetClass()
|
|
676
|
+
let res = await http.load(
|
|
677
|
+
'POST',
|
|
678
|
+
`${this.$androidUtil.getProxyUrl()}/rs/search`,
|
|
679
|
+
{data: data},
|
|
680
|
+
{resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
|
|
681
|
+
)
|
|
682
|
+
|
|
683
|
+
return res.data.map(item => {
|
|
684
|
+
return {
|
|
685
|
+
label: item.name,
|
|
686
|
+
value: item.id
|
|
687
|
+
}
|
|
688
|
+
})
|
|
689
|
+
},
|
|
533
690
|
// 获取片区
|
|
534
691
|
async getSliceArea () {
|
|
535
692
|
let data = {
|
|
@@ -561,7 +718,7 @@ export default {
|
|
|
561
718
|
let http = new HttpResetClass()
|
|
562
719
|
let res = await http.load(
|
|
563
720
|
'POST',
|
|
564
|
-
`${this.$androidUtil.getProxyUrl()}rs/sql/singleTable`,
|
|
721
|
+
`${this.$androidUtil.getProxyUrl()}/rs/sql/singleTable`,
|
|
565
722
|
{data: data},
|
|
566
723
|
{resolveMsg: null, rejectMsg: '区县查询失败!!!'}
|
|
567
724
|
)
|
|
@@ -802,29 +959,32 @@ export default {
|
|
|
802
959
|
'onchange' (index) {
|
|
803
960
|
if (this.show_data.defname === '报装申请') {
|
|
804
961
|
if (
|
|
805
|
-
this.show_data.fields[index].label === '
|
|
806
|
-
this.show_data.fields[index].label === '
|
|
807
|
-
this.show_data.fields[index].label === '
|
|
808
|
-
this.show_data.fields[index].label === '
|
|
809
|
-
this.show_data.fields[index].label === '
|
|
810
|
-
this.show_data.fields[index].label === '
|
|
962
|
+
this.show_data.fields[index].label === '区/县' ||
|
|
963
|
+
this.show_data.fields[index].label === '街道/乡镇' ||
|
|
964
|
+
this.show_data.fields[index].label === '集收单位' ||
|
|
965
|
+
this.show_data.fields[index].label === '楼号/组' ||
|
|
966
|
+
this.show_data.fields[index].label === '单元/排' ||
|
|
967
|
+
this.show_data.fields[index].label === '楼层' ||
|
|
968
|
+
this.show_data.fields[index].label === '门牌号'
|
|
811
969
|
) {
|
|
812
970
|
|
|
813
|
-
let
|
|
814
|
-
let
|
|
815
|
-
let
|
|
971
|
+
let f_pcd = this.getLableValue('区/县') || ''
|
|
972
|
+
let f_street = this.getLableValue('街道/乡镇') || ''
|
|
973
|
+
let f_residential_area = this.getLableValue('集收单位') || ''
|
|
974
|
+
let f_building = this.getLableValue('楼号/组') || ''
|
|
816
975
|
let f_building_suffix = f_building ? this.config.f_building_suffix : ''
|
|
817
|
-
let f_unit = this.getLableValue('
|
|
976
|
+
let f_unit = this.getLableValue('单元/排') || ''
|
|
818
977
|
let f_unit_suffix = f_unit ? this.config.f_unit_suffix : ''
|
|
819
|
-
let f_floor = this.getLableValue('楼层
|
|
978
|
+
let f_floor = this.getLableValue('楼层') || ''
|
|
820
979
|
let f_floor_suffix = f_floor ? this.config.f_floor_suffix : ''
|
|
821
|
-
let f_room = this.getLableValue('门牌号
|
|
980
|
+
let f_room = this.getLableValue('门牌号') || ''
|
|
822
981
|
let f_room_suffix = f_room ? this.config.f_room_suffix : ''
|
|
823
982
|
|
|
824
983
|
let f_address = null
|
|
825
984
|
|
|
826
985
|
let f_address_type = this.show_data.f_address_type
|
|
827
|
-
|
|
986
|
+
f_address = f_pcd + f_street + f_residential_area + f_building + f_building_suffix + f_unit + f_unit_suffix + f_floor + f_floor_suffix + f_room + f_room_suffix
|
|
987
|
+
/*if (f_address_type === '民用城区') {
|
|
828
988
|
f_address = f_street + f_residential_area + f_building + f_building_suffix + f_unit + f_unit_suffix + f_floor + f_floor_suffix + f_room + f_room_suffix
|
|
829
989
|
}
|
|
830
990
|
if (f_address_type === '民用农村') {
|
|
@@ -832,11 +992,39 @@ export default {
|
|
|
832
992
|
}
|
|
833
993
|
if (f_address_type === '特殊城区') {
|
|
834
994
|
f_address = f_street + f_residential_area
|
|
835
|
-
}
|
|
995
|
+
}*/
|
|
836
996
|
this.setLabelValue("地址", f_address)
|
|
837
997
|
}
|
|
838
998
|
}
|
|
839
999
|
},
|
|
1000
|
+
async getDesignerPeople () {
|
|
1001
|
+
let data = {
|
|
1002
|
+
source: 'this.getParentByType($organization$).getChildByName($设计部报装$).getChildren()',
|
|
1003
|
+
userid: this.$login.f.id
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
let http = new HttpResetClass()
|
|
1007
|
+
let res = await http.load(
|
|
1008
|
+
'POST',
|
|
1009
|
+
`rs/search`,
|
|
1010
|
+
{data: data},
|
|
1011
|
+
{resolveMsg: null, rejectMsg: '设计人员查询失败!!!'}
|
|
1012
|
+
)
|
|
1013
|
+
|
|
1014
|
+
return res.data.map(item => {
|
|
1015
|
+
return {
|
|
1016
|
+
label: item.name,
|
|
1017
|
+
value: item.id
|
|
1018
|
+
}
|
|
1019
|
+
})
|
|
1020
|
+
},
|
|
1021
|
+
// 申请节点初始化
|
|
1022
|
+
'applyReadyEvent' () {
|
|
1023
|
+
this.addressInitialization()
|
|
1024
|
+
|
|
1025
|
+
this.pcdChange()
|
|
1026
|
+
this.streetChange()
|
|
1027
|
+
},
|
|
840
1028
|
// 合同金额失去焦点
|
|
841
1029
|
async 'contractMoneyChange' (index) {
|
|
842
1030
|
let data = {
|
|
@@ -879,6 +1067,34 @@ export default {
|
|
|
879
1067
|
}
|
|
880
1068
|
}))
|
|
881
1069
|
},
|
|
1070
|
+
// 选择报建项目
|
|
1071
|
+
'selectApply' (row) {
|
|
1072
|
+
this.setLabelValue('工程名称', row.f_entry_name)
|
|
1073
|
+
this.setLabelValue('工程编号', row.f_apply_num)
|
|
1074
|
+
this.setLabelValue('报建类型', row.f_apply_type)
|
|
1075
|
+
this.setLabelValue('用户名称', row.f_user_name)
|
|
1076
|
+
this.setLabelValue('用户电话', row.f_phone)
|
|
1077
|
+
this.setLabelValue('证件类型', row.f_credentials)
|
|
1078
|
+
this.setLabelValue('证件号码', row.f_idnumber)
|
|
1079
|
+
this.setLabelValue('地址', row.f_address)
|
|
1080
|
+
this.setLabelValue('累计缴费金额', row.f_cumulative_payment_money)
|
|
1081
|
+
|
|
1082
|
+
this.show_data.parentApply = JSON.parse(JSON.stringify(row))
|
|
1083
|
+
|
|
1084
|
+
delete row.id
|
|
1085
|
+
delete row.actid
|
|
1086
|
+
delete row.defid
|
|
1087
|
+
delete row.defname
|
|
1088
|
+
delete row.version
|
|
1089
|
+
delete row.f_apply_num
|
|
1090
|
+
delete row.f_sub_state
|
|
1091
|
+
delete row.f_apply_type
|
|
1092
|
+
delete row.f_process_id
|
|
1093
|
+
|
|
1094
|
+
this.show_data = Object.assign({}, this.show_data, row)
|
|
1095
|
+
|
|
1096
|
+
this.show_data.f_parent_process_id = this.show_data.parentApply.f_process_id
|
|
1097
|
+
},
|
|
882
1098
|
// 区县失去焦点
|
|
883
1099
|
async 'pcdChange' (index) {
|
|
884
1100
|
if (isEmpty(this.show_data.f_pcd)) {
|
|
@@ -918,6 +1134,18 @@ export default {
|
|
|
918
1134
|
}
|
|
919
1135
|
}))
|
|
920
1136
|
},
|
|
1137
|
+
// 选择用户档案信息
|
|
1138
|
+
'selectUserinfo' (row) {
|
|
1139
|
+
this.setLabelValue('用户编号', row.f_userinfo_code)
|
|
1140
|
+
this.setLabelValue('用户名称', row.f_user_name)
|
|
1141
|
+
this.setLabelValue('用户电话', row.f_user_phone)
|
|
1142
|
+
this.setLabelValue('证件类型', row.f_credentials)
|
|
1143
|
+
this.setLabelValue('证件号码', row.f_idnumber)
|
|
1144
|
+
this.setLabelValue('地址', row.f_address)
|
|
1145
|
+
|
|
1146
|
+
this.show_data.f_userinfo_id = row.f_userinfo_id
|
|
1147
|
+
this.show_data.f_userinfo_code = row.f_userinfo_code
|
|
1148
|
+
},
|
|
921
1149
|
// 地址类型失去焦点
|
|
922
1150
|
'addressTypeChange' (index) {
|
|
923
1151
|
this.setLabelValue('街道/乡镇', null)
|
|
@@ -0,0 +1,250 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="margin-bottom: 20px" class="form-group select-overspread">
|
|
3
|
+
<label class="control-label-justify control-label col-sm-3">选择项目</label>
|
|
4
|
+
<div class="col-sm-10" >
|
|
5
|
+
<button class="button_search button_spacing" type="button" style="width: max-content;position: absolute" @click="openSelect" :disabled="mark === 1">选择</button>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<modal v-if="showselect" :show.sync="showselect" width="80%" title="用户信息" v-ref:modal large backdrop="false">
|
|
10
|
+
<article slot="modal-body" class="modal-body" style="height: 600px!important;">
|
|
11
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
12
|
+
<criteria partial='criteria' @condition-changed='$parent.$parent.searchCondition' v-ref:cri>
|
|
13
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
14
|
+
<div class="row">
|
|
15
|
+
<div class="form-group col-sm-3">
|
|
16
|
+
<label class="font_normal_body">项目编号:</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" placeholder='项目编号' v-model="model.f_apply_num"
|
|
18
|
+
v-on:keyup.enter="search"
|
|
19
|
+
condition="u.f_apply_num = '{}'">
|
|
20
|
+
</div>
|
|
21
|
+
<div class="form-group col-sm-3">
|
|
22
|
+
<label class="font_normal_body">项目名称:</label>
|
|
23
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_entry_name"
|
|
24
|
+
v-on:keyup.enter="search" condition="u.f_entry_name like '%{}%'" placeholder='项目名称'>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-3">
|
|
27
|
+
<label class="font_normal_body">客户名称:</label>
|
|
28
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
29
|
+
v-on:keyup.enter="search" condition="u.f_user_name = '{}'" placeholder='客户名称'>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div class="form-group col-sm-3 button-range">
|
|
33
|
+
<button class="button_search button_spacing" @click.prevent="search" v-el:cx>查询</button>
|
|
34
|
+
<button class="button_clear button_spacing" @click.prevent="$parent.$parent.$parent.clear()">清空</button>
|
|
35
|
+
<div
|
|
36
|
+
:class="{'button_shrink_top':$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.criteriaShow}"
|
|
37
|
+
@click="$parent.$parent.$parent.criteriaShow = !$parent.$parent.$parent.criteriaShow"
|
|
38
|
+
class="button_spacing"
|
|
39
|
+
style="float: right">
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="row" v-show="$parent.$parent.$parent.criteriaShow">
|
|
44
|
+
<div class="form-group col-sm-3">
|
|
45
|
+
<label class="font_normal_body">电  话:</label>
|
|
46
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_phone"
|
|
47
|
+
v-on:keyup.enter="search" condition="u.f_phone like '%{}%'" placeholder='联系电话'>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="form-group col-sm-3">
|
|
50
|
+
<label class="font_normal_body">地  址:</label>
|
|
51
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
52
|
+
v-on:keyup.enter="search" condition="u.f_address like '%{}%'" placeholder='详细地址'>
|
|
53
|
+
</div>
|
|
54
|
+
<div class="form-group col-sm-3">
|
|
55
|
+
<label class="font_normal_body">报建类型:</label>
|
|
56
|
+
<v-select
|
|
57
|
+
v-model="model.f_apply_type"
|
|
58
|
+
placeholder='报建类型'
|
|
59
|
+
condition="u.f_apply_type like '%{}%'"
|
|
60
|
+
:value.sync="model.f_apply_type"
|
|
61
|
+
:options='$parent.$parent.$parent.applyType'
|
|
62
|
+
class="select select_list"
|
|
63
|
+
:value-single="true"
|
|
64
|
+
@change="$parent.$parent.$parent.applyTypeChange()"
|
|
65
|
+
close-on-select ></v-select>
|
|
66
|
+
</div>
|
|
67
|
+
<div class="form-group col-sm-3">
|
|
68
|
+
<label class="font_normal_body">办理环节:</label>
|
|
69
|
+
<v-select
|
|
70
|
+
v-model="model.defname"
|
|
71
|
+
placeholder='办理环节'
|
|
72
|
+
condition="act.defname = '{}'"
|
|
73
|
+
:value.sync="model.defname"
|
|
74
|
+
:options='$parent.$parent.$parent.defnames'
|
|
75
|
+
class="select select_list"
|
|
76
|
+
:value-single="true"
|
|
77
|
+
close-on-select ></v-select>
|
|
78
|
+
</div>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
</criteria>
|
|
82
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
83
|
+
<template partial='head'>
|
|
84
|
+
<tr>
|
|
85
|
+
<th style="white-space: nowrap;">序号</th>
|
|
86
|
+
<th style="white-space: nowrap;">项目编号</th>
|
|
87
|
+
<th style="white-space: nowrap;">项目名称</th>
|
|
88
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
89
|
+
<th style="white-space: nowrap;">电话</th>
|
|
90
|
+
<th style="white-space: nowrap;">地址</th>
|
|
91
|
+
<th style="white-space: nowrap;">报建类型</th>
|
|
92
|
+
<th style="white-space: nowrap;">办理环节</th>
|
|
93
|
+
<th style="white-space: nowrap;">收费金额</th>
|
|
94
|
+
<th style="white-space: nowrap;">选择</th>
|
|
95
|
+
</tr>
|
|
96
|
+
</template>
|
|
97
|
+
<template partial='body'>
|
|
98
|
+
<tr >
|
|
99
|
+
<td style="text-align: center;">
|
|
100
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
101
|
+
</td>
|
|
102
|
+
<td style="text-align: center;">
|
|
103
|
+
<nobr><font>{{ row.f_apply_num }}</font></nobr>
|
|
104
|
+
</td>
|
|
105
|
+
<td style="text-align: center;">
|
|
106
|
+
<nobr><font>{{ row.f_entry_name }}</font></nobr>
|
|
107
|
+
</td>
|
|
108
|
+
<td style="text-align: center;">
|
|
109
|
+
<nobr><font>{{ row.f_user_name }}</font></nobr>
|
|
110
|
+
</td>
|
|
111
|
+
<td style="text-align: center;">
|
|
112
|
+
<nobr><font>{{ row.f_phone }}</font></nobr>
|
|
113
|
+
</td>
|
|
114
|
+
<td style="text-align: center;">
|
|
115
|
+
<nobr><font>{{ row.f_address }}</font></nobr>
|
|
116
|
+
</td>
|
|
117
|
+
<td style="text-align: center;">
|
|
118
|
+
<nobr><font>{{ row.f_apply_type }}</font></nobr>
|
|
119
|
+
</td>
|
|
120
|
+
<td style="text-align: center;">
|
|
121
|
+
<nobr><font>{{ row.defname }}</font></nobr>
|
|
122
|
+
</td>
|
|
123
|
+
<td style="text-align: center;">
|
|
124
|
+
<nobr><font>{{ row.f_cumulative_payment_money }}</font></nobr>
|
|
125
|
+
</td>
|
|
126
|
+
<td style="text-align: center;">
|
|
127
|
+
<nobr><font>
|
|
128
|
+
<button type="button" name="button" class="button_export" @click.prevent="$parent.$parent.$parent.$parent.select(row)">确认选择</button>
|
|
129
|
+
</font></nobr>
|
|
130
|
+
</td>
|
|
131
|
+
</tr>
|
|
132
|
+
</template>
|
|
133
|
+
</data-grid>
|
|
134
|
+
</criteria-paged>
|
|
135
|
+
</article>
|
|
136
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
137
|
+
</footer>
|
|
138
|
+
</modal>
|
|
139
|
+
</template>
|
|
140
|
+
<script>
|
|
141
|
+
import {PagedList} from 'vue-client'
|
|
142
|
+
import Vue from 'vue'
|
|
143
|
+
import {isEmpty} from "../../../Util";
|
|
144
|
+
|
|
145
|
+
export default {
|
|
146
|
+
title: '收费管理',
|
|
147
|
+
props: {
|
|
148
|
+
selectdata: {
|
|
149
|
+
type: Object
|
|
150
|
+
},
|
|
151
|
+
mark: {
|
|
152
|
+
type: Number,
|
|
153
|
+
default: 0
|
|
154
|
+
}
|
|
155
|
+
},
|
|
156
|
+
data () {
|
|
157
|
+
return {
|
|
158
|
+
showselect: false,
|
|
159
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/supervisory`, 20, {
|
|
160
|
+
data: {
|
|
161
|
+
id: Vue.user.id,
|
|
162
|
+
orgid: Vue.user.orgid
|
|
163
|
+
}
|
|
164
|
+
}),
|
|
165
|
+
criteriaShow: false,
|
|
166
|
+
defnames: [{label: '全部', value: ''}]
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
ready () {
|
|
170
|
+
},
|
|
171
|
+
methods: {
|
|
172
|
+
async applyTypeChange () {
|
|
173
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
174
|
+
let res = await this.$resetpost(`${this.$androidUtil.getProxyUrl()}/rs/logic/getDefnameByType`,
|
|
175
|
+
{ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
|
|
176
|
+
{resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
180
|
+
} else {
|
|
181
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
182
|
+
}
|
|
183
|
+
},
|
|
184
|
+
select (row) {
|
|
185
|
+
this.$dispatch('selectApply', row)
|
|
186
|
+
|
|
187
|
+
this.showselect = false
|
|
188
|
+
},
|
|
189
|
+
searchCondition (args) {
|
|
190
|
+
args.condition = `${args.condition} and act.defname != '完工' and act.state = '开始活动' and u.f_apply_type != '退款报建' and u.f_cumulative_payment_money > 0`
|
|
191
|
+
|
|
192
|
+
this.model.search(args.condition, args.model)
|
|
193
|
+
},
|
|
194
|
+
clear () {
|
|
195
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
196
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
197
|
+
})
|
|
198
|
+
},
|
|
199
|
+
openSelect () {
|
|
200
|
+
this.showselect = true
|
|
201
|
+
setTimeout(() => {
|
|
202
|
+
this.$refs.cp.$refs.cri.search()
|
|
203
|
+
}, 100)
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
events: {
|
|
207
|
+
},
|
|
208
|
+
computed: {
|
|
209
|
+
applyType () {
|
|
210
|
+
return [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
watch: {
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
</script>
|
|
217
|
+
<style scoped>
|
|
218
|
+
.control-label-justify {
|
|
219
|
+
display: inline-block;
|
|
220
|
+
vertical-align: top;
|
|
221
|
+
width: 110px;
|
|
222
|
+
text-align: justify;
|
|
223
|
+
font-family: PingFang-SC-Bold;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.control-label-justify::after {
|
|
227
|
+
content: "";
|
|
228
|
+
display: inline-block;
|
|
229
|
+
width: 100%;
|
|
230
|
+
overflow: hidden;
|
|
231
|
+
height: 0;
|
|
232
|
+
}
|
|
233
|
+
.input_view{
|
|
234
|
+
padding: 8px;
|
|
235
|
+
background-color: #ffffff;
|
|
236
|
+
border-radius: 2px;
|
|
237
|
+
border: solid 1px #c7c7c7!important;
|
|
238
|
+
color: #333333!important;
|
|
239
|
+
font-size: 15px!important;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.input_view[readonly]{
|
|
243
|
+
border: 1px solid #DDD!important;
|
|
244
|
+
color:#ACA899!important;
|
|
245
|
+
}
|
|
246
|
+
.input_view:disabled{
|
|
247
|
+
border: 1px solid #DDD!important;
|
|
248
|
+
color:#ACA899!important;
|
|
249
|
+
}
|
|
250
|
+
</style>
|
|
@@ -0,0 +1,182 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div style="margin-bottom: 20px" class="form-group select-overspread">
|
|
3
|
+
<label class="control-label-justify control-label col-sm-3">选择用户</label>
|
|
4
|
+
<div class="col-sm-10" >
|
|
5
|
+
<button class="button_search button_spacing" type="button" style="width: max-content;position: absolute" @click="openSelect" :disabled="mark === 1">选择</button>
|
|
6
|
+
</div>
|
|
7
|
+
</div>
|
|
8
|
+
|
|
9
|
+
<modal v-if="showselect" :show.sync="showselect" width="80%" title="用户信息" v-ref:modal large backdrop="false">
|
|
10
|
+
<article slot="modal-body" class="modal-body" style="height: 600px!important;">
|
|
11
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
12
|
+
<criteria partial='criteria' @condition-changed='$parent.$parent.searchCondition' v-ref:cri>
|
|
13
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
14
|
+
<div class="row">
|
|
15
|
+
<div class="form-group col-sm-3">
|
|
16
|
+
<label class="font_normal_body">客户编号:</label>
|
|
17
|
+
<input type="text" style="width:60%" class="input_search" placeholder='客户编号' v-model="model.f_userinfo_code"
|
|
18
|
+
v-on:keyup.enter="search"
|
|
19
|
+
condition="ui.f_userinfo_code = '{}'">
|
|
20
|
+
</div>
|
|
21
|
+
<div class="form-group col-sm-3">
|
|
22
|
+
<label class="font_normal_body">客户名称:</label>
|
|
23
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_name"
|
|
24
|
+
v-on:keyup.enter="search" condition="ui.f_user_name like '%{}%'" placeholder='客户名称'>
|
|
25
|
+
</div>
|
|
26
|
+
<div class="form-group col-sm-3">
|
|
27
|
+
<label class="font_normal_body">客户电话:</label>
|
|
28
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_user_phone"
|
|
29
|
+
v-on:keyup.enter="search" condition="ui.f_user_phone = '{}'" placeholder='客户电话'>
|
|
30
|
+
</div>
|
|
31
|
+
|
|
32
|
+
<div class="form-group col-sm-3 button-range">
|
|
33
|
+
<button class="button_search button_spacing" @click.prevent="search" v-el:cx>查询</button>
|
|
34
|
+
<button class="button_clear button_spacing" @click.prevent="$parent.$parent.$parent.clear()">清空</button>
|
|
35
|
+
<div
|
|
36
|
+
:class="{'button_shrink_top':$parent.$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.$parent.criteriaShow}"
|
|
37
|
+
@click="$parent.$parent.$parent.criteriaShow = !$parent.$parent.$parent.criteriaShow"
|
|
38
|
+
class="button_spacing"
|
|
39
|
+
style="float: right">
|
|
40
|
+
</div>
|
|
41
|
+
</div>
|
|
42
|
+
</div>
|
|
43
|
+
<div class="row" v-show="$parent.$parent.$parent.criteriaShow">
|
|
44
|
+
<div class="form-group col-sm-3">
|
|
45
|
+
<label class="font_normal_body">客户地址:</label>
|
|
46
|
+
<input type="text" style="width:60%" class="input_search" v-model="model.f_address"
|
|
47
|
+
v-on:keyup.enter="search" condition="ua.f_address like '%{}%'" placeholder='客户地址'>
|
|
48
|
+
</div>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</criteria>
|
|
52
|
+
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy" style="height: 100%">
|
|
53
|
+
<template partial='head'>
|
|
54
|
+
<tr>
|
|
55
|
+
<th style="white-space: nowrap;">序号</th>
|
|
56
|
+
<th style="white-space: nowrap;">客户编号</th>
|
|
57
|
+
<th style="white-space: nowrap;">客户名称</th>
|
|
58
|
+
<th style="white-space: nowrap;">客户电话</th>
|
|
59
|
+
<th style="white-space: nowrap;">地址信息</th>
|
|
60
|
+
<th style="white-space: nowrap;">选择</th>
|
|
61
|
+
</tr>
|
|
62
|
+
</template>
|
|
63
|
+
<template partial='body'>
|
|
64
|
+
<tr >
|
|
65
|
+
<td style="text-align: center;">
|
|
66
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
67
|
+
</td>
|
|
68
|
+
<td style="text-align: center;">
|
|
69
|
+
<nobr><font>{{ row.f_userinfo_code }}</font></nobr>
|
|
70
|
+
</td>
|
|
71
|
+
<td style="text-align: center;">
|
|
72
|
+
<nobr><font>{{ row.f_user_name }}</font></nobr>
|
|
73
|
+
</td>
|
|
74
|
+
<td style="text-align: center;">
|
|
75
|
+
<nobr><font>{{ row.f_user_phone }}</font></nobr>
|
|
76
|
+
</td>
|
|
77
|
+
<td style="text-align: center;">
|
|
78
|
+
<nobr><font>{{ row.f_address }}</font></nobr>
|
|
79
|
+
</td>
|
|
80
|
+
<td style="text-align: center;">
|
|
81
|
+
<nobr><font>
|
|
82
|
+
<button type="button" name="button" class="button_export" @click.prevent="$parent.$parent.$parent.$parent.select(row)">确认选择</button>
|
|
83
|
+
</font></nobr>
|
|
84
|
+
</td>
|
|
85
|
+
</tr>
|
|
86
|
+
</template>
|
|
87
|
+
</data-grid>
|
|
88
|
+
</criteria-paged>
|
|
89
|
+
</article>
|
|
90
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
91
|
+
</footer>
|
|
92
|
+
</modal>
|
|
93
|
+
</template>
|
|
94
|
+
<script>
|
|
95
|
+
import {PagedList} from 'vue-client'
|
|
96
|
+
import Vue from 'vue'
|
|
97
|
+
|
|
98
|
+
export default {
|
|
99
|
+
title: '收费管理',
|
|
100
|
+
props: {
|
|
101
|
+
selectdata: {
|
|
102
|
+
type: Object
|
|
103
|
+
},
|
|
104
|
+
mark: {
|
|
105
|
+
type: Number,
|
|
106
|
+
default: 0
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
data () {
|
|
110
|
+
return {
|
|
111
|
+
showselect: false,
|
|
112
|
+
model: new PagedList(`${this.$androidUtil.getProxyUrl()}/rs/sql/applyGetUserinfos`, 20, null),
|
|
113
|
+
criteriaShow: false
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
ready () {
|
|
117
|
+
},
|
|
118
|
+
methods: {
|
|
119
|
+
select (row) {
|
|
120
|
+
this.$dispatch('selectUserinfo', row)
|
|
121
|
+
|
|
122
|
+
this.showselect = false
|
|
123
|
+
},
|
|
124
|
+
searchCondition (args) {
|
|
125
|
+
args.condition = `${args.condition} and ui.f_filialeid = '${Vue.user.orgid}'`
|
|
126
|
+
|
|
127
|
+
this.model.search(args.condition, args.model)
|
|
128
|
+
},
|
|
129
|
+
clear () {
|
|
130
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
131
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
132
|
+
})
|
|
133
|
+
},
|
|
134
|
+
openSelect () {
|
|
135
|
+
this.showselect = true
|
|
136
|
+
setTimeout(() => {
|
|
137
|
+
this.$refs.cp.$refs.cri.search()
|
|
138
|
+
}, 100)
|
|
139
|
+
}
|
|
140
|
+
},
|
|
141
|
+
events: {
|
|
142
|
+
},
|
|
143
|
+
computed: {
|
|
144
|
+
},
|
|
145
|
+
watch: {
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
</script>
|
|
149
|
+
<style scoped>
|
|
150
|
+
.control-label-justify {
|
|
151
|
+
display: inline-block;
|
|
152
|
+
vertical-align: top;
|
|
153
|
+
width: 110px;
|
|
154
|
+
text-align: justify;
|
|
155
|
+
font-family: PingFang-SC-Bold;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.control-label-justify::after {
|
|
159
|
+
content: "";
|
|
160
|
+
display: inline-block;
|
|
161
|
+
width: 100%;
|
|
162
|
+
overflow: hidden;
|
|
163
|
+
height: 0;
|
|
164
|
+
}
|
|
165
|
+
.input_view{
|
|
166
|
+
padding: 8px;
|
|
167
|
+
background-color: #ffffff;
|
|
168
|
+
border-radius: 2px;
|
|
169
|
+
border: solid 1px #c7c7c7!important;
|
|
170
|
+
color: #333333!important;
|
|
171
|
+
font-size: 15px!important;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
.input_view[readonly]{
|
|
175
|
+
border: 1px solid #DDD!important;
|
|
176
|
+
color:#ACA899!important;
|
|
177
|
+
}
|
|
178
|
+
.input_view:disabled{
|
|
179
|
+
border: 1px solid #DDD!important;
|
|
180
|
+
color:#ACA899!important;
|
|
181
|
+
}
|
|
182
|
+
</style>
|