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
|
@@ -0,0 +1,406 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
3
|
+
<criteria partial='criteria' @condition-changed='$parent.searchCondition' v-ref:cri>
|
|
4
|
+
<div class="form-horizontal select-overspread container-fluid auto" partial>
|
|
5
|
+
<div class="row">
|
|
6
|
+
<!-- <div class="form-group col-sm-3">-->
|
|
7
|
+
<!-- <label class="font_normal_body">工程项目名称:</label>-->
|
|
8
|
+
<!-- <input type="text" class="input_search" style="width: 60%" v-model="model.f_project_name"-->
|
|
9
|
+
<!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_project_name like '%{}%'" placeholder='工程项目名称'>-->
|
|
10
|
+
<!-- </div>-->
|
|
11
|
+
<div class="form-group col-sm-2">
|
|
12
|
+
<label class="font_normal_body">所属公司:</label>
|
|
13
|
+
<v-select
|
|
14
|
+
v-model="model.f_orgname"
|
|
15
|
+
placeholder='请选择'
|
|
16
|
+
:value.sync="model.f_orgname"
|
|
17
|
+
condition="f_orgname = '{}'"
|
|
18
|
+
:options='$parent.$parent.apply_org'
|
|
19
|
+
class="select select_list"
|
|
20
|
+
:value-single="true"
|
|
21
|
+
close-on-select ></v-select>
|
|
22
|
+
</div>
|
|
23
|
+
<div class="form-group col-sm-2">
|
|
24
|
+
<label class="font_normal_body">施工单位:</label>
|
|
25
|
+
<input type="text" class="input_search" style="width: 60%" v-model="model.f_project_unit"
|
|
26
|
+
v-on:keyup.enter="$parent.$parent.search()" condition="f_project_unit like '%{}%'" placeholder=''>
|
|
27
|
+
</div>
|
|
28
|
+
<div class="form-group col-sm-2">
|
|
29
|
+
<label class="font_normal_body">项目状态:</label>
|
|
30
|
+
<v-select
|
|
31
|
+
v-model="model.f_project_state"
|
|
32
|
+
placeholder='请选择'
|
|
33
|
+
:value.sync="model.f_project_state"
|
|
34
|
+
multiple
|
|
35
|
+
:options='$parent.$parent.projectStatus'
|
|
36
|
+
condition="f_project_state in {} "
|
|
37
|
+
></v-select>
|
|
38
|
+
</div>
|
|
39
|
+
<div class="form-group col-sm-3">
|
|
40
|
+
<label for="startDate" class="font_normal_body">预计开工时间:</label>
|
|
41
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
42
|
+
style="width: 60%!important;"
|
|
43
|
+
v-model="model.startDate"
|
|
44
|
+
:value.sync="model.startDate"
|
|
45
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
46
|
+
:show-reset-button="true"
|
|
47
|
+
condition="f_start_working_date >= '{}'">
|
|
48
|
+
</datepicker>
|
|
49
|
+
</div>
|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
<div class="row">
|
|
53
|
+
<div class="form-group col-sm-3">
|
|
54
|
+
<label for="startDate" class="font_normal_body">预计完工时间:</label>
|
|
55
|
+
<datepicker id="startDate1" placeholder="开始日期"
|
|
56
|
+
style="width: 60%!important;"
|
|
57
|
+
v-model="model.startDate1"
|
|
58
|
+
:value.sync="model.startDate1"
|
|
59
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
60
|
+
:show-reset-button="true"
|
|
61
|
+
condition="f_complete_working_date <= '{}'">
|
|
62
|
+
</datepicker>
|
|
63
|
+
</div>
|
|
64
|
+
<div class="form-group col-sm-5">
|
|
65
|
+
<label for="startDate" class="font_normal_body">已超过约定工期天数:</label>
|
|
66
|
+
<input type="text" class="input_search" v-model="model.f_overdue_date"
|
|
67
|
+
condition="f_overdue_date >= '{}'" placeholder='已超过约定工期天数'>
|
|
68
|
+
</div>
|
|
69
|
+
<div class="form-group col-sm-4 button-range">
|
|
70
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
71
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
72
|
+
<button class="button_search button_spacing" @click="$parent.$parent.return()" v-el:cx>返回</button>
|
|
73
|
+
<button class="button_new button_spacing" style="width: 100px" @click="$parent.$parent.openAddContract()">添加工程</button>
|
|
74
|
+
<export-excel progress="apply_getExportProgress"
|
|
75
|
+
:data="{condition: $parent.$parent.condition}"
|
|
76
|
+
:field="$parent.$parent.getfield()"
|
|
77
|
+
sqlurl="rs/logic/apply_exportfile"
|
|
78
|
+
sql-name="projectManagement"
|
|
79
|
+
template-name='工程管理导出'
|
|
80
|
+
:choose-col="true">
|
|
81
|
+
</export-excel>
|
|
82
|
+
</div>
|
|
83
|
+
</div>
|
|
84
|
+
<!-- <div class="form-group col-sm-3">-->
|
|
85
|
+
<!-- <label class="font_normal_body">合同预计工期:</label>-->
|
|
86
|
+
<!-- <input type="text" class="input_search" style="width: 60%" v-model="model.f_working_date"-->
|
|
87
|
+
<!-- v-on:keyup.enter="$parent.$parent.search()" condition="f_working_date = '{}'" placeholder=''>-->
|
|
88
|
+
<!-- </div>-->
|
|
89
|
+
<div class="row">
|
|
90
|
+
|
|
91
|
+
</div>
|
|
92
|
+
</div>
|
|
93
|
+
</criteria>
|
|
94
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid style="overflow: auto" class="list_area table_sy">
|
|
95
|
+
<template partial='head'>
|
|
96
|
+
<tr>
|
|
97
|
+
<th style="white-space: nowrap;">操 作</th>
|
|
98
|
+
<th style="white-space: nowrap;">序号</th>
|
|
99
|
+
<th style="white-space: nowrap;">所属公司</th>
|
|
100
|
+
<th style="white-space: nowrap;">工程项目名称</th>
|
|
101
|
+
<th style="white-space: nowrap;">项目地点</th>
|
|
102
|
+
<th style="white-space: nowrap;">市场部收费及派工内容</th>
|
|
103
|
+
<th style="white-space: nowrap;">施工单位</th>
|
|
104
|
+
<th style="white-space: nowrap;">项目状态</th>
|
|
105
|
+
<th style="white-space: nowrap;">预计开工日期</th>
|
|
106
|
+
<th style="white-space: nowrap;">预计完工日期</th>
|
|
107
|
+
<th style="white-space: nowrap;">合同预计工期(天数)</th>
|
|
108
|
+
<th style="white-space: nowrap;">已超过约定工期天数</th>
|
|
109
|
+
<th style="white-space: nowrap;">中压管道(公里)</th>
|
|
110
|
+
<th style="white-space: nowrap;">低压管道</th>
|
|
111
|
+
<th style="white-space: nowrap;">民用用户</th>
|
|
112
|
+
<th style="white-space: nowrap;">工业用户</th>
|
|
113
|
+
<th style="white-space: nowrap;">商业用户</th>
|
|
114
|
+
<th style="white-space: nowrap;">项目预计投资额</th>
|
|
115
|
+
<th style="white-space: nowrap;">项目是否办理工程结算</th>
|
|
116
|
+
<th style="white-space: nowrap;">累计付款</th>
|
|
117
|
+
|
|
118
|
+
</tr>
|
|
119
|
+
</template>
|
|
120
|
+
<template partial='body'>
|
|
121
|
+
<tr >
|
|
122
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;"><nobr>
|
|
123
|
+
<a href="#" @click="$parent.$parent.$parent.openRenew(row)">修改</a> | 
|
|
124
|
+
<a href="#" @click="$parent.$parent.$parent.deleteRow(row)">删除</a>
|
|
125
|
+
</nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
128
|
+
<nobr><font>{{$index+1}}</font></nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
131
|
+
<nobr><font>{{row.f_orgname}}</font></nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
134
|
+
<nobr><font>{{row.f_project_name}}</font></nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
137
|
+
<nobr><font>{{row.f_project_address}}</font></nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
140
|
+
<nobr><font>{{row.f_project_content}}</font></nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
143
|
+
<nobr><font>{{row.f_project_unit}}</font></nobr>
|
|
144
|
+
</td>
|
|
145
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
146
|
+
<nobr><font>{{row.f_project_state}}</font></nobr>
|
|
147
|
+
</td>
|
|
148
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
149
|
+
<nobr><font>{{row.f_start_working_date}}</font></nobr>
|
|
150
|
+
</td>
|
|
151
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
152
|
+
<nobr><font>{{row.f_complete_working_date}}</font></nobr>
|
|
153
|
+
</td>
|
|
154
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
155
|
+
<nobr><font>{{row.f_working_date}}</font></nobr>
|
|
156
|
+
</td>
|
|
157
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
158
|
+
<nobr><font>{{row.f_overdue_date}}</font></nobr>
|
|
159
|
+
</td>
|
|
160
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
161
|
+
<nobr><font>{{row.f_zhong_pipeline}}</font></nobr>
|
|
162
|
+
</td>
|
|
163
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
164
|
+
<nobr><font>{{row.f_di_pipeline}}</font></nobr>
|
|
165
|
+
</td>
|
|
166
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
167
|
+
<nobr><font>{{ row.f_civil_user }}</font></nobr>
|
|
168
|
+
</td>
|
|
169
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
170
|
+
<nobr><font>{{row.f_industrial_user}}</font></nobr>
|
|
171
|
+
</td>
|
|
172
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
173
|
+
<nobr><font>{{row.f_business_user}}</font></nobr>
|
|
174
|
+
</td>
|
|
175
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
176
|
+
<nobr><font>{{ row.f_investment_user }}</font></nobr>
|
|
177
|
+
</td>
|
|
178
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
179
|
+
<nobr><font>{{ row.f_project_settlement }}</font></nobr>
|
|
180
|
+
</td>
|
|
181
|
+
<td :class="$parent.$parent.$parent.rowclass(row)" style="text-align: center;" @click="$parent.$parent.$parent.openViewContract(row)">
|
|
182
|
+
<nobr><font>{{ row.f_total_payment }}</font></nobr>
|
|
183
|
+
</td>
|
|
184
|
+
</tr>
|
|
185
|
+
</template>
|
|
186
|
+
</data-grid>
|
|
187
|
+
</criteria-paged>
|
|
188
|
+
</template>
|
|
189
|
+
|
|
190
|
+
<script>
|
|
191
|
+
import {HttpResetClass, PagedList} from 'vue-client'
|
|
192
|
+
import {isEmpty} from '../../Util'
|
|
193
|
+
// Date格式化
|
|
194
|
+
Date.prototype.Format = function (fmt) {
|
|
195
|
+
var o = {
|
|
196
|
+
'M+': this.getMonth() + 1, // 月份
|
|
197
|
+
'd+': this.getDate(), // 日
|
|
198
|
+
'H+': this.getHours(), // 小时
|
|
199
|
+
'm+': this.getMinutes(), // 分
|
|
200
|
+
's+': this.getSeconds(), // 秒
|
|
201
|
+
'q+': Math.floor((this.getMonth() + 3) / 3), // 季度
|
|
202
|
+
'S': this.getMilliseconds() // 毫秒
|
|
203
|
+
}
|
|
204
|
+
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length))
|
|
205
|
+
for (var k in o) {
|
|
206
|
+
if (new RegExp('(' + k + ')').test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length === 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k]).length)))
|
|
207
|
+
}
|
|
208
|
+
return fmt
|
|
209
|
+
}
|
|
210
|
+
export default {
|
|
211
|
+
title: '工程进度列表',
|
|
212
|
+
props: ['showData'],
|
|
213
|
+
data () {
|
|
214
|
+
return {
|
|
215
|
+
model: new PagedList('gongcheng/rs/sql/projectManagement', 30, {
|
|
216
|
+
data: {
|
|
217
|
+
orgid: this.$login.f.orgid,
|
|
218
|
+
date: new Date().Format('yyyy-MM-dd')
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
),
|
|
222
|
+
projectStatus: [{label: '全部', value: ''}, ...this.$appdata.getParam('项目状态')],
|
|
223
|
+
// projectStatus: [{label: '全部', value: ''}, {label: '完工项目', value: '完工项目'},{label: '在建项目',value: '在建项目'},{label: '未建项目', value: '未建项目'},{label: '停工项目',value: '停工项目'},{label: '市场已立项未动工',value: '市场已立项未动工'}],
|
|
224
|
+
projectsettlements: [{label: '全部', value: ''}, {label: '是', value: '是'}, {label: '否', value: '否'}],
|
|
225
|
+
criteriaShow: false,
|
|
226
|
+
apply_org: [],
|
|
227
|
+
chargeAll: {
|
|
228
|
+
count: 0,
|
|
229
|
+
sum: 0,
|
|
230
|
+
yujisum:0
|
|
231
|
+
},
|
|
232
|
+
condition: ''
|
|
233
|
+
}
|
|
234
|
+
},
|
|
235
|
+
ready () {
|
|
236
|
+
this.$refs.cp.$refs.cri.model.f_overdue_date = 1
|
|
237
|
+
// 调用查询
|
|
238
|
+
this.search()
|
|
239
|
+
this.getOrgName()
|
|
240
|
+
},
|
|
241
|
+
methods: {
|
|
242
|
+
async getChargeAll(args){
|
|
243
|
+
debugger
|
|
244
|
+
let http = new HttpResetClass()
|
|
245
|
+
let data = {
|
|
246
|
+
condition: args.condition,
|
|
247
|
+
data: {
|
|
248
|
+
orgid: this.$login.f.orgid
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
let res = await http.load('POST', 'gongcheng/rs/sql/chargeAll', {data: data}, {resolveMsg: null, rejectMsg: null})
|
|
252
|
+
|
|
253
|
+
this.chargeAll = res.data[0]
|
|
254
|
+
},
|
|
255
|
+
// 获取所有组织名称
|
|
256
|
+
async getOrgName() {
|
|
257
|
+
console.log("打印公司",this.$login.f.orgs)
|
|
258
|
+
debugger
|
|
259
|
+
let http = new HttpResetClass()
|
|
260
|
+
let org = this.$login.f.orgs === '重庆盛焰集团' || this.$login.f.orgs === '湖南燎原燃气有限公司' ? " 1 = 1" : " name = '" + this.$login.f.orgs + "'"
|
|
261
|
+
let data = {
|
|
262
|
+
tablename: 't_organization',
|
|
263
|
+
condition: " name != '组织机构' and " + org
|
|
264
|
+
}
|
|
265
|
+
let res = await http.load('POST','gongcheng/rs/sql/applysingleTable',{data:data}, {
|
|
266
|
+
resolveMsg: null,
|
|
267
|
+
rejectMsg: '获取公司名称失败'
|
|
268
|
+
})
|
|
269
|
+
for (let i = 0; i < res.data.length; i++) {
|
|
270
|
+
// 所属公司
|
|
271
|
+
let data1 = []
|
|
272
|
+
let array1 = []
|
|
273
|
+
data1 = res.data.map(item => {
|
|
274
|
+
return item.name;
|
|
275
|
+
})
|
|
276
|
+
for (let q = 0; q < data1.length; q++) {
|
|
277
|
+
let arraydata = {
|
|
278
|
+
'label': data1[q],
|
|
279
|
+
'value': data1[q]
|
|
280
|
+
}
|
|
281
|
+
debugger
|
|
282
|
+
if (array1.length != 0) {
|
|
283
|
+
for (let w = 0; w < array1.length; w++) {
|
|
284
|
+
if (array1[w].label == data1[q]) {
|
|
285
|
+
break
|
|
286
|
+
}
|
|
287
|
+
while (w == array1.length - 1) {
|
|
288
|
+
array1.push(arraydata)
|
|
289
|
+
break
|
|
290
|
+
}
|
|
291
|
+
}
|
|
292
|
+
} else {
|
|
293
|
+
debugger
|
|
294
|
+
array1.push(arraydata)
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
this.apply_org = array1
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
openInvalid (row) {
|
|
301
|
+
this.$dispatch('openInvalid', row)
|
|
302
|
+
},
|
|
303
|
+
searchCondition (args) {
|
|
304
|
+
if(this.$login.f.orgs !== '重庆盛焰集团') {
|
|
305
|
+
args.condition += ` and f_orgname = '${this.$login.f.orgs}'`
|
|
306
|
+
}
|
|
307
|
+
if (!isEmpty(args.model.f_contract_status)) {
|
|
308
|
+
args.condition += ` and ${args.model.f_contract_status}`
|
|
309
|
+
}
|
|
310
|
+
// 导出需要的条件
|
|
311
|
+
this.condition = args.condition
|
|
312
|
+
this.getChargeAll(args)
|
|
313
|
+
this.model.search(args.condition, args.model)
|
|
314
|
+
},
|
|
315
|
+
openRenew (row) {
|
|
316
|
+
this.$dispatch('openRenew', row)
|
|
317
|
+
},
|
|
318
|
+
// 删除
|
|
319
|
+
deleteRow (row) {
|
|
320
|
+
this.$showMessage("确定要删除该行吗", ['confirm', 'cancel'], 'danger').then((res) => {
|
|
321
|
+
if(res === 'confirm'){
|
|
322
|
+
this.$resetpost('gongcheng/rs/logic/deleteProject', {id: row.id, tablename: 't_project_management'}, {resolveMsg: '删除成功', rejectMsg: '删除失败'})
|
|
323
|
+
this.search()
|
|
324
|
+
}
|
|
325
|
+
})
|
|
326
|
+
},
|
|
327
|
+
openAddContract () {
|
|
328
|
+
this.$dispatch('openAddContract')
|
|
329
|
+
},
|
|
330
|
+
return(){
|
|
331
|
+
this.$dispatch('return')
|
|
332
|
+
},
|
|
333
|
+
openViewContract (row) {
|
|
334
|
+
this.$dispatch('openViewContract', row)
|
|
335
|
+
},
|
|
336
|
+
clear () {
|
|
337
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
338
|
+
this.$refs.cp.$refs.cri.model[key] = null
|
|
339
|
+
})
|
|
340
|
+
},
|
|
341
|
+
// 查询
|
|
342
|
+
search () {
|
|
343
|
+
this.$dispatch('search')
|
|
344
|
+
},
|
|
345
|
+
|
|
346
|
+
getfield() {
|
|
347
|
+
let report = {
|
|
348
|
+
'f_project_name': '工程项目名称',
|
|
349
|
+
'f_project_address': '项目地点',
|
|
350
|
+
'f_project_content': '市场部收费及派工内容',
|
|
351
|
+
'f_project_unit': '施工单位',
|
|
352
|
+
'f_project_state': '项目状态',
|
|
353
|
+
'f_start_working_date': '预计开工日期',
|
|
354
|
+
'f_complete_working_date': '预计完工日期',
|
|
355
|
+
'f_working_date': '合同预计工期',
|
|
356
|
+
'f_start_practical_date': '实际开工日期',
|
|
357
|
+
'f_complete_practical_date': '实际完工日期',
|
|
358
|
+
'f_practical_date': '实际工期',
|
|
359
|
+
'f_overdue_date': '已超过约定工期天数',
|
|
360
|
+
'f_zhong_pipeline': '中压管道(公里)',
|
|
361
|
+
'f_di_pipeline': '低压管道',
|
|
362
|
+
'f_civil_user': '民用用户',
|
|
363
|
+
'f_industrial_user': '工业用户',
|
|
364
|
+
'f_business_user': '商业用户',
|
|
365
|
+
'f_investment_user': '项目预计投资额',
|
|
366
|
+
'f_first_payment': '第一次支付',
|
|
367
|
+
'f_second_payment': '第二次支付',
|
|
368
|
+
'f_third_payment': '第三次支付',
|
|
369
|
+
'f_total_payment': '累计付款',
|
|
370
|
+
'f_residual_balance': '剩余款项',
|
|
371
|
+
'f_project_settlement': '项目是否办理工程结算',
|
|
372
|
+
'f_info': '反馈内容',
|
|
373
|
+
'f_info_date': '反馈时间',
|
|
374
|
+
'f_ziorg_info': '子公司意见反馈',
|
|
375
|
+
'f_ziorg_date': '子公司意见反馈时间',
|
|
376
|
+
'f_zong_gc_info': '总部工程部意见反馈',
|
|
377
|
+
'f_ziorg_gc_date': '总部工程部意见反馈时间',
|
|
378
|
+
'f_zong_sc_info': '总部市场部意见反馈',
|
|
379
|
+
'f_ziorg_sc_date': '总部市场部意见反馈时间',
|
|
380
|
+
'f_zong_wz_info': '总部物资部意见反馈',
|
|
381
|
+
'f_zong_wz_date': '总部物资部意见反馈时间',
|
|
382
|
+
'f_zong_sj_info': '总部设计部意见反馈',
|
|
383
|
+
'f_zong_sj_date': '总部设计部意见反馈时间',
|
|
384
|
+
'f_zong_yy_info': '总部运营部意见反馈',
|
|
385
|
+
'f_zong_yy_date': '总部运营部意见反馈时间',
|
|
386
|
+
'f_operator': '操作人',
|
|
387
|
+
'f_orgname': '所属公司'
|
|
388
|
+
}
|
|
389
|
+
return report
|
|
390
|
+
}
|
|
391
|
+
},
|
|
392
|
+
events: {
|
|
393
|
+
},
|
|
394
|
+
computed: {
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
</script>
|
|
398
|
+
|
|
399
|
+
<style scoped>
|
|
400
|
+
.warning {
|
|
401
|
+
background-color: #f0ad4e;
|
|
402
|
+
}
|
|
403
|
+
.danger {
|
|
404
|
+
background-color: #d9534f;
|
|
405
|
+
}
|
|
406
|
+
</style>
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex-row">
|
|
3
|
+
<div class="basic-main" v-el:main>
|
|
4
|
+
<div :class="showData ? 'top' : 'auto'" v-el:query>
|
|
5
|
+
<project-list v-ref:query :show-data="showData"></project-list>
|
|
6
|
+
<p class="bg-info text-center" style="font-size: 20px;height: 5%">
|
|
7
|
+
合计记录共<span style="color: red"> {{$refs.query.chargeAll.count}} </span>笔,
|
|
8
|
+
合计累计付款金额<span style="color: red"> {{$refs.query.chargeAll.sum}} </span>元
|
|
9
|
+
合计累项目预计投资额<span style="color: red"> {{$refs.query.chargeAll.yujisum}} </span>元
|
|
10
|
+
</p>
|
|
11
|
+
</div>
|
|
12
|
+
<div v-if="showtotal" style="margin-top: 20px;height: 90%">
|
|
13
|
+
<tabset v-ref:tabs :close="false">
|
|
14
|
+
<tab header='工程信息'>
|
|
15
|
+
<add-project-schedule :contract="contract" :type="type"></add-project-schedule>
|
|
16
|
+
</tab>
|
|
17
|
+
</tabset>
|
|
18
|
+
</div>
|
|
19
|
+
</div>
|
|
20
|
+
</div>
|
|
21
|
+
</template>
|
|
22
|
+
|
|
23
|
+
<script>
|
|
24
|
+
|
|
25
|
+
export default {
|
|
26
|
+
title: '工程项目进度列表 ',
|
|
27
|
+
data () {
|
|
28
|
+
return {
|
|
29
|
+
showData: true,
|
|
30
|
+
showtotal: false,
|
|
31
|
+
contract: {},
|
|
32
|
+
type: null
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
ready () {
|
|
36
|
+
},
|
|
37
|
+
methods: {
|
|
38
|
+
},
|
|
39
|
+
events: {
|
|
40
|
+
async 'openInvalid' (data) {
|
|
41
|
+
|
|
42
|
+
this.$showMessage('您确定要作废此合同吗?', ['confirm']).then((res) => {
|
|
43
|
+
if (res === 'confirm') {
|
|
44
|
+
data.f_contract_status = '无效'
|
|
45
|
+
this.$resetpost(
|
|
46
|
+
`gongcheng/rs/entity/t_contract`,
|
|
47
|
+
data,
|
|
48
|
+
{resolveMsg: '作废成功!!!',rejectMsg: '作废失败!!!'}
|
|
49
|
+
).then(r => {
|
|
50
|
+
this.$refs.query.search()
|
|
51
|
+
})
|
|
52
|
+
}
|
|
53
|
+
})
|
|
54
|
+
},
|
|
55
|
+
async 'renewContract' (data) {
|
|
56
|
+
|
|
57
|
+
data.user = this.$login.f
|
|
58
|
+
|
|
59
|
+
let res = await this.$resetpost(
|
|
60
|
+
`gongcheng/rs/logic/amendproject`,
|
|
61
|
+
{data: data},
|
|
62
|
+
{resolveMsg: null,rejectMsg: '修改失败!!!'}
|
|
63
|
+
)
|
|
64
|
+
|
|
65
|
+
this.$refs.query.search()
|
|
66
|
+
},
|
|
67
|
+
'openRenew' (contract) {
|
|
68
|
+
this.type = 'renew'
|
|
69
|
+
this.contract = contract
|
|
70
|
+
this.showData = false
|
|
71
|
+
|
|
72
|
+
this.$refs.query.$refs.cp.pager = false
|
|
73
|
+
this.showtotal = false
|
|
74
|
+
this.$nextTick(() => {
|
|
75
|
+
this.showtotal = true
|
|
76
|
+
})
|
|
77
|
+
},
|
|
78
|
+
// 打开详情
|
|
79
|
+
'openViewContract' (contract) {
|
|
80
|
+
this.type = 'view'
|
|
81
|
+
this.contract = contract
|
|
82
|
+
this.showData = false
|
|
83
|
+
this.$refs.query.$refs.cp.pager = false
|
|
84
|
+
this.showtotal = false
|
|
85
|
+
this.$nextTick(() => {
|
|
86
|
+
this.showtotal = true
|
|
87
|
+
})
|
|
88
|
+
},
|
|
89
|
+
// 添加项目
|
|
90
|
+
async 'addProject' (data) {
|
|
91
|
+
data.user = this.$login.f
|
|
92
|
+
|
|
93
|
+
let res = await this.$resetpost(
|
|
94
|
+
`gongcheng/rs/logic/addProject`,
|
|
95
|
+
{data: data}
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
this.$refs.query.search()
|
|
99
|
+
},
|
|
100
|
+
async 'openAddContract' () {
|
|
101
|
+
this.contract = {}
|
|
102
|
+
let res = await this.$resetpost(
|
|
103
|
+
`gongcheng/rs/logic/getUUID`,
|
|
104
|
+
null,
|
|
105
|
+
{resolveMsg: null,rejectMsg: '唯一标识获取失败!!!'}
|
|
106
|
+
)
|
|
107
|
+
|
|
108
|
+
this.contract.f_process_id = res.data
|
|
109
|
+
|
|
110
|
+
this.type = 'add'
|
|
111
|
+
this.showData = false
|
|
112
|
+
this.$refs.query.$refs.cp.pager = false
|
|
113
|
+
this.showtotal = false
|
|
114
|
+
this.$nextTick(() => {
|
|
115
|
+
this.showtotal = true
|
|
116
|
+
})
|
|
117
|
+
},
|
|
118
|
+
'return'(){
|
|
119
|
+
debugger
|
|
120
|
+
// 关闭详细
|
|
121
|
+
this.showtotal = false
|
|
122
|
+
// 显示列表数据
|
|
123
|
+
this.showData = true
|
|
124
|
+
// 显示分页
|
|
125
|
+
this.$refs.query.$refs.cp.pager = true
|
|
126
|
+
},
|
|
127
|
+
'search' () {
|
|
128
|
+
// 关闭详细
|
|
129
|
+
this.showtotal = false
|
|
130
|
+
// 显示列表数据
|
|
131
|
+
this.showData = true
|
|
132
|
+
// 显示分页
|
|
133
|
+
this.$refs.query.$refs.cp.pager = true
|
|
134
|
+
// 调用查询
|
|
135
|
+
this.$refs.query.$refs.cp.$refs.cri.search()
|
|
136
|
+
}
|
|
137
|
+
},
|
|
138
|
+
computed: {
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
</script>
|
|
142
|
+
|
|
143
|
+
<style scoped>
|
|
144
|
+
</style>
|