apply-clients 3.0.4 → 3.0.5-ys
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/.gradle/3.5/file-changes/last-build.bin +0 -0
- package/.gradle/3.5/taskHistory/taskHistory.lock +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.bin +0 -0
- package/.gradle/5.2.1/executionHistory/executionHistory.lock +0 -0
- package/.gradle/5.2.1/fileChanges/last-build.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.bin +0 -0
- package/.gradle/5.2.1/fileHashes/fileHashes.lock +0 -0
- package/{dist-android/static/.gitkeep → .gradle/5.2.1/gc.properties} +0 -0
- package/.gradle/buildOutputCleanup/built.bin +0 -0
- package/.gradle/buildOutputCleanup/cache.properties +2 -0
- package/.gradle/buildOutputCleanup/cache.properties.lock +1 -0
- package/.gradle/vcs-1/gc.properties +0 -0
- package/doc//346/226/260/347/224/250/346/210/267/350/212/261/345/220/215/345/206/214/345/257/274/345/205/245/346/250/241/346/235/277.xls +0 -0
- package/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/gradle/wrapper/gradle-wrapper.properties +5 -0
- package/gradlew +0 -0
- package/gradlew.bat +84 -0
- package/index.html +26 -17
- package/package.json +8 -5
- package/src/App.vue +14 -21
- package/src/apply.js +55 -2
- package/src/applyAndroid.js +1 -1
- package/src/bootstrap/less/aofeng/animate.min.css +11 -0
- package/src/bootstrap/less/aofeng/standard.less +591 -0
- package/src/bootstrap/less/aofeng/themeOne/BinaryTemplate.less +478 -0
- package/src/bootstrap/less/aofeng/themeOne/loginStyle.less +1586 -0
- package/src/bootstrap/less/aofeng/themeOne/systemStyle.less +1915 -0
- package/src/bootstrap/less/aofeng/themeOne.less +10 -0
- package/src/bootstrap/less/aofeng/themeTwo/newStyle1.less +415 -0
- package/src/bootstrap/less/aofeng/themeTwo.less +2 -0
- package/src/bootstrap/less/bootstrap.less +11 -0
- package/src/bootstrap/less/forms.less +2 -2
- package/src/bootstrap/less/manageStyle/manageChile.less +180 -0
- package/src/bootstrap/less/manageStyle/manageStyle.less +1103 -0
- package/src/bootstrap/less/manageStyle/qinhuaStyle.less +116 -0
- package/src/bootstrap/less/manageStyle/safeStyle.less +498 -0
- package/src/bootstrap/less/manageStyle/telephoneanaly.less +92 -0
- package/src/bootstrap/less/navs.less +2 -3
- package/src/bootstrap/less/stand.less +207 -0
- package/src/bootstrap/less/standard.less +503 -0
- package/src/bootstrap/less/systemStyle.less +860 -0
- package/src/bootstrap/less/variables.less +2 -1
- package/src/components/Util.js +26 -22
- package/src/components/app_apply/ApplyDownList.vue +21 -8
- package/src/components/app_apply/ApplyToDoList.vue +94 -59
- package/src/components/app_apply/ApplyUserInfo.vue +3 -3
- package/src/components/app_apply/FieldExploration.vue +2 -2
- package/src/components/app_apply/PlaceControler.vue +16 -19
- package/src/components/app_apply/ServiceControl.vue +1136 -16
- package/src/components/app_apply/ServiceView.vue +395 -167
- package/src/components/app_apply/Ventilation.vue +2 -2
- package/src/components/image/doc.jpg +0 -0
- package/src/components/image/excel.jpg +0 -0
- package/src/components/image/pdf.jpg +0 -0
- package/src/components/image//345/233/276/345/261/20212.png +0 -0
- package/src/components/image//345/233/276/345/261/20213.png +0 -0
- package/src/components/image//345/233/276/345/261/20216.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422.png +0 -0
- package/src/components/image//345/244/232/350/276/271/345/275/2422/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2062.png +0 -0
- package/src/components/image//346/244/255/345/234/2065.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2352.png +0 -0
- package/src/components/image//346/244/255/345/234/2065/346/213/267/350/264/2353.png +0 -0
- package/src/components/image//347/273/2044.png +0 -0
- package/src/components/image//347/273/2045.png +0 -0
- package/src/components/image//347/273/2046.png +0 -0
- package/src/components/image//350/257/235/345/212/241/347/273/237/350/256/241/346/225/260/346/215/256/345/261/225/347/244/272.png +0 -0
- package/src/components/product/BatchFunction/BatchPay.vue +694 -0
- package/src/components/product/Bill/BillXSDMakeInfo.vue +1 -1
- package/src/components/product/Function/InstallFunction.vue +17 -13
- package/src/components/product/Function/InstallInfoSelect.vue +293 -71
- package/src/components/product/Function/Service/FunctionServiceControl.vue +50 -5
- package/src/components/product/Function/functions/AddContract.vue +161 -139
- package/src/components/product/Function/functions/BuyerMessage.vue +285 -137
- package/src/components/product/Function/functions/InstallFee.vue +1141 -912
- package/src/components/product/Function/functions/InstallFeeInfo.vue +5 -5
- package/src/components/product/Function/functions/PrestoreFee.vue +4 -4
- package/src/components/product/Function/functions/StopInstall.vue +14 -2
- package/src/components/product/HiddenDangersInProjects/AddHiddenDangers.vue +965 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectList.vue +433 -0
- package/src/components/product/HiddenDangersInProjects/HiddenProjectSchedule.vue +146 -0
- package/src/components/product/MaterialBatchList.vue +109 -0
- package/src/components/product/MaterialBatchManage.vue +34 -0
- package/src/components/product/Procedures/ProceduresDataGrid.vue +1022 -0
- package/src/components/product/Process/ExplorationSelect.vue +767 -416
- package/src/components/product/Process/ExplorationUser.vue +96 -51
- package/src/components/product/Process/MaterialUseList.vue +159 -0
- package/src/components/product/Process/ModifyUserFiles.vue +1 -1
- package/src/components/product/Process/ProcessInfo/history_control.vue +29 -6
- package/src/components/product/Process/Processes/CustomerBuildingMessage.vue +5 -5
- package/src/components/product/Process/Processes/CustomerEquipmentMessage.vue +1 -1
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +499 -210
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +1457 -753
- package/src/components/product/Process/Processes/ProjectSettlement.vue +535 -24
- package/src/components/product/Process/Processes/ReceiveBatch.vue +301 -121
- package/src/components/product/Process/Processes/Service/ApplyChangeHistory.vue +105 -0
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +87 -68
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +2521 -422
- package/src/components/product/Process/ShowBackReason.vue +1 -1
- package/src/components/product/ProjectManagement/AddProjectSchedule.vue +896 -0
- package/src/components/product/ProjectManagement/ProjectList.vue +406 -0
- package/src/components/product/ProjectManagement/ProjectSchedule.vue +144 -0
- package/src/components/product/ReportForm/PaymentRecord.vue +801 -0
- package/src/components/product/ReportForm/PaymentRecordAdd.vue +105 -0
- package/src/components/product/ReportForm/PaymentRecordBad.vue +1273 -0
- package/src/components/product/ReportForm/PaymentRecordDetailed.vue +472 -0
- package/src/components/product/ReportForm/PaymentRecordTooBad.vue +60 -0
- package/src/components/product/ReportForm/PaymentReport.vue +532 -0
- package/src/components/product/ReportForm/ProjectReport.vue +447 -0
- package/src/components/product/ReportForm/SettlementReport.vue +336 -0
- package/src/components/product/ReportForm/SummaryReport.vue +451 -0
- package/src/components/product/ReportForm/UserReport.vue +402 -0
- package/src/components/product/ServiceView.vue +383 -123
- package/src/components/product/Statistics/ApplyStatisticsROOT.vue +27 -0
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +247 -23
- package/src/components/product/Supervisory/SupervisoryControl.vue +104 -44
- package/src/components/product/Supervisory/SupervisoryList.vue +412 -54
- package/src/components/product/Supervisory/SupervisoryhCart.vue +6 -3
- package/src/components/product/VueUtils/ApplyUpload.vue +310 -0
- package/src/components/product/VueUtils/Tree.vue +330 -0
- package/src/components/product/VueUtils/rightview/InstallCardList2.vue +35 -44
- package/src/components/product/VueUtils/rightview/carddetail/BuildFeeDetail2.vue +1 -1
- package/src/components/product/VueUtils/rightview/carddetail/ChangeFeeDetail2.vue +1 -1
- package/src/components/product/VueUtils/rightview/carddetail/ReduceFeeDetail2.vue +1 -1
- package/src/components/product/VueUtils/rightview/carddetail/StopApplyDetail2.vue +2 -2
- package/src/main.js +4 -2
- package/src/stores/ApplyLoadParams.js +1 -1
- package/src/stores/PagedListLogic.js +173 -0
- package/{dist-android/static/denglu.png → static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png} +0 -0
- package/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/static/newStyle/clear.png +0 -0
- package/static/newStyle/fife.png +0 -0
- package/static/newStyle/hidden.png +0 -0
- package/static/newStyle/label-clear.png +0 -0
- package/{dist-android/static/psicon.png → static/newStyle/left-img.png} +0 -0
- package/static/newStyle/list_ok.png +0 -0
- package/static/newStyle/login-check.png +0 -0
- package/static/newStyle/login-con.png +0 -0
- package/static/newStyle/login-do.gif +0 -0
- package/static/newStyle/login-f.png +0 -0
- package/static/newStyle/login-info.png +0 -0
- package/static/newStyle/login-left.png +0 -0
- package/static/newStyle/login-org.png +0 -0
- package/static/newStyle/login-pwd.png +0 -0
- package/static/newStyle/login-user.png +0 -0
- package/static/newStyle/loginbg.gif +0 -0
- package/static/newStyle/loginbg1280.gif +0 -0
- package/static/newStyle/loginbg1366.gif +0 -0
- package/static/newStyle/setting.png +0 -0
- package/static/newStyle/setting1.png +0 -0
- package/static/newStyle/shirk.png +0 -0
- package/static/newStyle/stretch_bottom.png +0 -0
- package/static/newStyle/stretch_left.png +0 -0
- package/static/newStyle/stretch_right.png +0 -0
- package/static/newStyle/stretch_top.png +0 -0
- package/static/newStyle/system-off.png +0 -0
- package/success.rar +0 -0
- package/.npmignore +0 -12
- package/dist-android/index.html +0 -3
- package/dist-android/static/0.js +0 -2
- package/dist-android/static/0.js.map +0 -1
- package/dist-android/static/1.js +0 -2
- package/dist-android/static/1.js.map +0 -1
- package/dist-android/static/10.js +0 -2
- package/dist-android/static/10.js.map +0 -1
- package/dist-android/static/11.js +0 -2
- package/dist-android/static/11.js.map +0 -1
- package/dist-android/static/12.js +0 -2
- package/dist-android/static/12.js.map +0 -1
- package/dist-android/static/13.js +0 -2
- package/dist-android/static/13.js.map +0 -1
- package/dist-android/static/14.js +0 -2
- package/dist-android/static/14.js.map +0 -1
- package/dist-android/static/15.js +0 -2
- package/dist-android/static/15.js.map +0 -1
- package/dist-android/static/16.js +0 -2
- package/dist-android/static/16.js.map +0 -1
- package/dist-android/static/17.js +0 -2
- package/dist-android/static/17.js.map +0 -1
- package/dist-android/static/18.js +0 -2
- package/dist-android/static/18.js.map +0 -1
- package/dist-android/static/19.js +0 -2
- package/dist-android/static/19.js.map +0 -1
- package/dist-android/static/2.js +0 -2
- package/dist-android/static/2.js.map +0 -1
- package/dist-android/static/20.js +0 -2
- package/dist-android/static/20.js.map +0 -1
- package/dist-android/static/21.js +0 -2
- package/dist-android/static/21.js.map +0 -1
- package/dist-android/static/22.js +0 -2
- package/dist-android/static/22.js.map +0 -1
- package/dist-android/static/23.js +0 -2
- package/dist-android/static/23.js.map +0 -1
- package/dist-android/static/24.js +0 -2
- package/dist-android/static/24.js.map +0 -1
- package/dist-android/static/25.js +0 -2
- package/dist-android/static/25.js.map +0 -1
- package/dist-android/static/26.js +0 -2
- package/dist-android/static/26.js.map +0 -1
- package/dist-android/static/27.js +0 -2
- package/dist-android/static/27.js.map +0 -1
- package/dist-android/static/28.js +0 -2
- package/dist-android/static/28.js.map +0 -1
- package/dist-android/static/29.js +0 -2
- package/dist-android/static/29.js.map +0 -1
- package/dist-android/static/3.js +0 -2
- package/dist-android/static/3.js.map +0 -1
- package/dist-android/static/30.js +0 -2
- package/dist-android/static/30.js.map +0 -1
- package/dist-android/static/31.js +0 -2
- package/dist-android/static/31.js.map +0 -1
- package/dist-android/static/32.js +0 -2
- package/dist-android/static/32.js.map +0 -1
- package/dist-android/static/33.js +0 -2
- package/dist-android/static/33.js.map +0 -1
- package/dist-android/static/34.js +0 -2
- package/dist-android/static/34.js.map +0 -1
- package/dist-android/static/35.js +0 -2
- package/dist-android/static/35.js.map +0 -1
- package/dist-android/static/36.js +0 -2
- package/dist-android/static/36.js.map +0 -1
- package/dist-android/static/37.js +0 -2
- package/dist-android/static/37.js.map +0 -1
- package/dist-android/static/38.js +0 -2
- package/dist-android/static/38.js.map +0 -1
- package/dist-android/static/39.js +0 -2
- package/dist-android/static/39.js.map +0 -1
- package/dist-android/static/4.js +0 -2
- package/dist-android/static/4.js.map +0 -1
- package/dist-android/static/40.js +0 -2
- package/dist-android/static/40.js.map +0 -1
- package/dist-android/static/41.js +0 -2
- package/dist-android/static/41.js.map +0 -1
- package/dist-android/static/42.js +0 -2
- package/dist-android/static/42.js.map +0 -1
- package/dist-android/static/43.js +0 -2
- package/dist-android/static/43.js.map +0 -1
- package/dist-android/static/44.js +0 -2
- package/dist-android/static/44.js.map +0 -1
- package/dist-android/static/45.js +0 -2
- package/dist-android/static/45.js.map +0 -1
- package/dist-android/static/46.js +0 -2
- package/dist-android/static/46.js.map +0 -1
- package/dist-android/static/47.js +0 -2
- package/dist-android/static/47.js.map +0 -1
- package/dist-android/static/48.js +0 -2
- package/dist-android/static/48.js.map +0 -1
- package/dist-android/static/49.js +0 -2
- package/dist-android/static/49.js.map +0 -1
- package/dist-android/static/5.js +0 -2
- package/dist-android/static/5.js.map +0 -1
- package/dist-android/static/50.js +0 -2
- package/dist-android/static/50.js.map +0 -1
- package/dist-android/static/51.js +0 -2
- package/dist-android/static/51.js.map +0 -1
- package/dist-android/static/52.js +0 -2
- package/dist-android/static/52.js.map +0 -1
- package/dist-android/static/53.js +0 -2
- package/dist-android/static/53.js.map +0 -1
- package/dist-android/static/54.js +0 -2
- package/dist-android/static/54.js.map +0 -1
- package/dist-android/static/55.js +0 -2
- package/dist-android/static/55.js.map +0 -1
- package/dist-android/static/56.js +0 -2
- package/dist-android/static/56.js.map +0 -1
- package/dist-android/static/57.js +0 -2
- package/dist-android/static/57.js.map +0 -1
- package/dist-android/static/58.js +0 -2
- package/dist-android/static/58.js.map +0 -1
- package/dist-android/static/59.js +0 -2
- package/dist-android/static/59.js.map +0 -1
- package/dist-android/static/60.js +0 -2
- package/dist-android/static/60.js.map +0 -1
- package/dist-android/static/61.js +0 -2
- package/dist-android/static/61.js.map +0 -1
- package/dist-android/static/62.js +0 -2
- package/dist-android/static/62.js.map +0 -1
- package/dist-android/static/63.js +0 -2
- package/dist-android/static/63.js.map +0 -1
- package/dist-android/static/64.js +0 -2
- package/dist-android/static/64.js.map +0 -1
- package/dist-android/static/65.js +0 -2
- package/dist-android/static/65.js.map +0 -1
- package/dist-android/static/66.js +0 -2
- package/dist-android/static/66.js.map +0 -1
- package/dist-android/static/67.js +0 -2
- package/dist-android/static/67.js.map +0 -1
- package/dist-android/static/68.js +0 -2
- package/dist-android/static/68.js.map +0 -1
- package/dist-android/static/69.js +0 -2
- package/dist-android/static/69.js.map +0 -1
- package/dist-android/static/7.js +0 -6
- package/dist-android/static/7.js.map +0 -1
- package/dist-android/static/70.js +0 -2
- package/dist-android/static/70.js.map +0 -1
- package/dist-android/static/71.js +0 -2
- package/dist-android/static/71.js.map +0 -1
- package/dist-android/static/72.js +0 -2
- package/dist-android/static/72.js.map +0 -1
- package/dist-android/static/73.js +0 -2
- package/dist-android/static/73.js.map +0 -1
- package/dist-android/static/74.js +0 -2
- package/dist-android/static/74.js.map +0 -1
- package/dist-android/static/75.js +0 -2
- package/dist-android/static/75.js.map +0 -1
- package/dist-android/static/76.js +0 -2
- package/dist-android/static/76.js.map +0 -1
- package/dist-android/static/8.js +0 -2
- package/dist-android/static/8.js.map +0 -1
- package/dist-android/static/9.js +0 -3
- package/dist-android/static/9.js.map +0 -1
- package/dist-android/static/app.css +0 -2
- package/dist-android/static/app.css.map +0 -1
- package/dist-android/static/app.js +0 -80
- package/dist-android/static/app.js.map +0 -1
- package/dist-android/static/batchleft.png +0 -0
- package/dist-android/static/batchright.png +0 -0
- package/dist-android/static/bluemainbg.jpg +0 -0
- package/dist-android/static/config.json +0 -7
- package/dist-android/static/glyphicons-halflings-regular.eot +0 -0
- package/dist-android/static/glyphicons-halflings-regular.svg +0 -288
- package/dist-android/static/glyphicons-halflings-regular.ttf +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff +0 -0
- package/dist-android/static/glyphicons-halflings-regular.woff2 +0 -0
- package/dist-android/static/huangtengbiaozhi.png +0 -0
- package/dist-android/static/jingyin.jpg +0 -0
- package/dist-android/static/login_bg.jpg +0 -0
- package/dist-android/static/login_title.png +0 -0
- package/dist-android/static/login_title1.png +0 -0
- package/dist-android/static/loginbg.jpg +0 -0
- package/dist-android/static/loginlogo.png +0 -0
- package/dist-android/static/main_logo.png +0 -0
- package/dist-android/static/mainbg.jpg +0 -0
- package/dist-android/static/menulogo.png +0 -0
- package/dist-android/static/newmainbg.jpg +0 -0
- package/dist-android/static/singleleft.png +0 -0
- package/dist-android/static/singleright.png +0 -0
- package/dist-android/static/treeopen.png +0 -0
- package/dist-android/static/treeout.png +0 -0
- package/dist-android/static/treeset.png +0 -0
- package/dist-android/static/usericon.png +0 -0
- package/dist-android/static/workflow_apply.json +0 -766
- package/dist-android/static/xinxi.png +0 -0
- package/dist-android/static//344/277/256/346/224/271/345/257/206/347/240/201.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/257/274/350/210/252/347/253/226/345/261/2173.png +0 -0
- package/dist-android/static//345/257/274/345/207/272/346/225/260/346/215/256.png +0 -0
- package/dist-android/static//346/270/205/347/251/272/346/225/260/346/215/256.png +0 -0
- package/src/assets/shipin1.mp4 +0 -0
- package/yarn.lock +0 -9008
|
@@ -2,42 +2,93 @@
|
|
|
2
2
|
<div class="d1">
|
|
3
3
|
<div class="left col-sm-12">
|
|
4
4
|
<criteria-paged :model="model" v-ref:cp>
|
|
5
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri
|
|
5
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri
|
|
6
|
+
style="padding: 20px;background-color: #f6f6f6;">
|
|
6
7
|
<form novalidate class="" partial>
|
|
7
8
|
<div class="col-sm-12">
|
|
8
|
-
<div class="col-sm-
|
|
9
|
-
<
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
<div class="form-group col-sm-2" >
|
|
10
|
+
<label class="col-sm-6">所属公司:</label>
|
|
11
|
+
<div class="col-sm-6">
|
|
12
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.apply_org" placeholder='所属公司' condition="f_filiale = '{}'"
|
|
13
|
+
v-model="model.f_filiale" @change="$parent.$parent.orgChange" :value.sync="model.f_filiale" close-on-select>
|
|
14
|
+
</v-select>
|
|
15
|
+
</div>
|
|
12
16
|
</div>
|
|
13
|
-
<div class="col-sm-
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
<div class="form-group col-sm-2">
|
|
18
|
+
<label class="col-sm-6">项目名称:</label>
|
|
19
|
+
<div class="col-sm-6">
|
|
20
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.entry_name" placeholder='项目名称' condition="f_entry_name = '{}'"
|
|
21
|
+
v-model="model.f_entry_name" @change="$parent.$parent.entryChange" :value.sync="model.f_entry_name" close-on-select>
|
|
22
|
+
</v-select>
|
|
23
|
+
</div>
|
|
17
24
|
</div>
|
|
18
|
-
<div class="col-sm-
|
|
19
|
-
<
|
|
20
|
-
|
|
21
|
-
|
|
25
|
+
<div class="form-group col-sm-2">
|
|
26
|
+
<label class="col-sm-6">项目编号:</label>
|
|
27
|
+
<div class="col-sm-6">
|
|
28
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.entry_num" placeholder='项目编号' condition="f_entry_num = '{}'"
|
|
29
|
+
v-model="model.f_entry_num" :value.sync="model.f_entry_num" close-on-select>
|
|
30
|
+
</v-select>
|
|
31
|
+
</div>
|
|
22
32
|
</div>
|
|
23
|
-
<div class="col-sm-
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
33
|
+
<div class="form-group col-sm-2">
|
|
34
|
+
<label class="col-sm-6">用户地址:</label>
|
|
35
|
+
<div class="col-sm-6">
|
|
36
|
+
<input type="text" class="form-control" placeholder='用户地址' v-model="model.f_address"
|
|
37
|
+
v-on:keyup.enter="search"
|
|
38
|
+
condition=" f_address like '%{}%'">
|
|
39
|
+
</div>
|
|
40
|
+
</div>
|
|
41
|
+
<div class="form-group col-sm-2">
|
|
42
|
+
<label class="col-sm-6">报建类型:</label>
|
|
43
|
+
<div class="col-sm-6">
|
|
44
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.applytype" placeholder='报建类型' condition="f_apply_type like '%{}%'"
|
|
45
|
+
v-model="model.f_apply_type" :value.sync="model.f_apply_type" close-on-select>
|
|
46
|
+
</v-select>
|
|
47
|
+
</div>
|
|
27
48
|
</div>
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
49
|
+
</div>
|
|
50
|
+
<div class="col-sm-12">
|
|
51
|
+
<div class="form-group col-sm-2">
|
|
52
|
+
<label class="col-sm-6">办理环节:</label>
|
|
53
|
+
<div class="col-sm-6">
|
|
54
|
+
<v-select :width ="'90%'" @change="$dispatch('setQueryCondition',model)" :options="$parent.$parent.defnames"
|
|
55
|
+
condition="defname = '{}'" placeholder='办理环节'
|
|
56
|
+
v-model="model.defname" :value.sync="model.defname" close-on-select>
|
|
57
|
+
</v-select>
|
|
58
|
+
</div>
|
|
32
59
|
</div>
|
|
33
|
-
<div class="col-sm-
|
|
60
|
+
<div class="form-group col-sm-2">
|
|
61
|
+
<label class="col-sm-6">经办人:</label>
|
|
62
|
+
<div class="col-sm-6">
|
|
63
|
+
<input type="text" class="form-control" placeholder='经办人' v-model="model.f_apply_operator"
|
|
64
|
+
v-on:keyup.enter="search"
|
|
65
|
+
condition=" f_apply_operator like '%{}%' ">
|
|
66
|
+
</div>
|
|
34
67
|
</div>
|
|
35
|
-
<div class="col-sm-
|
|
68
|
+
<!-- <div class="form-group col-sm-2"></div>-->
|
|
69
|
+
<!-- <div class="form-group col-sm-2">
|
|
70
|
+
<label class="col-sm-6">项目类型:</label>
|
|
71
|
+
<div class="col-sm-6">
|
|
72
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.projecttype" placeholder='项目类型' condition="f_project_type like '%{}%'"
|
|
73
|
+
v-model="model.f_project_type" :value.sync="model.f_project_type" close-on-select>
|
|
74
|
+
</v-select>
|
|
75
|
+
</div>
|
|
76
|
+
</div> -->
|
|
77
|
+
<div class="form-group col-sm-2">
|
|
78
|
+
<label class="col-sm-6">营业所:</label>
|
|
79
|
+
<div class="col-sm-6">
|
|
80
|
+
<v-select :width ="'100%'" style="width: 100%" :options="$parent.$parent.business_office" placeholder='营业所' condition="f_business_office like '%{}%'"
|
|
81
|
+
v-model="model.f_business_office" :value.sync="model.f_business_office" close-on-select>
|
|
82
|
+
</v-select>
|
|
83
|
+
</div>
|
|
36
84
|
</div>
|
|
37
|
-
<div class="col-sm-
|
|
38
|
-
<
|
|
39
|
-
|
|
40
|
-
|
|
85
|
+
<div class="form-group col-sm-2">
|
|
86
|
+
<label class="col-sm-6">查询/返回:</label>
|
|
87
|
+
<div class="col-sm-6">
|
|
88
|
+
<button class="btn btn-primary btn-sm" type="button" @click="search(),$parent.$parent.close()">
|
|
89
|
+
<span class="glyphicon glyphicon-search"></span>查询
|
|
90
|
+
</button>
|
|
91
|
+
</div>
|
|
41
92
|
</div>
|
|
42
93
|
</div>
|
|
43
94
|
</form>
|
|
@@ -52,13 +103,16 @@
|
|
|
52
103
|
<nobr>当前状态</nobr>
|
|
53
104
|
</th>
|
|
54
105
|
<th>
|
|
55
|
-
<nobr
|
|
106
|
+
<nobr>经办人</nobr>
|
|
107
|
+
</th>
|
|
108
|
+
<th>
|
|
109
|
+
<nobr>项目名称</nobr>
|
|
56
110
|
</th>
|
|
57
111
|
<th>
|
|
58
|
-
<nobr
|
|
112
|
+
<nobr>项目编号</nobr>
|
|
59
113
|
</th>
|
|
60
114
|
<th>
|
|
61
|
-
<nobr
|
|
115
|
+
<nobr>用户名称</nobr>
|
|
62
116
|
</th>
|
|
63
117
|
<th>
|
|
64
118
|
<nobr>电话</nobr>
|
|
@@ -72,6 +126,9 @@
|
|
|
72
126
|
<th>
|
|
73
127
|
<nobr>报建类型</nobr>
|
|
74
128
|
</th>
|
|
129
|
+
<!-- <th>
|
|
130
|
+
<nobr>项目类型</nobr>
|
|
131
|
+
</th> -->
|
|
75
132
|
<th>
|
|
76
133
|
<nobr>报建日期</nobr>
|
|
77
134
|
</th>
|
|
@@ -79,34 +136,41 @@
|
|
|
79
136
|
</template>
|
|
80
137
|
<template partial='body'>
|
|
81
138
|
<tr>
|
|
82
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
139
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
83
140
|
<nobr>{{$index+1}}</nobr>
|
|
84
141
|
</td>
|
|
85
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
142
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
86
143
|
<nobr>{{row.f_sub_state}}</nobr>
|
|
87
144
|
</td>
|
|
88
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
89
|
-
<nobr>{{row.
|
|
145
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
146
|
+
<nobr>{{row.f_apply_operator}}</nobr>
|
|
90
147
|
</td>
|
|
91
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
92
|
-
<nobr>{{row.
|
|
148
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
149
|
+
<nobr>{{row.f_entry_name}}</nobr>
|
|
150
|
+
</td>
|
|
151
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
152
|
+
<nobr>{{row.f_entry_num}}</nobr>
|
|
93
153
|
</td>
|
|
94
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
95
|
-
<nobr>{{row.
|
|
154
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
155
|
+
<nobr>{{row.f_user_name}}</nobr>
|
|
96
156
|
</td>
|
|
97
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
157
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
98
158
|
<nobr>{{row.f_phone}}</nobr>
|
|
99
159
|
</td>
|
|
100
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
160
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
101
161
|
<nobr>{{row.f_address}}</nobr>
|
|
102
162
|
</td>
|
|
103
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
163
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
104
164
|
<nobr>{{row.defname}}</nobr>
|
|
105
165
|
</td>
|
|
106
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
166
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
107
167
|
<nobr>{{row.f_apply_type}}</nobr>
|
|
108
168
|
</td>
|
|
109
|
-
<td @click="$parent.$parent.$parent.check(row)">
|
|
169
|
+
<!-- <td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
170
|
+
<nobr>{{row.f_project_type}}</nobr>
|
|
171
|
+
</td> -->
|
|
172
|
+
|
|
173
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
110
174
|
<nobr>{{row.f_apply_date}}</nobr>
|
|
111
175
|
</td>
|
|
112
176
|
</tr>
|
|
@@ -118,29 +182,163 @@
|
|
|
118
182
|
</template>
|
|
119
183
|
<script>
|
|
120
184
|
import AppData from '../../../stores/AppData.js'
|
|
121
|
-
import
|
|
122
|
-
PagedList
|
|
123
|
-
} from 'vue-client'
|
|
185
|
+
import PagedListLogic from '../../../stores/PagedListLogic'
|
|
124
186
|
import getNowDate from '../../getNowDate.js'
|
|
187
|
+
import {HttpResetClass} from 'vue-client'
|
|
125
188
|
|
|
126
189
|
export default {
|
|
127
190
|
title: '勘探详情',
|
|
128
191
|
data() {
|
|
129
192
|
return {
|
|
130
|
-
|
|
193
|
+
// applytype: this.$appdata.getParam('报建类型'),
|
|
194
|
+
applytype:[{label:"零星散户",value:'零星散户'}],
|
|
195
|
+
// projecttype: this.$appdata.getParam('项目类型'),
|
|
196
|
+
business_office: this.$appdata.getParam('营业所'),
|
|
197
|
+
model: new PagedListLogic('rs/sql/supervisory', 20, {
|
|
131
198
|
data: {
|
|
132
199
|
id: `${this.$login.f.name}`,
|
|
133
|
-
fengongsi: `${this.$login.f.
|
|
200
|
+
fengongsi: `${this.$login.f.orgs}`,
|
|
201
|
+
company: `${this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? "u.f_apply_num = '1' or 1 = 1" : '1 = 1'}`
|
|
134
202
|
}
|
|
135
203
|
}),
|
|
204
|
+
users:[],
|
|
205
|
+
defnames:[],
|
|
136
206
|
condition: '',
|
|
137
|
-
select: ''
|
|
207
|
+
select: '',
|
|
208
|
+
entry_name: [],
|
|
209
|
+
entry_num: [],
|
|
210
|
+
apply_org: []
|
|
211
|
+
|
|
138
212
|
}
|
|
139
213
|
},
|
|
140
|
-
ready() {
|
|
214
|
+
async ready() {
|
|
215
|
+
let http3 = new HttpResetClass()
|
|
216
|
+
http3.load('POST', 'rs/sql/getDefnamesForActivityins', {data:{}}, {
|
|
217
|
+
resolveMsg: null,
|
|
218
|
+
rejectMsg: null
|
|
219
|
+
}).then((res)=>{
|
|
220
|
+
// 先获取所有流程环节
|
|
221
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
222
|
+
for(let i=0;i<res.data.length;i++){
|
|
223
|
+
this.defnames.push({label:res.data[i].defname,value:res.data[i].defname})
|
|
224
|
+
}
|
|
225
|
+
})
|
|
226
|
+
|
|
227
|
+
let http = new HttpResetClass()
|
|
228
|
+
let data = {
|
|
229
|
+
columnname: 'id,name',
|
|
230
|
+
tablename: 't_user',
|
|
231
|
+
condition: '1=1'
|
|
232
|
+
}
|
|
233
|
+
let res = await http.load('POST','rs/sql/singleTable',{data:data}, {
|
|
234
|
+
resolveMsg: null,
|
|
235
|
+
rejectMsg: '获取人员失败'
|
|
236
|
+
})
|
|
237
|
+
this.users = res.data
|
|
238
|
+
this.getEntry()
|
|
239
|
+
this.getOrgName()
|
|
141
240
|
this.$refs.cp.$refs.cri.search()
|
|
142
241
|
},
|
|
242
|
+
events: {
|
|
243
|
+
async dataGrid() {
|
|
244
|
+
// //获取购货方信息
|
|
245
|
+
// let data = {
|
|
246
|
+
// tablename: 't_user',
|
|
247
|
+
// condition: `1=1`
|
|
248
|
+
// }
|
|
249
|
+
// let buyerinfos = await this.$resetpost('rs/sql/singleTable', {data: data}, {
|
|
250
|
+
// resolveMsg: null,
|
|
251
|
+
// rejectMsg: '获取user失败'
|
|
252
|
+
// })
|
|
253
|
+
// let users = buyerinfos.data
|
|
254
|
+
if (!this.$refs.cp.$refs.grid.model.rows) return
|
|
255
|
+
let rows = this.$refs.cp.$refs.grid.model.rows
|
|
256
|
+
for (let i = 0; i < rows.length; i++) {
|
|
257
|
+
let expe = rows[i].actorexpression
|
|
258
|
+
if(expe.includes('getChildren')||expe.includes('getChildByName')){//{source:'this.getParentByType($organization$).getChildByName($客户服务部门$).getChildByName($客户服务部负责人$).getChildren()','userid':'12290'
|
|
259
|
+
let arr = expe.split('$')
|
|
260
|
+
this.$refs.cp.$refs.grid.model.rows[i].applysite = arr[arr.length - 2]
|
|
261
|
+
}else{ //{source: 'this', userid: '12290'}
|
|
262
|
+
let arr = expe.split('\'')
|
|
263
|
+
let userid = arr[arr.length - 2]
|
|
264
|
+
for(let j =0;j<this.users.length;j++){
|
|
265
|
+
if(this.users[j].id == userid){
|
|
266
|
+
this.$refs.cp.$refs.grid.model.rows[i].applysite = this.users[j].name
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
//
|
|
274
|
+
// if (expe.indexOf("'this'") == -1) {
|
|
275
|
+
// let arr = expe.split('$')
|
|
276
|
+
// this.$refs.cp.$refs.grid.model.rows[i].applysite = arr[arr.length - 2]
|
|
277
|
+
// } else if (rows[i].f_survey_name && typeof rows[i].f_survey_name == 'string' && rows[i].f_survey_name.includes("\"")) {
|
|
278
|
+
// // 如果是属于工程技术部的就给工程技术部
|
|
279
|
+
// let flag = ''
|
|
280
|
+
// let str = this.$appdata.getSingleValue("客户服务部")
|
|
281
|
+
// let str2 = this.$appdata.getSingleValue("工程技术部")
|
|
282
|
+
// let arr = str.split(",")
|
|
283
|
+
// let arr2 = str2.split(",")
|
|
284
|
+
// for (let p = 0; p < arr.length; p++) {
|
|
285
|
+
// if (arr[p] == rows[i].f_apply_type) {
|
|
286
|
+
// flag = '客户服务部'
|
|
287
|
+
// console.log(rows[i].f_apply_num, flag)
|
|
288
|
+
// break
|
|
289
|
+
// }
|
|
290
|
+
// }
|
|
291
|
+
// for (let p = 0; p < arr2.length; p++) {
|
|
292
|
+
// if (arr2[p] == rows[i].f_apply_type) {
|
|
293
|
+
// flag = '工程技术部'
|
|
294
|
+
// console.log(rows[i].f_apply_num, flag)
|
|
295
|
+
// break
|
|
296
|
+
// }
|
|
297
|
+
// }
|
|
298
|
+
//
|
|
299
|
+
// if (flag == '工程技术部') {
|
|
300
|
+
// let js = JSON.parse(rows[i].f_survey_name)
|
|
301
|
+
// this.$refs.cp.$refs.grid.model.rows[i].applysite = js.name
|
|
302
|
+
// } else if (flag == '客户服务部') {
|
|
303
|
+
// let rows2 = this.$refs.cp.$refs.grid.model.rows
|
|
304
|
+
// for (let i = 0; i < rows2.length; i++) {
|
|
305
|
+
// if (!this.$refs.cp.$refs.grid.model.rows[i].applysite) {
|
|
306
|
+
// if (rows2[i].f_apply_kefu_employee) {
|
|
307
|
+
// if (rows2[i].f_apply_kefu_employee.startsWith("{")) {
|
|
308
|
+
// let obj = JSON.parse(rows2[i].f_apply_kefu_employee)
|
|
309
|
+
// this.$refs.cp.$refs.grid.model.rows[i].applysite = obj.name
|
|
310
|
+
// } else {
|
|
311
|
+
// this.$refs.cp.$refs.grid.model.rows[i].applysite = rows2[i].f_apply_kefu_employee
|
|
312
|
+
// }
|
|
313
|
+
// }
|
|
314
|
+
// }
|
|
315
|
+
// }
|
|
316
|
+
// }
|
|
317
|
+
// }
|
|
318
|
+
// let numReg = /^[0-9]+$/
|
|
319
|
+
// let numRe = new RegExp(numReg)
|
|
320
|
+
// if (numRe.test(this.$refs.cp.$refs.grid.model.rows[i].applysite)) {
|
|
321
|
+
// let querydata = {
|
|
322
|
+
// tablename: 't_user',
|
|
323
|
+
// condition: `id = ${this.$refs.cp.$refs.grid.model.rows[i].applysite}`
|
|
324
|
+
// }
|
|
325
|
+
// let http = new HttpResetClass()
|
|
326
|
+
// http.load('POST','rs/sql/singleTable', {data: querydata}, {
|
|
327
|
+
// resolveMsg: null,
|
|
328
|
+
// rejectMsg: '获取人员失败'
|
|
329
|
+
// }).then((res)=>{
|
|
330
|
+
// this.$refs.cp.$refs.grid.model.rows[i].applysite = res.data[0].name
|
|
331
|
+
// })
|
|
332
|
+
// }
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
}
|
|
336
|
+
},
|
|
143
337
|
methods: {
|
|
338
|
+
getorg (val) {
|
|
339
|
+
this.f_orgid = this.$login.convertToIn(val)
|
|
340
|
+
this.$parent.f_orgid = this.f_orgid
|
|
341
|
+
},
|
|
144
342
|
generateUUID() {
|
|
145
343
|
var d = new Date().getTime()
|
|
146
344
|
var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {
|
|
@@ -151,6 +349,7 @@
|
|
|
151
349
|
return uuid
|
|
152
350
|
},
|
|
153
351
|
check(val) {
|
|
352
|
+
console.log("val:" + JSON.stringify(val))
|
|
154
353
|
this.$dispatch('check', val)
|
|
155
354
|
},
|
|
156
355
|
close() {
|
|
@@ -160,6 +359,166 @@
|
|
|
160
359
|
val === '完工'
|
|
161
360
|
console.log('完工', val)
|
|
162
361
|
return false
|
|
362
|
+
},
|
|
363
|
+
async getEntry(val) {
|
|
364
|
+
// 获取项目名称和项目编号
|
|
365
|
+
let http = new HttpResetClass()
|
|
366
|
+
let data = {
|
|
367
|
+
tablename: 't_apply',
|
|
368
|
+
condition: this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? " 1 = 1" : " f_filiale = '" + this.$login.f.orgs + "'"
|
|
369
|
+
}
|
|
370
|
+
// 判断是不是总公司得账号
|
|
371
|
+
if (this.$login.f.orgs == '重庆盛焰集团' || this.$login.f.orgs == '湖南燎原燃气有限公司') {
|
|
372
|
+
data.condition = " f_filiale = '" + val + "'"
|
|
373
|
+
}
|
|
374
|
+
let res = await http.load('POST','rs/sql/applysingleTable',{data:data}, {
|
|
375
|
+
resolveMsg: null,
|
|
376
|
+
rejectMsg: '获取项目名称和项目编号失败'
|
|
377
|
+
})
|
|
378
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
379
|
+
// 项目名称
|
|
380
|
+
let data = []
|
|
381
|
+
let array = []
|
|
382
|
+
data = res.data.map(item => {
|
|
383
|
+
return item.f_entry_name;
|
|
384
|
+
})
|
|
385
|
+
for (let q = 0; q < data.length; q++) {
|
|
386
|
+
let arraydata = {
|
|
387
|
+
'label': data[q],
|
|
388
|
+
'value': data[q]
|
|
389
|
+
}
|
|
390
|
+
if (array.length != 0) {
|
|
391
|
+
for (let w = 0; w < array.length; w++) {
|
|
392
|
+
if (array[w].label == data[q]) {
|
|
393
|
+
break
|
|
394
|
+
}
|
|
395
|
+
while (w == array.length - 1) {
|
|
396
|
+
array.push(arraydata)
|
|
397
|
+
break
|
|
398
|
+
}
|
|
399
|
+
}
|
|
400
|
+
} else {
|
|
401
|
+
array.push(arraydata)
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
this.entry_name = array
|
|
405
|
+
// 项目编号
|
|
406
|
+
// let data1 = []
|
|
407
|
+
// let array1 = []
|
|
408
|
+
// data1 = res.data.map(item => {
|
|
409
|
+
// return item.f_entry_num;
|
|
410
|
+
// })
|
|
411
|
+
// for (let q = 0; q < data1.length; q++) {
|
|
412
|
+
// let arraydata = {
|
|
413
|
+
// 'label': data1[q],
|
|
414
|
+
// 'value': data1[q]
|
|
415
|
+
// }
|
|
416
|
+
// if (array1.length != 0) {
|
|
417
|
+
// for (let w = 0; w < array1.length; w++) {
|
|
418
|
+
// if (array1[w].label == data1[q]) {
|
|
419
|
+
// break
|
|
420
|
+
// }
|
|
421
|
+
// while (w == array1.length - 1) {
|
|
422
|
+
// array1.push(arraydata)
|
|
423
|
+
// break
|
|
424
|
+
// }
|
|
425
|
+
// }
|
|
426
|
+
// } else {
|
|
427
|
+
// array1.push(arraydata)
|
|
428
|
+
// }
|
|
429
|
+
// }
|
|
430
|
+
// this.entry_num = array1
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
async getNum(val) {
|
|
434
|
+
// 获取项目名称和项目编号
|
|
435
|
+
let http = new HttpResetClass()
|
|
436
|
+
let data = {
|
|
437
|
+
tablename: 't_apply',
|
|
438
|
+
condition: this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? "f_entry_name = '" + val + "'" : "f_filiale = '" + this.$login.f.orgs + "'" + " and f_entry_name = '" + val + "'"
|
|
439
|
+
}
|
|
440
|
+
let res = await http.load('POST','rs/sql/applysingleTable',{data:data}, {
|
|
441
|
+
resolveMsg: null,
|
|
442
|
+
rejectMsg: '获取项目名称和项目编号失败'
|
|
443
|
+
})
|
|
444
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
445
|
+
// 项目编号
|
|
446
|
+
let data1 = []
|
|
447
|
+
let array1 = []
|
|
448
|
+
data1 = res.data.map(item => {
|
|
449
|
+
return item.f_entry_num;
|
|
450
|
+
})
|
|
451
|
+
for (let q = 0; q < data1.length; q++) {
|
|
452
|
+
let arraydata = {
|
|
453
|
+
'label': data1[q],
|
|
454
|
+
'value': data1[q]
|
|
455
|
+
}
|
|
456
|
+
if (array1.length != 0) {
|
|
457
|
+
for (let w = 0; w < array1.length; w++) {
|
|
458
|
+
if (array1[w].label == data1[q]) {
|
|
459
|
+
break
|
|
460
|
+
}
|
|
461
|
+
while (w == array1.length - 1) {
|
|
462
|
+
array1.push(arraydata)
|
|
463
|
+
break
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
} else {
|
|
467
|
+
array1.push(arraydata)
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
this.entry_num = array1
|
|
471
|
+
}
|
|
472
|
+
},
|
|
473
|
+
entryChange(val) {
|
|
474
|
+
console.log("被选中的数据:" + val)
|
|
475
|
+
this.getNum(val)
|
|
476
|
+
},
|
|
477
|
+
orgChange(val) {
|
|
478
|
+
console.log("被选中的数据:" + val)
|
|
479
|
+
this.getEntry(val)
|
|
480
|
+
},
|
|
481
|
+
// 获取所有组织名称
|
|
482
|
+
async getOrgName() {
|
|
483
|
+
let http = new HttpResetClass()
|
|
484
|
+
let org = this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? " 1 = 1" : " name = '" + this.$login.f.orgs + "'"
|
|
485
|
+
let data = {
|
|
486
|
+
tablename: 't_organization',
|
|
487
|
+
condition: " name != '组织机构' and " + org
|
|
488
|
+
|
|
489
|
+
}
|
|
490
|
+
let res = await http.load('POST','rs/sql/applysingleTable',{data:data}, {
|
|
491
|
+
resolveMsg: null,
|
|
492
|
+
rejectMsg: '获取公司名称失败'
|
|
493
|
+
})
|
|
494
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
495
|
+
// 所属公司
|
|
496
|
+
let data1 = []
|
|
497
|
+
let array1 = []
|
|
498
|
+
data1 = res.data.map(item => {
|
|
499
|
+
return item.name;
|
|
500
|
+
})
|
|
501
|
+
for (let q = 0; q < data1.length; q++) {
|
|
502
|
+
let arraydata = {
|
|
503
|
+
'label': data1[q],
|
|
504
|
+
'value': data1[q]
|
|
505
|
+
}
|
|
506
|
+
if (array1.length != 0) {
|
|
507
|
+
for (let w = 0; w < array1.length; w++) {
|
|
508
|
+
if (array1[w].label == data1[q]) {
|
|
509
|
+
break
|
|
510
|
+
}
|
|
511
|
+
while (w == array1.length - 1) {
|
|
512
|
+
array1.push(arraydata)
|
|
513
|
+
break
|
|
514
|
+
}
|
|
515
|
+
}
|
|
516
|
+
} else {
|
|
517
|
+
array1.push(arraydata)
|
|
518
|
+
}
|
|
519
|
+
}
|
|
520
|
+
this.apply_org = array1
|
|
521
|
+
}
|
|
163
522
|
}
|
|
164
523
|
},
|
|
165
524
|
computed: {
|
|
@@ -175,9 +534,9 @@
|
|
|
175
534
|
defnameType() {
|
|
176
535
|
return [{label: '全部', value: ''}, ...this.$appdata.getParam('流程状态')]
|
|
177
536
|
},
|
|
178
|
-
applytype() {
|
|
179
|
-
|
|
180
|
-
}
|
|
537
|
+
// applytype() {
|
|
538
|
+
// return [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')]
|
|
539
|
+
// }
|
|
181
540
|
}
|
|
182
541
|
}
|
|
183
542
|
</script>
|
|
@@ -186,5 +545,4 @@
|
|
|
186
545
|
background-color: #6666ff;
|
|
187
546
|
}
|
|
188
547
|
|
|
189
|
-
|
|
190
548
|
</style>
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
if(row.defname === this.$supervisory_vue.start_activity){
|
|
25
25
|
row = Object.assign({},this.selectdata,row)
|
|
26
26
|
this.$dispatch('check', row)
|
|
27
|
-
}else if(
|
|
27
|
+
}else if(row.actorexpression){
|
|
28
28
|
row = Object.assign({},this.selectdata,row)
|
|
29
29
|
this.$dispatch('check', row)
|
|
30
30
|
}else{
|
|
@@ -35,9 +35,11 @@
|
|
|
35
35
|
check(actorexpression){
|
|
36
36
|
let array = this.$login.f.rolesnames.split(',')
|
|
37
37
|
for(let i=0;i<array.length;i++){
|
|
38
|
-
if(actorexpression.includes(array[i])){
|
|
38
|
+
if(array[i] && actorexpression.includes(array[i])){
|
|
39
39
|
return true
|
|
40
|
-
}else if(actorexpression.includes(this.$login.f.
|
|
40
|
+
}else if(actorexpression.includes(this.$login.f.id)){ // P(张三) // 张三
|
|
41
|
+
return true
|
|
42
|
+
}else if(array[i]=='报装流程监控'){
|
|
41
43
|
return true
|
|
42
44
|
}
|
|
43
45
|
}
|
|
@@ -68,6 +70,7 @@
|
|
|
68
70
|
}
|
|
69
71
|
}
|
|
70
72
|
this.defnames = temp
|
|
73
|
+
|
|
71
74
|
}
|
|
72
75
|
}
|
|
73
76
|
}
|