apply-clients 5.0.361 → 6.0.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/build/css-loaders.js +34 -0
- package/build/dev-android.js +101 -0
- package/build/dev-client.js +8 -0
- package/build/dev-server-app.js +76 -0
- package/build/dev-server.js +72 -0
- package/build/example-server.js +80 -0
- package/build/release.sh +28 -0
- package/build/utils.js +80 -0
- package/build/webpack.base.conf.js +83 -0
- package/build/webpack.baseandroid.conf.js +84 -0
- package/build/webpack.dev.conf.js +39 -0
- package/build/webpack.devandroid.conf.js +34 -0
- package/build/webpack.example.conf.js +49 -0
- package/build/webpack.prod.conf.js +60 -0
- package/build/webpack.prodandroid.conf.js +60 -0
- package/build/webpack.test.conf.js +31 -0
- package/dist-android/static/.gitkeep +0 -0
- 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/huangtengbiaozhi.png +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/psicon.png +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/xinxi.png +0 -0
- package/package.json +5 -10
- package/src/AndroidApp.vue +1 -1
- package/src/App.vue +0 -1
- package/src/apply.js +172 -104
- package/src/applyAndroid.js +0 -5
- package/src/assets/shipin1.mp4 +0 -0
- package/src/bootstrap/less/bootstrap.less +2 -1
- package/src/components/Hello.vue +39 -0
- package/src/components/Table.js +2 -2
- package/src/components/Test.vue +26 -0
- package/src/components/Util.js +6 -11
- package/src/components/app_apply/Acceptance.vue +2 -7
- package/src/components/app_apply/ApplyApp.vue +6 -16
- package/src/components/app_apply/ApplyInfo.vue +1 -1
- package/src/components/app_apply/ApplyListUpload.vue +3 -3
- package/src/components/app_apply/ApplyToDoList.vue +3 -3
- package/src/components/app_apply/ApplyUserInfo.vue +3 -2
- package/src/components/app_apply/FieldExploration.vue +1 -3
- package/src/components/app_apply/PlaceControler.vue +49 -38
- package/src/components/{product/VueUtils → apply/base}/rightview/InstallCardList2.vue +38 -29
- package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ReduceFeeDetail2.vue +77 -77
- package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/StopApplyDetail2.vue +1 -1
- package/src/components/build/Install/ApplyChargeSearch.vue +210 -0
- package/src/components/build/Install/ExplorationSelect.vue +308 -0
- package/src/components/build/Install/ExplorationUser.vue +315 -0
- package/src/components/build/Install/InstallFee/AddContract.vue +257 -0
- package/src/components/build/Install/InstallFee/InstallFee.vue +929 -0
- package/src/components/build/Install/InstallFee/InstallFee2.vue +291 -0
- package/src/components/{product/Function/functions → build/Install/InstallFee}/InstallFeeInfo.vue +11 -42
- package/src/components/build/Install/InstallFee/InstallFunction.vue +242 -0
- package/src/components/build/Install/InstallFee/InstallInfoSelect.vue +232 -0
- package/src/components/{product/Process → build/Install}/ModifyUserFiles.vue +1 -1
- package/src/components/build/Install/Process/BuildJob.vue +242 -0
- package/src/components/build/Install/Process/ContratSigne.vue +283 -0
- package/src/components/build/Install/Process/CustomerEssentialInfo.vue +325 -0
- package/src/components/build/Install/Process/CustomerFile.vue +423 -0
- package/src/components/build/Install/Process/CustomerMaterialMessage.vue +414 -0
- package/src/components/build/Install/Process/CustomerRecordMessage.vue +749 -0
- package/src/components/build/Install/Process/DispatchingJob.vue +261 -0
- package/src/components/build/Install/Process/FeeNorme.vue +252 -0
- package/src/components/build/Install/Process/FeeNormeAndContratSigne.vue +376 -0
- package/src/components/build/Install/Process/FeeVerifier.vue +199 -0
- package/src/components/build/Install/Process/IgnitionVentilation.vue +232 -0
- package/src/components/build/Install/Process/MeterType.vue +379 -0
- package/src/components/build/Install/Process/PlaceControler.vue +304 -0
- package/src/components/build/Install/Process/ProjeterFigure.vue +211 -0
- package/src/components/build/Install/Process/ReceivingNote.vue +317 -0
- package/src/components/build/Install/Process/boneng/qbj_placecontroler.vue +370 -0
- package/src/components/build/Install/Process/zhongran/ZR_Construction.vue +388 -0
- package/src/components/build/Install/Process/zhongran/ZR_ContratSigne.vue +496 -0
- package/src/components/build/Install/Process/zhongran/ZR_CustomerEssentialInfo.vue +415 -0
- package/src/components/build/Install/Process/zhongran/ZR_DispatchingJob.vue +409 -0
- package/src/components/build/Install/Process/zhongran/ZR_FeeNorme.vue +342 -0
- package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation.vue +253 -0
- package/src/components/build/Install/Process/zhongran/ZR_IgnitionVentilation_transfer.vue +198 -0
- package/src/components/build/Install/Process/zhongran/ZR_MaterialPlan.vue +259 -0
- package/src/components/build/Install/Process/zhongran/ZR_MaterialPlanExamine.vue +243 -0
- package/src/components/build/Install/Process/zhongran/ZR_PlaceControler.vue +426 -0
- package/src/components/build/Install/Process/zhongran/ZR_PlaceControler_print.vue +187 -0
- package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote.vue +404 -0
- package/src/components/build/Install/Process/zhongran/ZR_ReceivingNote1.vue +301 -0
- package/src/components/build/Install/Process/zhongran/ZR_TestDesign.vue +441 -0
- package/src/components/build/Install/Process/zhongran/ZR_end.vue +20 -0
- package/src/components/build/Install/ProcessInfo/BasicInfo.vue +68 -0
- package/src/components/build/Install/ProcessInfo/BuildInfo.vue +110 -0
- package/src/components/build/Install/ProcessInfo/ContratProcessInfo.vue +116 -0
- package/src/components/build/Install/ProcessInfo/DispatchingInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/FeeNormeInfo.vue +108 -0
- package/src/components/build/Install/ProcessInfo/FeeVerifierInfo.vue +102 -0
- package/src/components/build/Install/ProcessInfo/IgnitionInfo.vue +99 -0
- package/src/components/build/Install/ProcessInfo/MeterProcessInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/PlaceProcessInfo.vue +115 -0
- package/src/components/build/Install/ProcessInfo/ProjeterProcessInfo.vue +107 -0
- package/src/components/build/Install/ProcessInfo/ReceivingInfo.vue +107 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_BasicInfo.vue +74 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_BuildInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ContratProcessInfo.vue +114 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_DispatchingInfo.vue +119 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_FeeNormeInfo.vue +105 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_IgnitionInfo.vue +99 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_MaterialPlan_info.vue +104 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_PlaceProcessInfo.vue +109 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ReceivingInfo.vue +102 -0
- package/src/components/build/Install/ProcessInfo/zhongran/ZR_ignition_transfer_info.vue +104 -0
- package/src/components/{product/Bill → build/Install/bill}/BillXSDMakeInfo.vue +1 -1
- package/src/components/build/Install/monitor/SupervisoryControl.vue +178 -0
- package/src/components/build/Install/monitor/SupervisoryList.vue +209 -0
- package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryhCart.vue +3 -29
- package/src/components/product/Process/Processes/Service/ServiceControl.vue +91 -1718
- package/src/main.js +2 -9
- package/src/stores/ApplyLoadParams.js +1 -1
- package/src/bootstrap/less/standard.less +0 -208
- package/src/components/app_apply/ServiceControl.vue +0 -442
- package/src/components/app_apply/ServiceView.vue +0 -356
- package/src/components/product/Common/ApplyValidateBill.vue +0 -55
- package/src/components/product/Common/PrintBill.vue +0 -120
- package/src/components/product/Function/InstallFunction.vue +0 -142
- package/src/components/product/Function/InstallInfoSelect.vue +0 -254
- package/src/components/product/Function/Service/FunctionServiceControl.vue +0 -328
- package/src/components/product/Function/functions/AddContract.vue +0 -301
- package/src/components/product/Function/functions/BuyerMessage.vue +0 -512
- package/src/components/product/Function/functions/InstallFee.vue +0 -919
- package/src/components/product/Function/functions/material_recording.vue +0 -237
- package/src/components/product/MaterialBatchList.vue +0 -109
- package/src/components/product/MaterialBatchManage.vue +0 -34
- package/src/components/product/Process/ExplorationSelect.vue +0 -636
- package/src/components/product/Process/ExplorationUser.vue +0 -131
- package/src/components/product/Process/MaterialUseList.vue +0 -159
- package/src/components/product/Process/ProcessInfo/history_control.vue +0 -134
- package/src/components/product/Process/Processes/CustomerMaterialMessage.vue +0 -776
- package/src/components/product/Process/Processes/CustomerRecordMessage.vue +0 -910
- package/src/components/product/Process/Processes/ProjectSettlement.vue +0 -383
- package/src/components/product/Process/Processes/ReceiveBatch.vue +0 -957
- package/src/components/product/Process/Processes/SendOrder.vue +0 -47
- package/src/components/product/Process/Processes/Service/ApplyAcceptBill.vue +0 -89
- package/src/components/product/Process/Processes/Service/ApplyChargeSearch.vue +0 -305
- package/src/components/product/Process/Processes/Service/GasStop.vue +0 -96
- package/src/components/product/Process/ShowBackReason.vue +0 -18
- package/src/components/product/ServiceView.vue +0 -800
- package/src/components/product/Supervisory/Service/SupervisoryServiceControl.vue +0 -407
- package/src/components/product/Supervisory/SupervisoryControl.vue +0 -130
- package/src/components/product/Supervisory/SupervisoryList.vue +0 -349
- package/src/components/product/stopInfo/ApplyStopInfo.vue +0 -280
- package/src/plugins/commonService.js +0 -229
- package/yarn.lock +0 -8072
- /package/src/components/{product/VueUtils → apply/base}/ToolsPage.vue +0 -0
- /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/BuildFeeDetail2.vue +0 -0
- /package/src/components/{product/VueUtils → apply/base}/rightview/carddetail/ChangeFeeDetail2.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/AllSelect.vue +0 -0
- /package/src/components/{product/Function → build/Install/InstallFee}/InstallInfoDown.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/PreparationFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/PrestoreFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/ReduceFee.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/StopInstall.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/InstallFee}/UpdateFee.vue +0 -0
- /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerBuildingMessage.vue +0 -0
- /package/src/components/{product/Process/Processes → build/Install/Process}/CustomerEquipmentMessage.vue +0 -0
- /package/src/components/{product/Function/functions → build/Install/ProcessInfo}/ApplyRecordCancel.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillGZKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLB.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLBMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillJLBRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillKTKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRK.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRKMakeInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillQRKRecordInfo.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillSelect.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillXSD.vue +0 -0
- /package/src/components/{product/Bill → build/Install/bill}/BillXSDRecordInfo.vue +0 -0
- /package/src/components/{product/Supervisory → build/Install/monitor}/SupervisoryBaseInfo.vue +0 -0
|
@@ -1,356 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto select-overspread">
|
|
3
|
-
<div v-if="data.back_reason" class="panel panel-info">
|
|
4
|
-
<span style="color: red"> 请注意被退回原因为:{{data.back_reason}}</span>
|
|
5
|
-
</div>
|
|
6
|
-
<validator name="v">
|
|
7
|
-
<form class="form-horizontal">
|
|
8
|
-
<div class="col-sm-11 form-group">
|
|
9
|
-
<div v-for="(index,item) in data.fields">
|
|
10
|
-
<!--input-->
|
|
11
|
-
<div v-if="item.type==='input'" v-show="!item.hidden" :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
12
|
-
<label :class="item.label_bootstraped?item.label_bootstraped+' control-label':'control-label col-sm-6'">{{item.label}}:</label>
|
|
13
|
-
<div :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'">
|
|
14
|
-
<input class="form-control"
|
|
15
|
-
:type="item.type"
|
|
16
|
-
v-model="data.fields[index].value"
|
|
17
|
-
:placeholder="item.placeholder"
|
|
18
|
-
:value="data.fields[index].value"
|
|
19
|
-
:readonly="item.readonly"
|
|
20
|
-
:disable="item.disable"
|
|
21
|
-
@change="disabled_check(data.fields[index].required,data.fields[index].value)"
|
|
22
|
-
@blur="select_change(index),check_disable"
|
|
23
|
-
/>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<!--时间datepicker-->
|
|
27
|
-
<div v-if="item.type==='datepicker'" :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-xs-12 form-group']">
|
|
28
|
-
<label style="margin-top: 0.7em" :class="item.label_bootstraped?item.label_bootstraped + '':'col-xs-12'">{{item.label}}:</label>
|
|
29
|
-
<div :class="item.value_bootstraped?item.value_bootstraped:'col-xs-12'">
|
|
30
|
-
<datepicker
|
|
31
|
-
:placeholder="item.placeholder"
|
|
32
|
-
:value.sync="data.fields[index].value"
|
|
33
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
34
|
-
v-model="data.fields[index].value"
|
|
35
|
-
:readonly="item.readonly"
|
|
36
|
-
:disabled="item.disabled"
|
|
37
|
-
@blur ="check_disable"
|
|
38
|
-
:show-reset-button="reset">
|
|
39
|
-
</datepicker>
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
<!--textarea-->
|
|
45
|
-
<div v-if="item.type==='textarea'" :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-12 form-group']">
|
|
46
|
-
<label :class="item.label_bootstraped?item.label_bootstraped+' control-label':'control-label col-sm-2'">{{item.label}}:</label>
|
|
47
|
-
<div :class="item.value_bootstraped?item.value_bootstraped:'col-sm-10'">
|
|
48
|
-
<textarea
|
|
49
|
-
:readonly="item.readonly"
|
|
50
|
-
:disabled="item.disabled"
|
|
51
|
-
class="form-control"
|
|
52
|
-
:rows="item.rows"
|
|
53
|
-
v-model="data.fields[index].value"
|
|
54
|
-
@change="disabled_check(data.fields[index].required,data.fields[index].value)"
|
|
55
|
-
@blur ="check_disable"
|
|
56
|
-
>
|
|
57
|
-
</textarea>
|
|
58
|
-
</div>
|
|
59
|
-
</div>
|
|
60
|
-
|
|
61
|
-
<!--radio-->
|
|
62
|
-
<div v-if="item.type==='radio'" :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-12 form-group']">
|
|
63
|
-
<label v-if="item.label" :class="item.label_bootstraped?item.label_bootstraped+' control-label':'control-label col-sm-2'">{{item.label}}:</label>
|
|
64
|
-
<div class="col-xs-12">
|
|
65
|
-
<div :class="item.value_bootstraped?item.value_bootstraped:item.items.length%2 == 0?'col-xs-5': 'col-xs-3'" v-for="(index2,row) in item.items">
|
|
66
|
-
<label style="margin-top: 0.7em" for="row.label" :class="item.items.length%2 == 0?'col-xs-4': 'col-xs-2'">{{row.label}}</label>
|
|
67
|
-
<input @blur ="check_disable" :class="item.items.length%2 == 0?'col-xs-1': 'col-xs-1'" :readonly="item.readonly" :disabled="item.disabled" style="margin-top: 10px" type="radio" :name="index" :id="row.label" v-bind:value="data.fields[index].items[index2].value" v-model="data.fields[index].value">
|
|
68
|
-
</div>
|
|
69
|
-
</div>
|
|
70
|
-
</div>
|
|
71
|
-
|
|
72
|
-
<!--select-->
|
|
73
|
-
<div v-if="item.type==='select'" :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-4 form-group']">
|
|
74
|
-
<label :class="item.label_bootstraped?item.label_bootstraped+' control-label':'control-label col-sm-6'">{{item.label}}:</label>
|
|
75
|
-
<input-select :class="item.value_bootstraped?item.value_bootstraped:'col-sm-6'" @blur ="check_disable" @change="select_change(index),disabled_check(data.fields[index].required,data.fields[index].value)" :readonly="item.readonly" :disable="item.disabled" :value.sync="data.fields[index].value" v-model="data.fields[index].value"
|
|
76
|
-
:options='item.options' :valueSingle="true"></input-select>
|
|
77
|
-
|
|
78
|
-
</div>
|
|
79
|
-
|
|
80
|
-
<!--checkbox-->
|
|
81
|
-
<div v-if="item.type==='checkbox'" :class="[data.fields[index].required&&!(data.fields[index].value) ? 'has-error' : '',data.fields[index].bootstraped?data.fields[index].bootstraped+' form-group':'col-sm-12 form-group']">
|
|
82
|
-
<label v-if="item.label" :class="item.label_bootstraped?item.label_bootstraped+' control-label':'control-label col-sm-2'">{{item.label}}:</label>
|
|
83
|
-
<div style="margin-top: 0.7em" :class="item.value_bootstraped?item.value_bootstraped:'control-label col-sm-2'" v-for="(index2,row) in item.items">
|
|
84
|
-
<label class="font-size form-group col-sm-6">{{row.label}}</label>
|
|
85
|
-
<input :readonly="item.readonly" :disabled="item.disabled" type="checkbox" class="col-sm-6" :id="row.label" v-model="data.fields[index].items[index2].value">
|
|
86
|
-
</div>
|
|
87
|
-
</div>
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
</div>
|
|
91
|
-
</div>
|
|
92
|
-
<div class="col-sm-11 form-group">
|
|
93
|
-
<div class="form-group col-sm-6">
|
|
94
|
-
<label class=" col-sm-4 control-label">分公司:</label>
|
|
95
|
-
<div class="col-sm-5">
|
|
96
|
-
<input class="form-control" type="text" v-model="model.f_filiale" disabled>
|
|
97
|
-
</div>
|
|
98
|
-
</div>
|
|
99
|
-
<div class="col-sm-6 form-group">
|
|
100
|
-
<label class="control-label col-sm-6">部门:</label>
|
|
101
|
-
<div class="col-sm-5">
|
|
102
|
-
<input type="text" class="form-control" disabled v-model="model.f_parentname"/>
|
|
103
|
-
</div>
|
|
104
|
-
</div>
|
|
105
|
-
</div>
|
|
106
|
-
<div class="col-sm-11 form-group">
|
|
107
|
-
<div class="col-sm-6 form-group">
|
|
108
|
-
<label class="control-label col-sm-4">操作日期:</label>
|
|
109
|
-
<div class="col-sm-5">
|
|
110
|
-
<input type="text" class="form-control" disabled v-model="model.f_operate_date"/>
|
|
111
|
-
</div>
|
|
112
|
-
</div>
|
|
113
|
-
<div class="col-sm-6 form-group">
|
|
114
|
-
<label class="control-label col-sm-6">操作人:</label>
|
|
115
|
-
<div class="col-sm-5">
|
|
116
|
-
<input type="text" class="form-control" disabled v-model="model.f_operator"/>
|
|
117
|
-
</div>
|
|
118
|
-
</div>
|
|
119
|
-
</div>
|
|
120
|
-
|
|
121
|
-
</form>
|
|
122
|
-
</validator>
|
|
123
|
-
<div class="from-group col-xs-12">
|
|
124
|
-
<center>
|
|
125
|
-
<div v-for="(index,button) in data.buttons" :class="[data.buttons.length==4?'col-xs-3':'',data.buttons.length==3?'col-xs-4':'',data.buttons.length==2?'col-xs-6':'']">
|
|
126
|
-
<!-- 按钮组 -->
|
|
127
|
-
<button :disabled="(button.button_name==='提交'||button.button_name==='下发')&&disable_button"
|
|
128
|
-
type="button" @click="clicked(index,button)" style="border-radius:5px; "
|
|
129
|
-
:class="[(button.button_name==='提交'||button.button_name==='下发')&&disable_button?'btn btn-default':'btn btn-primary',data.buttons.length==4 ? 'col-xs-2 col-xs-offset-1':'',data.buttons.length==3 ? 'col-xs-2 col-xs-offset-2':'',data.buttons.length==2 ? 'col-xs-4 col-xs-offset-2':'']">
|
|
130
|
-
{{button.button_name}}
|
|
131
|
-
</button>
|
|
132
|
-
</div>
|
|
133
|
-
</center>
|
|
134
|
-
</div>
|
|
135
|
-
<!-- 模态框 -->
|
|
136
|
-
<modal v-if="showmodal" :show.sync="showmodal" v-ref:modal backdrop="false">
|
|
137
|
-
<header slot="modal-header" class="modal-header">
|
|
138
|
-
<button type="button" class="close" @click="closemodal"><span>×</span></button>
|
|
139
|
-
<h4 class="modal-title">{{model.button.button_name}}</h4>
|
|
140
|
-
</header>
|
|
141
|
-
<article slot="modal-body" class="modal-body">
|
|
142
|
-
<div class="col-sm-12" v-for="(index,button_field) in data.buttons[model.button.button_index].button_fields">
|
|
143
|
-
<label class="control-label col-sm-3" style="margin-top: 10px">{{button_field.label}}:</label>
|
|
144
|
-
<div class="col-sm-7">
|
|
145
|
-
<!--select-->
|
|
146
|
-
<input-select v-if="button_field.type=='select'" :value.sync="data.buttons[model.button.button_index].button_fields[index].value" v-model="data.buttons[model.button.button_index].button_fields[index].value"
|
|
147
|
-
:options='button_field.options'></input-select>
|
|
148
|
-
<!-- input -->
|
|
149
|
-
<input v-else type="text" class="form-control" v-model="data.buttons[model.button.button_index].button_fields[index].value"/>
|
|
150
|
-
</div>
|
|
151
|
-
</div>
|
|
152
|
-
</article>
|
|
153
|
-
<footer slot="modal-footer" style="border-top:none" class="modal-footer">
|
|
154
|
-
<button v-show="showmodal" type="button" class="btn btn-primary" @click='acknowledge'>确认</button>
|
|
155
|
-
</footer>
|
|
156
|
-
</modal>
|
|
157
|
-
</div>
|
|
158
|
-
</template>
|
|
159
|
-
<script>
|
|
160
|
-
|
|
161
|
-
// Date格式化
|
|
162
|
-
Date.prototype.Format = function (fmt) {
|
|
163
|
-
var o = {
|
|
164
|
-
"M+": this.getMonth() + 1, //月份
|
|
165
|
-
"d+": this.getDate(), //日
|
|
166
|
-
"H+": this.getHours(), //小时
|
|
167
|
-
"m+": this.getMinutes(), //分
|
|
168
|
-
"s+": this.getSeconds(), //秒
|
|
169
|
-
"q+": Math.floor((this.getMonth() + 3) / 3), //季度
|
|
170
|
-
"S": this.getMilliseconds() //毫秒
|
|
171
|
-
};
|
|
172
|
-
if (/(y+)/.test(fmt)) fmt = fmt.replace(RegExp.$1, (this.getFullYear() + "").substr(4 - RegExp.$1.length));
|
|
173
|
-
for (var k in o)
|
|
174
|
-
if (new RegExp("(" + k + ")").test(fmt)) fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (("00" + o[k]).substr(("" + o[k]).length)));
|
|
175
|
-
return fmt;
|
|
176
|
-
}
|
|
177
|
-
|
|
178
|
-
import Vue from 'vue'
|
|
179
|
-
|
|
180
|
-
export default {
|
|
181
|
-
title: '报建业务通用组件',
|
|
182
|
-
props: ['data'],
|
|
183
|
-
data () {
|
|
184
|
-
return {
|
|
185
|
-
model:{
|
|
186
|
-
button:{
|
|
187
|
-
button_name:null,
|
|
188
|
-
button_index:null
|
|
189
|
-
},
|
|
190
|
-
f_filiale:null,
|
|
191
|
-
f_parentname:null,
|
|
192
|
-
f_operate_date:null,
|
|
193
|
-
f_operator:null
|
|
194
|
-
},
|
|
195
|
-
data:null,
|
|
196
|
-
showmodal:false,
|
|
197
|
-
disable_button:true
|
|
198
|
-
}
|
|
199
|
-
},
|
|
200
|
-
created(){
|
|
201
|
-
// 初始化数据
|
|
202
|
-
this.initializtion()
|
|
203
|
-
},
|
|
204
|
-
methods: {
|
|
205
|
-
// 初始化数据
|
|
206
|
-
initializtion(){
|
|
207
|
-
console.log('进入serviceview的initializtion方法')
|
|
208
|
-
// let temp = this.data
|
|
209
|
-
// let temp = JSON.parse(JSON.stringify(this.data))
|
|
210
|
-
// this.data = temp
|
|
211
|
-
// datepicker 没有值给当时值
|
|
212
|
-
if(this.data.fields){
|
|
213
|
-
for(let i=0;i<this.data.fields.length;i++){
|
|
214
|
-
if(this.data.fields[i].type==='datepicker'&&!this.data.fields[i].value){
|
|
215
|
-
this.data.fields[i].value=new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
216
|
-
}
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
if(this.data.filiale){
|
|
221
|
-
this.model.f_filiale = this.data.filiale
|
|
222
|
-
}else{
|
|
223
|
-
this.model.f_filiale = Vue.user.f_parentname
|
|
224
|
-
}
|
|
225
|
-
if(this.data.f_parentname){
|
|
226
|
-
this.model.f_parentname = this.data.f_parentname
|
|
227
|
-
}else{
|
|
228
|
-
this.model.f_parentname = Vue.user.f_parentname
|
|
229
|
-
}
|
|
230
|
-
if(this.data.operate_date){
|
|
231
|
-
this.model.f_operate_date = this.data.operate_date
|
|
232
|
-
}else{
|
|
233
|
-
this.model.f_operate_date = new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
234
|
-
}
|
|
235
|
-
if(this.data.operator){
|
|
236
|
-
this.model.f_operator = this.data.operator
|
|
237
|
-
}else{
|
|
238
|
-
this.model.f_operator = Vue.user.name
|
|
239
|
-
}
|
|
240
|
-
},
|
|
241
|
-
// 模态框点击确定按钮
|
|
242
|
-
acknowledge(){
|
|
243
|
-
for(let i=0;i<this.data.buttons[this.model.button.button_index].button_fields.length;i++){
|
|
244
|
-
this.model.button.button_fields[this.data.buttons[this.model.button.button_index].button_fields[i].field] = this.data.buttons[this.model.button.button_index].button_fields[i].value
|
|
245
|
-
}
|
|
246
|
-
this.showmodal=false
|
|
247
|
-
this.$dispatch('button',this.model)
|
|
248
|
-
},
|
|
249
|
-
// 关闭模态框
|
|
250
|
-
closemodal(){
|
|
251
|
-
this.showmodal=false
|
|
252
|
-
},
|
|
253
|
-
// 点击按钮
|
|
254
|
-
clicked(index,button){
|
|
255
|
-
console.log(`点击了按钮index:${index}+button:${JSON.stringify(button)}`);
|
|
256
|
-
// 组织model.fields数据
|
|
257
|
-
let modeldatas = {}
|
|
258
|
-
for(let i=0;i<this.data.fields.length;i++){
|
|
259
|
-
// checkbox特殊处理
|
|
260
|
-
if(this.data.fields[i].type==='checkbox'){
|
|
261
|
-
for(let j=0;j<this.data.fields[i].items.length;j++){
|
|
262
|
-
modeldatas[this.data.fields[i].items[j].field]=this.data.fields[i].items[j].value
|
|
263
|
-
}
|
|
264
|
-
}else{
|
|
265
|
-
modeldatas[this.data.fields[i].field]=this.data.fields[i].value
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
modeldatas.f_process_id = this.data.f_process_id
|
|
269
|
-
modeldatas.f_filiale = this.model.f_filiale
|
|
270
|
-
modeldatas.f_parentname = this.model.f_parentname
|
|
271
|
-
modeldatas.f_operator = this.model.f_operator
|
|
272
|
-
modeldatas.f_operate_date = this.model.f_operate_date
|
|
273
|
-
this.model = null
|
|
274
|
-
this.model = modeldatas
|
|
275
|
-
// 初始化model.button数据
|
|
276
|
-
let buttondatas = {
|
|
277
|
-
button_fields:{}
|
|
278
|
-
}
|
|
279
|
-
buttondatas.button_name=button.button_name
|
|
280
|
-
buttondatas.button_index=index
|
|
281
|
-
if(button.button_fields){
|
|
282
|
-
for(let i=0;i<button.button_fields.length;i++){
|
|
283
|
-
buttondatas.button_fields[button.button_fields[i].field]=button.button_fields[i].value
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
this.model.button =buttondatas
|
|
287
|
-
|
|
288
|
-
if(button.button_name==='退回'){
|
|
289
|
-
this.showmodal=true
|
|
290
|
-
}else if(button.button_name==='下发'){
|
|
291
|
-
this.showmodal=true
|
|
292
|
-
}else{
|
|
293
|
-
this.$dispatch('button',this.model)
|
|
294
|
-
}
|
|
295
|
-
},
|
|
296
|
-
// 级联操作预留
|
|
297
|
-
select_change(index){
|
|
298
|
-
console.log('ServiceView收到select改变事件,即将传播给父组件')
|
|
299
|
-
this.$dispatch('select_cascade',index)
|
|
300
|
-
},
|
|
301
|
-
// 检测按钮的disable
|
|
302
|
-
disabled_check(required,value){
|
|
303
|
-
if(required&&value){
|
|
304
|
-
this.disable_button = false
|
|
305
|
-
|
|
306
|
-
let fields = this.data.fields
|
|
307
|
-
let flag = false
|
|
308
|
-
for(let i = 0;i<fields.length;i++){
|
|
309
|
-
if(fields[i].type!=='checkbox'&&fields[i].required&&!fields[i].value){
|
|
310
|
-
flag = true
|
|
311
|
-
}
|
|
312
|
-
}
|
|
313
|
-
this.disable_button = flag
|
|
314
|
-
}
|
|
315
|
-
}
|
|
316
|
-
},
|
|
317
|
-
watch:{
|
|
318
|
-
'data.operate_date'(){
|
|
319
|
-
if(this.data.filiale){
|
|
320
|
-
this.model.f_filiale = this.data.filiale
|
|
321
|
-
}else{
|
|
322
|
-
this.model.f_filiale = Vue.user.f_parentname
|
|
323
|
-
}
|
|
324
|
-
if(this.data.f_parentname){
|
|
325
|
-
this.model.f_parentname = this.data.f_parentname
|
|
326
|
-
}else{
|
|
327
|
-
this.model.f_parentname = Vue.user.f_parentname
|
|
328
|
-
}
|
|
329
|
-
if(this.data.operate_date){
|
|
330
|
-
this.model.f_operate_date = this.data.operate_date
|
|
331
|
-
}else{
|
|
332
|
-
this.model.f_operate_date = new Date().Format("yyyy-MM-dd HH:mm:ss")
|
|
333
|
-
}
|
|
334
|
-
if(this.data.operator){
|
|
335
|
-
this.model.f_operator = this.data.operator
|
|
336
|
-
}else{
|
|
337
|
-
this.model.f_operator = Vue.user.name
|
|
338
|
-
}
|
|
339
|
-
},
|
|
340
|
-
deep:true
|
|
341
|
-
},
|
|
342
|
-
computed: {
|
|
343
|
-
// 输入后按钮检测
|
|
344
|
-
check_disable: function (){
|
|
345
|
-
let fields = this.data.fields
|
|
346
|
-
let flag = false
|
|
347
|
-
for(let i = 0;i<fields.length;i++){
|
|
348
|
-
if(fields[i].type!=='checkbox'&&fields[i].required&&!fields[i].value){
|
|
349
|
-
flag = true
|
|
350
|
-
}
|
|
351
|
-
}
|
|
352
|
-
this.disable_button = flag
|
|
353
|
-
}
|
|
354
|
-
}
|
|
355
|
-
}
|
|
356
|
-
</script>
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto">
|
|
3
|
-
<strong :style="{color: model.isOk ? 'blue' : 'red'}">{{model.msg}}</strong>
|
|
4
|
-
</div>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script>
|
|
8
|
-
|
|
9
|
-
import {HttpResetClass} from 'vue-client'
|
|
10
|
-
|
|
11
|
-
let getCurrentBill = async function (self) {
|
|
12
|
-
console.log("================================进入getCurrentBill")
|
|
13
|
-
|
|
14
|
-
let http = new HttpResetClass()
|
|
15
|
-
let param = {
|
|
16
|
-
f_bill_user: self.$login.f.name, // 票据使用人
|
|
17
|
-
f_bill_type: self.data.f_bill_type, // 票据类型
|
|
18
|
-
f_filialeids: self.$login.f.f_orgids, //所属分公司
|
|
19
|
-
f_use_type: self.data.f_use_type // 票据使用类型(燃气费、其他费用等)可不传
|
|
20
|
-
}
|
|
21
|
-
console.log(param)
|
|
22
|
-
let res = await http.load('POST', 'rs/logic/apply_sale_validateBill', param, {resolveMsg: null, rejectMsg: '获取发票号出错!!'})
|
|
23
|
-
console.log('验证发票。。', res)
|
|
24
|
-
self.model.msg = res.data.msg
|
|
25
|
-
self.model.isOk = res.data.isOk
|
|
26
|
-
self.$dispatch('validate-bill', res.data)
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
export default {
|
|
30
|
-
title: '验证票号',
|
|
31
|
-
data () {
|
|
32
|
-
return {
|
|
33
|
-
model: {
|
|
34
|
-
msg: '',
|
|
35
|
-
isOk: false
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
props: ['data','show'],
|
|
40
|
-
ready () {
|
|
41
|
-
|
|
42
|
-
console.log(this.data.f_bill_type)
|
|
43
|
-
if (this.data.f_bill_type) {
|
|
44
|
-
getCurrentBill(this)
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
},
|
|
48
|
-
watch : {
|
|
49
|
-
'show' (val) {
|
|
50
|
-
getCurrentBill(this)
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
</script>
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto form-horizontal" >
|
|
3
|
-
<modal :show.sync="show" v-ref:modal large backdrop="false">
|
|
4
|
-
<header slot="modal-header" class="modal-header">
|
|
5
|
-
<h3 style="color:black" class="modal-title" >{{billConfig.billtype}}</h3>
|
|
6
|
-
<button type="button" class="close" @click="closebuyerinfo"><span>×</span></button>
|
|
7
|
-
</header>
|
|
8
|
-
<article slot="modal-body" class="modal-body">
|
|
9
|
-
<!-- <div v-if="bill.data">-->
|
|
10
|
-
<!-- {{{bill.data}}}-->
|
|
11
|
-
<!-- </div>-->
|
|
12
|
-
<validator name='v'>
|
|
13
|
-
<form class="form-horizontal select-overspread">
|
|
14
|
-
<div class="row" style="display: flex;justify-content: center;" id='normal-bill' v-if="bill.data">
|
|
15
|
-
{{{bill.data}}}
|
|
16
|
-
</div>
|
|
17
|
-
</form>
|
|
18
|
-
</validator>
|
|
19
|
-
</article>
|
|
20
|
-
<footer slot="modal-footer" class="modal-footer">
|
|
21
|
-
<div v-if="billConfig.hasBillManage">
|
|
22
|
-
<div class="col-sm-2" >
|
|
23
|
-
<span><strong>发票号:{{model.f_using_number}}</strong></span>
|
|
24
|
-
</div>
|
|
25
|
-
</div>
|
|
26
|
-
<button type="button" class="btn btn-success" @click='print()'>打印</button>
|
|
27
|
-
<report-print id='normal-bill' top='15mm' left='5mm' width='90%' height='70%' :notrepeat="false" :showbtn="false" v-ref:reportprint></report-print>
|
|
28
|
-
<button type="button" class="btn btn-default" @click='cancel()' v-if="!billConfig.hasBillManage">取消</button>
|
|
29
|
-
</footer>
|
|
30
|
-
</modal>
|
|
31
|
-
</div>
|
|
32
|
-
</template>
|
|
33
|
-
<script>
|
|
34
|
-
import { DataModel } from 'vue-client'
|
|
35
|
-
import Vue from "vue";
|
|
36
|
-
|
|
37
|
-
let getBillData = async function(self, val) {
|
|
38
|
-
self.bill = new DataModel(self.billData.url, {reprint: "'正常'"})
|
|
39
|
-
await self.bill.search(self.data.chargeid)
|
|
40
|
-
// self.bill.condition=
|
|
41
|
-
// 获取发票号
|
|
42
|
-
self.model.f_using_number = self.billData.bill.number
|
|
43
|
-
console.log(self.bill)
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
export default {
|
|
47
|
-
title: '收费发票',
|
|
48
|
-
data () {
|
|
49
|
-
return {
|
|
50
|
-
model: {
|
|
51
|
-
f_using_number: null
|
|
52
|
-
},
|
|
53
|
-
bill: {},
|
|
54
|
-
messShow: false
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
props: ['show', 'data', 'billData', 'billConfig','titleName'],
|
|
58
|
-
ready () {
|
|
59
|
-
console.log('打票!!!!!!!!!!!!!!!!!')
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
},
|
|
63
|
-
methods: {
|
|
64
|
-
closebuyerinfo(){
|
|
65
|
-
this.show=false;
|
|
66
|
-
},
|
|
67
|
-
cancel () {
|
|
68
|
-
this.$dispatch('toggle')
|
|
69
|
-
},
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
async print () {
|
|
73
|
-
// 更新系统发票
|
|
74
|
-
this.data.f_operator=this.$login.f.name,
|
|
75
|
-
this.data.f_filiale= this.$login.f.f_fengongsi,
|
|
76
|
-
this.data.f_outlets= this.$login.f.f_parentname,
|
|
77
|
-
this.data.f_orgstr=this.$login.f.orgpathstr,
|
|
78
|
-
this.data.f_filialeids=this.$login.f.f_orgids
|
|
79
|
-
|
|
80
|
-
try {
|
|
81
|
-
if (this.billConfig.hasBillManage) {
|
|
82
|
-
console.log("进入hasBillManage====================================")
|
|
83
|
-
await this.$commonService.openPaperBill(this.data.chargeid, this.data.f_bill_type, this.billConfig.billType, this.billData.bill, '正常',this.data.f_operator,this.data.f_filiale,this.data.f_outlets,this.data.f_orgstr,this.data.f_filialeids)
|
|
84
|
-
}
|
|
85
|
-
//票据打印!!!!!!!!!!!!!!!!!!!!
|
|
86
|
-
this.$refs.reportprint.print()
|
|
87
|
-
this.$dispatch('selfsearch')
|
|
88
|
-
this.$parent.model.f_charge_money=0
|
|
89
|
-
this.$parent.model.f_amount_words=0
|
|
90
|
-
this.$parent.model.f_amount_words=0
|
|
91
|
-
this.show=false
|
|
92
|
-
} catch (error) {
|
|
93
|
-
this.$dispatch('refresh')
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
},
|
|
97
|
-
watch: {
|
|
98
|
-
'show' (val) {
|
|
99
|
-
if (val) {
|
|
100
|
-
getBillData(this, val).then(() => {
|
|
101
|
-
}).catch((error) => {
|
|
102
|
-
|
|
103
|
-
this.$emit('error', error)
|
|
104
|
-
})
|
|
105
|
-
}
|
|
106
|
-
}
|
|
107
|
-
},
|
|
108
|
-
events: {
|
|
109
|
-
'print' () {
|
|
110
|
-
this.$dispatch('printok', '发票打印', this.data)
|
|
111
|
-
},
|
|
112
|
-
'print-error' () {
|
|
113
|
-
this.$dispatch('error', '发票打印', this.data, null)
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
</script>
|
|
119
|
-
<style >
|
|
120
|
-
</style>
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="full" style="background-color: #f6f6f6;">
|
|
3
|
-
<div class="flex-row">
|
|
4
|
-
<div class="flex" style="flex: 1" :style="{height: totalheight}">
|
|
5
|
-
<div class="flex col-sm-12" :style="{height: leftheight}">
|
|
6
|
-
<installinfoselect v-ref:installselect></installinfoselect>
|
|
7
|
-
</div>
|
|
8
|
-
<div class="flex col-sm-12" v-if="show" style="padding-top: 3px;">
|
|
9
|
-
<installinfodown v-ref:installdown></installinfodown>
|
|
10
|
-
</div>
|
|
11
|
-
<div class="col-sm-12" v-show="clishow" style="padding-top: 3px;">
|
|
12
|
-
<div class="col-sm-3">
|
|
13
|
-
<installfeeinfo :infeeinfo="selectdata"></installfeeinfo>
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-9">
|
|
16
|
-
<function-service-control v-ref:fsc :funcdata = "funcdata" :selectdata="selectdata"></function-service-control>
|
|
17
|
-
</div>
|
|
18
|
-
</div>
|
|
19
|
-
<div v-show="comps" v-el:route class="flex span select-overspread"
|
|
20
|
-
style="margin-top: 10px;border: 1px solid #EEF3F6;flex: 0.8;">
|
|
21
|
-
<route v-ref:route></route>
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
<div style="width: 300px;padding:20px 0px 10px 0px;margin-left: 0px">
|
|
25
|
-
<install-apply-cardlist :btns="operatebtn" :userinfoid="row ? row.f_userinfo_id : ''" @list-select-oper="recordCancel"
|
|
26
|
-
v-ref:card></install-apply-cardlist>
|
|
27
|
-
</div>
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
</template>
|
|
31
|
-
<script>
|
|
32
|
-
import Vue from 'vue'
|
|
33
|
-
import {HttpResetClass} from 'vue-client'
|
|
34
|
-
export default {
|
|
35
|
-
title: '报建业务',
|
|
36
|
-
data() {
|
|
37
|
-
return {
|
|
38
|
-
funcdata: null, // 选中功能
|
|
39
|
-
comps: false,
|
|
40
|
-
row: null,
|
|
41
|
-
// arr: ['报建登记', '现场勘探', '设计出图'],
|
|
42
|
-
selectdata: null,
|
|
43
|
-
show: false,
|
|
44
|
-
clishow: false,
|
|
45
|
-
showallbtn: false,
|
|
46
|
-
leftheight: '100%',
|
|
47
|
-
totalheight: '100%',
|
|
48
|
-
footheight: '0%'
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
created(){
|
|
52
|
-
let http = new HttpResetClass()
|
|
53
|
-
http.load('POST','rs/logic/ApplyGetConfigs', {data:this.$login.f}, {resolveMsg: null, rejectMsg: null}
|
|
54
|
-
).then((res)=>{
|
|
55
|
-
if(res.data.code && res.data.code == 200){
|
|
56
|
-
console.log("res=====>:"+JSON.stringify(res));
|
|
57
|
-
console.log("resdata=====>:"+JSON.stringify(res.data));
|
|
58
|
-
let arry=[]
|
|
59
|
-
console.log("resdata=fff====>:"+JSON.stringify(res.data.function_vue.functions));
|
|
60
|
-
res.data.function_vue.functions.forEach((row)=>{
|
|
61
|
-
if(this.$login.r.includes(row.title))
|
|
62
|
-
arry.push(row)
|
|
63
|
-
})
|
|
64
|
-
console.log("arry=====>:"+arry);
|
|
65
|
-
Vue.function_vue = Vue.prototype.$function_vue = arry
|
|
66
|
-
}else{
|
|
67
|
-
this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
|
|
68
|
-
return
|
|
69
|
-
}
|
|
70
|
-
})
|
|
71
|
-
console.log("Vue.$function_vue:"+JSON.stringify(this.$function_vue))
|
|
72
|
-
},
|
|
73
|
-
methods: {
|
|
74
|
-
// 操作记录点击撤销时间调用方法
|
|
75
|
-
recordCancel(title, name, row) {
|
|
76
|
-
this.leftheight = '50%'
|
|
77
|
-
this.showallbtn = false
|
|
78
|
-
this.show = false
|
|
79
|
-
this.clishow = false
|
|
80
|
-
// this.$parent.$refs.installselect.bulkType = '操作记录撤销'
|
|
81
|
-
this.$els.route.style.height = 260 + 'px'
|
|
82
|
-
// 清除row的选择
|
|
83
|
-
this.row = null
|
|
84
|
-
// this.$refs.list.search()
|
|
85
|
-
this.comps = {name: name, props: {data: row}}
|
|
86
|
-
this.$refs.route.init(name, {data: row})
|
|
87
|
-
}
|
|
88
|
-
},
|
|
89
|
-
events: {
|
|
90
|
-
'success'() {
|
|
91
|
-
console.log('打票刷新')
|
|
92
|
-
this.showallbtn = false
|
|
93
|
-
this.clishow = false
|
|
94
|
-
this.show = false
|
|
95
|
-
this.comps = null
|
|
96
|
-
this.leftheight = '100%'
|
|
97
|
-
this.totalheight = '100%'
|
|
98
|
-
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
99
|
-
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
100
|
-
},
|
|
101
|
-
'func'(funcdata,row) {
|
|
102
|
-
this.funcdata = funcdata
|
|
103
|
-
this.selectdata = row
|
|
104
|
-
this.leftheight = '250px'
|
|
105
|
-
this.totalheight = '80%'
|
|
106
|
-
this.clishow = true
|
|
107
|
-
// this.$refs.fsc.hasChange()
|
|
108
|
-
},
|
|
109
|
-
'showbtn'(val) {
|
|
110
|
-
this.selectdata = val
|
|
111
|
-
// this.show = true
|
|
112
|
-
this.showallbtn = true
|
|
113
|
-
this.leftheight = '250px'
|
|
114
|
-
this.totalheight = '80%'
|
|
115
|
-
},
|
|
116
|
-
'hiddenbtn'() {
|
|
117
|
-
this.showallbtn = false
|
|
118
|
-
this.clishow = false
|
|
119
|
-
this.show = false
|
|
120
|
-
this.comps = null
|
|
121
|
-
this.leftheight = '100%'
|
|
122
|
-
this.totalheight = '100%'
|
|
123
|
-
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
124
|
-
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
125
|
-
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
126
|
-
},
|
|
127
|
-
'showline'(value) {
|
|
128
|
-
this.show = false
|
|
129
|
-
this.$refs.installselect.clifun(value)
|
|
130
|
-
},
|
|
131
|
-
'searchcard'() {
|
|
132
|
-
this.$refs.installselect.$refs.cp.$refs.cri.search()
|
|
133
|
-
// this.$refs.installdown.$refs.cp.$refs.cri.search()
|
|
134
|
-
this.$refs.card.$refs.paged.$refs.cri.search()
|
|
135
|
-
},
|
|
136
|
-
'list-select-oper'() {
|
|
137
|
-
this.leftheight = '50%'
|
|
138
|
-
this.footheight = '50%'
|
|
139
|
-
}
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
</script>
|