apply-clients 7.1.34 → 7.1.37
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/dist-android/static/0.50054aa998577d450157.js +2 -0
- package/dist-android/static/1.0b685d8dcbf4f3a8a5b2.js +1 -0
- package/dist-android/static/10.2a698c421c0ff5f57336.js +2 -0
- package/dist-android/static/11.75a39568e320abbddcc2.js +2 -0
- package/dist-android/static/12.4ac0c584da492acc599d.js +1 -0
- package/dist-android/static/13.5471bac3b39798923a79.js +1 -0
- package/dist-android/static/14.ee274728fdeb5107c357.js +1 -0
- package/dist-android/static/15.a1dc233c1804ede2ba87.js +1 -0
- package/dist-android/static/16.5081ea8a90d0dacbc748.js +1 -0
- package/dist-android/static/17.5b5184c9a9337a88d4f9.js +1 -0
- package/dist-android/static/18.0c99e5cb0de0f76008f6.js +1 -0
- package/dist-android/static/19.b50c8bf85b8e7fb27e2a.js +1 -0
- package/dist-android/static/2.16718caad0da13b463a3.js +1 -0
- package/dist-android/static/20.8f6767f58df1fde18784.js +1 -0
- package/dist-android/static/21.026f5cbfd90d70d8dd3a.js +1 -0
- package/dist-android/static/22.4631f8885615e9b6ad6e.js +1 -0
- package/dist-android/static/23.437b569f91863452daeb.js +1 -0
- package/dist-android/static/24.f1310985a29496bc5fd8.js +1 -0
- package/dist-android/static/25.b6dcf8c6d26f44035506.js +1 -0
- package/dist-android/static/27.2185c9e2e7116302e1e1.js +13 -0
- package/dist-android/static/28.b429eaf351968226c395.js +3 -0
- package/dist-android/static/29.aed6b18ccda9ca3748ce.js +3 -0
- package/dist-android/static/3.761de5413a2ed045ab10.js +1 -0
- package/dist-android/static/30.567f5fbffc0601227294.js +2 -0
- package/dist-android/static/31.179f87c71c11fd562feb.js +1 -0
- package/dist-android/static/32.8d45d3f6c5e874582cff.js +1 -0
- package/dist-android/static/33.32fd8d2f4e6e7b065a5c.js +1 -0
- package/dist-android/static/34.df47f9984baec20bdf5b.js +1 -0
- package/dist-android/static/35.5883200f073b546cb1a3.js +1 -0
- package/dist-android/static/36.477f89087e507526163f.js +1 -0
- package/dist-android/static/37.b82438692bca848519f6.js +1 -0
- package/dist-android/static/38.83c950bebdb997be2ef8.js +1 -0
- package/dist-android/static/39.333e42c6dbabf1bf2706.js +1 -0
- package/dist-android/static/4.eb190515d001a4e1bebd.js +13 -0
- package/dist-android/static/40.f6807724af2482375d7c.js +1 -0
- package/dist-android/static/41.92f39c44002772179f48.js +1 -0
- package/dist-android/static/42.662a0643f36dc759abc0.js +1 -0
- package/dist-android/static/43.5b55816aa2ca7b510d72.js +1 -0
- package/dist-android/static/44.4a6af5dd359e3973dea4.js +1 -0
- package/dist-android/static/45.d5992c604ad9eb4f40d2.js +1 -0
- package/dist-android/static/46.aa87912e9361ab053234.js +1 -0
- package/dist-android/static/47.b9efca55c1ea582c59e7.js +2 -0
- package/dist-android/static/48.8902ce91c715d61c63ef.js +1 -0
- package/dist-android/static/49.dd2591b071fe1901d2f2.js +2 -0
- package/dist-android/static/5.304b463f21c8253aa514.js +13 -0
- package/dist-android/static/50.e49f64d967a7f7350105.js +1 -0
- package/dist-android/static/51.0d311b6815373c5a3b1b.js +1 -0
- package/dist-android/static/52.344f9d59bb5cb156380d.js +1 -0
- package/dist-android/static/53.289984b9a04a7d11ffef.js +1 -0
- package/dist-android/static/54.5808cc57ddb689577efe.js +1 -0
- package/dist-android/static/55.9874aac28d0d80b55860.js +1 -0
- package/dist-android/static/56.babac04ffcc93c5573ed.js +1 -0
- package/dist-android/static/57.ca9993d9b0137ec93a81.js +1 -0
- package/dist-android/static/58.be8a5ac661eb638aff79.js +1 -0
- package/dist-android/static/59.2d0116e8a66e13cbabe2.js +1 -0
- package/dist-android/static/6.3f10426d99466042d079.js +13 -0
- package/dist-android/static/60.e60b562292633421a3d7.js +1 -0
- package/dist-android/static/61.492b25e8e1b66366329b.js +1 -0
- package/dist-android/static/62.24924f3f6fd5f97975d1.js +1 -0
- package/dist-android/static/63.7628250218be54b5c52f.js +1 -0
- package/dist-android/static/64.0c2d7593ebede3d30dc8.js +1 -0
- package/dist-android/static/65.220dfd6b1dd8e75c9d08.js +1 -0
- package/dist-android/static/66.da91b8ed2181ced4a4de.js +1 -0
- package/dist-android/static/67.75a3f13bea3c0ac4bbbe.js +1 -0
- package/dist-android/static/68.37aa2fd75666d1461dac.js +1 -0
- package/dist-android/static/69.e6a3e52929239e08b8d3.js +1 -0
- package/dist-android/static/7.57945431c1f505e425c1.js +13 -0
- package/dist-android/static/70.945cf028761bd66a2302.js +1 -0
- package/dist-android/static/71.0ae45dcfc105541b051d.js +1 -0
- package/dist-android/static/72.d89a35482e9c434d0bd0.js +1 -0
- package/dist-android/static/8.830a99f33590aeb637a3.js +13 -0
- package/dist-android/static/9.2432be88a7316649f45b.js +12 -0
- package/dist-android/static/appca71cf7af0c441a6b6ff.js +135 -0
- package/dist-android/static/doc.jpg +0 -0
- package/dist-android/static/images/lefticon//345/215/241/346/234/215/345/212/241/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//345/221/274/345/217/253/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//345/224/256/346/260/224/346/224/266/350/264/271.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2023/346/213/267/350/264/2354.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/202577.png +0 -0
- package/dist-android/static/images/lefticon//345/233/276/345/261/2028/346/213/267/350/264/23513.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/346/237/245/347/234/213.png +0 -0
- package/dist-android/static/images/lefticon//345/256/211/346/243/200/350/256/241/345/210/222.png +0 -0
- package/dist-android/static/images/lefticon//345/276/256/344/277/241/346/234/215/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/345/273/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/images/lefticon//346/212/245/350/241/250/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//346/227/245/345/270/270/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/234/272/350/241/250/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//346/237/245/350/257/242/345/210/227/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//346/241/243/346/241/210/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/211/251/350/201/224/347/275/221/350/241/250.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/347/256/241/347/220/206.png +0 -0
- package/dist-android/static/images/lefticon//347/263/273/347/273/237/350/256/276/347/275/256.png +0 -0
- package/dist-android/static/images/lefticon//347/273/217/350/220/245/347/256/241/346/216/247.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/344/270/232/345/212/241.png +0 -0
- package/dist-android/static/images/lefticon//347/273/274/345/220/210/346/237/245/350/257/242.png +0 -0
- package/dist-android/static/images/lefticon//350/217/234/345/215/225/344/274/270/347/274/251.png +0 -0
- package/dist-android/static/images/lefticon//351/200/200/345/207/272/347/263/273/347/273/237.png +0 -0
- package/dist-android/static/imgerror.jpg +0 -0
- package/dist-android/static/jsoneditor-icons.svg +893 -0
- package/dist-android/static/newStyle/clear.png +0 -0
- package/dist-android/static/newStyle/fife.png +0 -0
- package/dist-android/static/newStyle/hidden.png +0 -0
- package/dist-android/static/newStyle/label-clear.png +0 -0
- package/dist-android/static/newStyle/left-img.png +0 -0
- package/dist-android/static/newStyle/list_ok.png +0 -0
- package/dist-android/static/newStyle/login-check.png +0 -0
- package/dist-android/static/newStyle/login-con.png +0 -0
- package/dist-android/static/newStyle/login-do.gif +0 -0
- package/dist-android/static/newStyle/login-f.png +0 -0
- package/dist-android/static/newStyle/login-info.png +0 -0
- package/dist-android/static/newStyle/login-left.png +0 -0
- package/dist-android/static/newStyle/login-org.png +0 -0
- package/dist-android/static/newStyle/login-pwd.png +0 -0
- package/dist-android/static/newStyle/login-user.png +0 -0
- package/dist-android/static/newStyle/loginbg.gif +0 -0
- package/dist-android/static/newStyle/loginbg1280.gif +0 -0
- package/dist-android/static/newStyle/loginbg1366.gif +0 -0
- package/dist-android/static/newStyle/setting.png +0 -0
- package/dist-android/static/newStyle/setting1.png +0 -0
- package/dist-android/static/newStyle/shirk.png +0 -0
- package/dist-android/static/newStyle/stretch_bottom.png +0 -0
- package/dist-android/static/newStyle/stretch_left.png +0 -0
- package/dist-android/static/newStyle/stretch_right.png +0 -0
- package/dist-android/static/newStyle/stretch_top.png +0 -0
- package/dist-android/static/newStyle/system-off.png +0 -0
- package/dist-android/static/pdf.jpg +0 -0
- package/dist-android/static//344/270/213/350/275/275/350/256/241/345/210/222.png +0 -0
- package/dist-android/static//344/273/273/345/212/241/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//344/277/241/346/201/257/345/205/254/345/221/212.png +0 -0
- package/dist-android/static//345/205/254/345/221/212/346/237/245/347/234/213.png +0 -0
- package/dist-android/static//345/206/214/345/206/205/351/241/272/345/272/217/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//345/215/241/350/241/250/345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/345/267/241/346/243/200.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/242/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/212/245/350/243/205.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/346/223/215/344/275/234.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/273/264/344/277/256.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//345/234/250/347/272/277/351/200/232/346/260/224.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/346/243/200/346/212/275/345/215/225.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/256/211/350/243/205/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//345/267/241/346/243/200/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//345/274/200/345/205/263/351/230/200.png +0 -0
- package/dist-android/static//345/275/242/347/212/2664.png +0 -0
- package/dist-android/static//346/211/271/351/207/217/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//346/212/204/350/241/250/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/212/245/345/273/272/346/234/215/345/212/241.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/346/261/207/346/200/273/350/241/250.png +0 -0
- package/dist-android/static//346/224/266/350/264/271/350/256/260/345/275/225.png +0 -0
- package/dist-android/static//346/227/245/346/212/245/346/237/245/350/257/242.png +0 -0
- package/dist-android/static//346/241/243/346/241/210/344/277/256/346/224/271.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/344/270/232/345/212/241.png +0 -0
- package/dist-android/static//346/265/201/347/250/213/347/233/221/346/216/247.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250.png +0 -0
- package/dist-android/static//347/247/273/345/212/250/346/212/204/350/241/250/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//347/273/237/350/256/241/346/212/245/350/241/250.png +0 -0
- package/dist-android/static//347/273/264/344/277/256/346/264/276/345/217/221.png +0 -0
- package/dist-android/static//350/220/245/344/270/232/345/233/276/350/241/250.png +0 -0
- package/dist-android/static//350/241/250/345/206/214/351/241/272/345/272/217.png +0 -0
- package/dist-android/static//350/260/203/344/273/267/350/241/245/345/267/256/347/274/264/350/264/271.png +0 -0
- package/dist-android/static//350/277/233/345/272/246/345/210/227/350/241/250.png +0 -0
- package/dist-android/static//351/200/200/345/207/272/347/231/273/345/275/225.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/344/270/212/344/274/240.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/267/262/345/212/236.png +0 -0
- package/dist-android/static//351/200/201/346/260/224/345/276/205/345/212/236.png +0 -0
- package/dist-android/static//351/232/220/346/202/243/345/244/204/347/220/206.png +0 -0
- package/dist-android/static//351/233/206/344/270/255/345/256/211/346/243/200.png +0 -0
- package/dist-android/static//351/253/230/345/257/206/345/205/254/345/221/212.png +0 -0
- package/index.html +30 -30
- package/package.json +1 -1
- package/src/apply.js +69 -69
- package/src/components/image/TXT.png +0 -0
- package/src/components/image/dwg.png +0 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/Function/InstallFunction.vue +1 -1
- package/src/components/product/Function/InstallInfoSelect.vue +281 -281
- package/src/components/product/Process/ExplorationSelect.vue +347 -347
- package/src/components/product/Process/ExplorationUser.vue +1 -1
- package/src/components/product/Process/Processes/InstallationDetails.vue +45 -9
- package/src/components/product/Process/Processes/addressAndUserinfoManagement.vue +261 -249
- package/src/components/product/Process/Processes/chargeManagement.vue +562 -562
- package/src/components/product/Process/Service/ServiceControl.vue +46 -154
- package/src/components/product/ReportForm/GasIgnitionSummary.vue +352 -352
- package/src/components/product/ServiceView.vue +755 -755
- package/src/components/product/Supervisory/SupervisoryControl.vue +1 -1
- package/src/components/product/Supervisory/SupervisoryList.vue +208 -208
- package/src/components/product/Supervisory/SupervisoryhCart.vue +103 -103
- package/src/components/product/VueUtils/ApplyUpload.vue +266 -261
|
@@ -1,208 +1,208 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="col-sm-12">
|
|
3
|
-
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
-
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
-
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
-
<div class="row">
|
|
7
|
-
<div class="form-group col-sm-4">
|
|
8
|
-
<label class="font_normal_body">项目名称/客户名称/联系人:</label>
|
|
9
|
-
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
10
|
-
v-on:keyup.enter="search" condition=" (f_entry_name like '%{}%' or f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='三选一输入'>
|
|
11
|
-
</div>
|
|
12
|
-
<div class="form-group col-sm-3">
|
|
13
|
-
<label class="font_normal_body">报建编号:</label>
|
|
14
|
-
<input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
|
|
15
|
-
v-on:keyup.enter="search"
|
|
16
|
-
condition="f_apply_num = '{}'">
|
|
17
|
-
</div>
|
|
18
|
-
<div class="form-group col-sm-3">
|
|
19
|
-
<label class="font_normal_body">合同编号:</label>
|
|
20
|
-
<input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
21
|
-
v-on:keyup.enter="search"
|
|
22
|
-
condition="f_contract_number = '{}'">
|
|
23
|
-
</div>
|
|
24
|
-
<div class="form-group col-sm-2 button-range">
|
|
25
|
-
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
26
|
-
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
27
|
-
<div
|
|
28
|
-
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
29
|
-
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
30
|
-
class="button_spacing"
|
|
31
|
-
style="float: right">
|
|
32
|
-
</div>
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
36
|
-
<div class="form-group col-sm-3">
|
|
37
|
-
<label class="font_normal_body">报建类型:</label>
|
|
38
|
-
<v-select
|
|
39
|
-
v-model="model.f_apply_type"
|
|
40
|
-
placeholder='报建类型'
|
|
41
|
-
condition="f_apply_type like '%{}%'"
|
|
42
|
-
:value.sync="model.f_apply_type"
|
|
43
|
-
:options='$parent.$parent.applytype'
|
|
44
|
-
class="select select_list"
|
|
45
|
-
:value-single="true"
|
|
46
|
-
@change="$parent.$parent.applyTypeChange()"
|
|
47
|
-
close-on-select ></v-select>
|
|
48
|
-
</div>
|
|
49
|
-
<div class="form-group col-sm-3">
|
|
50
|
-
<label class="font_normal_body">办理环节:</label>
|
|
51
|
-
<v-select
|
|
52
|
-
v-model="model.defname"
|
|
53
|
-
placeholder='办理环节'
|
|
54
|
-
condition="defname = '{}'"
|
|
55
|
-
:value.sync="model.defname"
|
|
56
|
-
:options='$parent.$parent.defnames'
|
|
57
|
-
class="select select_list"
|
|
58
|
-
:value-single="true"
|
|
59
|
-
close-on-select ></v-select>
|
|
60
|
-
</div>
|
|
61
|
-
<div class="form-group col-sm-3">
|
|
62
|
-
<label class="font_normal_body">联系电话:</label>
|
|
63
|
-
<input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
64
|
-
v-on:keyup.enter="search"
|
|
65
|
-
condition="f_phone like '%{}%'">
|
|
66
|
-
</div>
|
|
67
|
-
<div class="form-group col-sm-3">
|
|
68
|
-
<label class="font_normal_body">用户地址:</label>
|
|
69
|
-
<input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
70
|
-
v-on:keyup.enter="search"
|
|
71
|
-
condition="f_address like '%{}%'">
|
|
72
|
-
</div>
|
|
73
|
-
<div class="form-group col-sm-3">
|
|
74
|
-
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
75
|
-
<datepicker id="startDate" placeholder="开始日期"
|
|
76
|
-
style="width: 60%!important;"
|
|
77
|
-
v-model="model.startDate"
|
|
78
|
-
:value.sync="model.startDate"
|
|
79
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
80
|
-
:show-reset-button="true"
|
|
81
|
-
condition="f_apply_date >= '{}'">
|
|
82
|
-
</datepicker>
|
|
83
|
-
</div>
|
|
84
|
-
<div class="form-group col-sm-3">
|
|
85
|
-
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
86
|
-
<datepicker id="endDate" placeholder="结束日期"
|
|
87
|
-
style="width: 60%!important;"
|
|
88
|
-
v-model="model.endDate"
|
|
89
|
-
:value.sync="model.endDate"
|
|
90
|
-
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
91
|
-
:show-reset-button="true"
|
|
92
|
-
condition="f_apply_date <= '{}'">
|
|
93
|
-
</datepicker>
|
|
94
|
-
</div>
|
|
95
|
-
</div>
|
|
96
|
-
</div>
|
|
97
|
-
</criteria>
|
|
98
|
-
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
99
|
-
<template partial='head'>
|
|
100
|
-
<tr>
|
|
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
|
-
</tr>
|
|
112
|
-
</template>
|
|
113
|
-
<template partial='body'>
|
|
114
|
-
<tr>
|
|
115
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
116
|
-
<nobr>{{$index+1}}</nobr>
|
|
117
|
-
</td>
|
|
118
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
119
|
-
<nobr>{{row.f_apply_num}}</nobr>
|
|
120
|
-
</td>
|
|
121
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
122
|
-
<nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
|
|
123
|
-
</td>
|
|
124
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
125
|
-
<nobr>{{row.f_contract_number}}</nobr>
|
|
126
|
-
</td>
|
|
127
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
128
|
-
<nobr>{{row.f_phone}}</nobr>
|
|
129
|
-
</td>
|
|
130
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
131
|
-
<nobr>{{row.f_address}}</nobr>
|
|
132
|
-
</td>
|
|
133
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
134
|
-
<nobr>{{row.f_apply_type}}</nobr>
|
|
135
|
-
</td>
|
|
136
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
137
|
-
<nobr>{{row.defname}}</nobr>
|
|
138
|
-
</td>
|
|
139
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
140
|
-
<nobr>{{row.f_sub_state}}</nobr>
|
|
141
|
-
</td>
|
|
142
|
-
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
143
|
-
<nobr>{{row.f_apply_date}}</nobr>
|
|
144
|
-
</td>
|
|
145
|
-
</tr>
|
|
146
|
-
</template>
|
|
147
|
-
</data-grid>
|
|
148
|
-
</criteria-paged>
|
|
149
|
-
</div>
|
|
150
|
-
</template>
|
|
151
|
-
<script>
|
|
152
|
-
import {PagedList} from 'vue-client'
|
|
153
|
-
import {HttpResetClass} from 'vue-client'
|
|
154
|
-
import {isEmpty} from '../../Util'
|
|
155
|
-
export default {
|
|
156
|
-
title: '勘探详情',
|
|
157
|
-
props: ['showData'],
|
|
158
|
-
data () {
|
|
159
|
-
return {
|
|
160
|
-
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
161
|
-
model: new PagedList('rs/sql/supervisory', 20, {
|
|
162
|
-
data: {
|
|
163
|
-
id: `${this.$login.f.name}`,
|
|
164
|
-
orgid: this.$login.f.f_orgids
|
|
165
|
-
}
|
|
166
|
-
}),
|
|
167
|
-
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
168
|
-
criteriaShow: false
|
|
169
|
-
}
|
|
170
|
-
},
|
|
171
|
-
ready () {
|
|
172
|
-
// 调用查询
|
|
173
|
-
this.search()
|
|
174
|
-
},
|
|
175
|
-
events: {
|
|
176
|
-
},
|
|
177
|
-
methods: {
|
|
178
|
-
// 查询
|
|
179
|
-
search () {
|
|
180
|
-
this.$dispatch('search')
|
|
181
|
-
},
|
|
182
|
-
clear () {
|
|
183
|
-
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
184
|
-
this.$refs.cp.$refs.cri.model[key] = []
|
|
185
|
-
})
|
|
186
|
-
},
|
|
187
|
-
applyTypeChange () {
|
|
188
|
-
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
189
|
-
let http = new HttpResetClass()
|
|
190
|
-
http.load('POST', 'rs/logic/getDefnameByType', {
|
|
191
|
-
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
192
|
-
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
193
|
-
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
194
|
-
})
|
|
195
|
-
} else {
|
|
196
|
-
this.defnames = [{label: '全部', value: ''}]
|
|
197
|
-
}
|
|
198
|
-
},
|
|
199
|
-
check (val) {
|
|
200
|
-
this.$dispatch('apply', val)
|
|
201
|
-
}
|
|
202
|
-
},
|
|
203
|
-
computed: {
|
|
204
|
-
}
|
|
205
|
-
}
|
|
206
|
-
</script>
|
|
207
|
-
<style scoped>
|
|
208
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12">
|
|
3
|
+
<criteria-paged :model="model" v-ref:cp>
|
|
4
|
+
<criteria partial='criteria' @condition-changed='search' v-ref:cri>
|
|
5
|
+
<div novalidate class="form-horizontal select-overspread container-fluid auto" partial>
|
|
6
|
+
<div class="row">
|
|
7
|
+
<div class="form-group col-sm-4">
|
|
8
|
+
<label class="font_normal_body">项目名称/客户名称/联系人:</label>
|
|
9
|
+
<input type="text" class="input_search" v-model="model.f_user_name"
|
|
10
|
+
v-on:keyup.enter="search" condition=" (f_entry_name like '%{}%' or f_user_name like '%{}%' or f_contact like '%{}%') " placeholder='三选一输入'>
|
|
11
|
+
</div>
|
|
12
|
+
<div class="form-group col-sm-3">
|
|
13
|
+
<label class="font_normal_body">报建编号:</label>
|
|
14
|
+
<input type="text" class="input_search" placeholder='报建编号' v-model="model.f_apply_num"
|
|
15
|
+
v-on:keyup.enter="search"
|
|
16
|
+
condition="f_apply_num = '{}'">
|
|
17
|
+
</div>
|
|
18
|
+
<div class="form-group col-sm-3">
|
|
19
|
+
<label class="font_normal_body">合同编号:</label>
|
|
20
|
+
<input type="text" class="input_search" placeholder='合同编号' v-model="model.f_contract_number"
|
|
21
|
+
v-on:keyup.enter="search"
|
|
22
|
+
condition="f_contract_number = '{}'">
|
|
23
|
+
</div>
|
|
24
|
+
<div class="form-group col-sm-2 button-range">
|
|
25
|
+
<button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
|
|
26
|
+
<button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
|
|
27
|
+
<div
|
|
28
|
+
:class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}"
|
|
29
|
+
@click="$parent.$parent.criteriaShow = !$parent.$parent.criteriaShow"
|
|
30
|
+
class="button_spacing"
|
|
31
|
+
style="float: right">
|
|
32
|
+
</div>
|
|
33
|
+
</div>
|
|
34
|
+
</div>
|
|
35
|
+
<div class="row" v-show="$parent.$parent.criteriaShow">
|
|
36
|
+
<div class="form-group col-sm-3">
|
|
37
|
+
<label class="font_normal_body">报建类型:</label>
|
|
38
|
+
<v-select
|
|
39
|
+
v-model="model.f_apply_type"
|
|
40
|
+
placeholder='报建类型'
|
|
41
|
+
condition="f_apply_type like '%{}%'"
|
|
42
|
+
:value.sync="model.f_apply_type"
|
|
43
|
+
:options='$parent.$parent.applytype'
|
|
44
|
+
class="select select_list"
|
|
45
|
+
:value-single="true"
|
|
46
|
+
@change="$parent.$parent.applyTypeChange()"
|
|
47
|
+
close-on-select ></v-select>
|
|
48
|
+
</div>
|
|
49
|
+
<div class="form-group col-sm-3">
|
|
50
|
+
<label class="font_normal_body">办理环节:</label>
|
|
51
|
+
<v-select
|
|
52
|
+
v-model="model.defname"
|
|
53
|
+
placeholder='办理环节'
|
|
54
|
+
condition="defname = '{}'"
|
|
55
|
+
:value.sync="model.defname"
|
|
56
|
+
:options='$parent.$parent.defnames'
|
|
57
|
+
class="select select_list"
|
|
58
|
+
:value-single="true"
|
|
59
|
+
close-on-select ></v-select>
|
|
60
|
+
</div>
|
|
61
|
+
<div class="form-group col-sm-3">
|
|
62
|
+
<label class="font_normal_body">联系电话:</label>
|
|
63
|
+
<input type="text" class="input_search" placeholder='联系电话' v-model="model.f_phone"
|
|
64
|
+
v-on:keyup.enter="search"
|
|
65
|
+
condition="f_phone like '%{}%'">
|
|
66
|
+
</div>
|
|
67
|
+
<div class="form-group col-sm-3">
|
|
68
|
+
<label class="font_normal_body">用户地址:</label>
|
|
69
|
+
<input type="text" class="input_search" placeholder='用户地址' v-model="model.f_address"
|
|
70
|
+
v-on:keyup.enter="search"
|
|
71
|
+
condition="f_address like '%{}%'">
|
|
72
|
+
</div>
|
|
73
|
+
<div class="form-group col-sm-3">
|
|
74
|
+
<label for="startDate" class="font_normal_body">开始时间:</label>
|
|
75
|
+
<datepicker id="startDate" placeholder="开始日期"
|
|
76
|
+
style="width: 60%!important;"
|
|
77
|
+
v-model="model.startDate"
|
|
78
|
+
:value.sync="model.startDate"
|
|
79
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
80
|
+
:show-reset-button="true"
|
|
81
|
+
condition="f_apply_date >= '{}'">
|
|
82
|
+
</datepicker>
|
|
83
|
+
</div>
|
|
84
|
+
<div class="form-group col-sm-3">
|
|
85
|
+
<label for="endDate" class="font_normal_body">结束时间:</label>
|
|
86
|
+
<datepicker id="endDate" placeholder="结束日期"
|
|
87
|
+
style="width: 60%!important;"
|
|
88
|
+
v-model="model.endDate"
|
|
89
|
+
:value.sync="model.endDate"
|
|
90
|
+
:format="'yyyy-MM-dd HH:mm:ss'"
|
|
91
|
+
:show-reset-button="true"
|
|
92
|
+
condition="f_apply_date <= '{}'">
|
|
93
|
+
</datepicker>
|
|
94
|
+
</div>
|
|
95
|
+
</div>
|
|
96
|
+
</div>
|
|
97
|
+
</criteria>
|
|
98
|
+
<data-grid v-if="$parent.showData" :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
99
|
+
<template partial='head'>
|
|
100
|
+
<tr>
|
|
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
|
+
</tr>
|
|
112
|
+
</template>
|
|
113
|
+
<template partial='body'>
|
|
114
|
+
<tr>
|
|
115
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
116
|
+
<nobr>{{$index+1}}</nobr>
|
|
117
|
+
</td>
|
|
118
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
119
|
+
<nobr>{{row.f_apply_num}}</nobr>
|
|
120
|
+
</td>
|
|
121
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
122
|
+
<nobr>{{row.f_entry_name}}/{{row.f_user_name}}/{{row.f_contact}}</nobr>
|
|
123
|
+
</td>
|
|
124
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
125
|
+
<nobr>{{row.f_contract_number}}</nobr>
|
|
126
|
+
</td>
|
|
127
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
128
|
+
<nobr>{{row.f_phone}}</nobr>
|
|
129
|
+
</td>
|
|
130
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
131
|
+
<nobr>{{row.f_address}}</nobr>
|
|
132
|
+
</td>
|
|
133
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
134
|
+
<nobr>{{row.f_apply_type}}</nobr>
|
|
135
|
+
</td>
|
|
136
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
137
|
+
<nobr>{{row.defname}}</nobr>
|
|
138
|
+
</td>
|
|
139
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
140
|
+
<nobr>{{row.f_sub_state}}</nobr>
|
|
141
|
+
</td>
|
|
142
|
+
<td @click="$parent.$parent.$parent.check(row)" style="text-align: center;">
|
|
143
|
+
<nobr>{{row.f_apply_date}}</nobr>
|
|
144
|
+
</td>
|
|
145
|
+
</tr>
|
|
146
|
+
</template>
|
|
147
|
+
</data-grid>
|
|
148
|
+
</criteria-paged>
|
|
149
|
+
</div>
|
|
150
|
+
</template>
|
|
151
|
+
<script>
|
|
152
|
+
import {PagedList} from 'vue-client'
|
|
153
|
+
import {HttpResetClass} from 'vue-client'
|
|
154
|
+
import {isEmpty} from '../../Util'
|
|
155
|
+
export default {
|
|
156
|
+
title: '勘探详情',
|
|
157
|
+
props: ['showData'],
|
|
158
|
+
data () {
|
|
159
|
+
return {
|
|
160
|
+
applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
|
|
161
|
+
model: new PagedList('rs/sql/supervisory', 20, {
|
|
162
|
+
data: {
|
|
163
|
+
id: `${this.$login.f.name}`,
|
|
164
|
+
orgid: this.$login.f.f_orgids
|
|
165
|
+
}
|
|
166
|
+
}),
|
|
167
|
+
defnames: [{label: '全部', value: ''}], // 流程节点
|
|
168
|
+
criteriaShow: false
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
ready () {
|
|
172
|
+
// 调用查询
|
|
173
|
+
this.search()
|
|
174
|
+
},
|
|
175
|
+
events: {
|
|
176
|
+
},
|
|
177
|
+
methods: {
|
|
178
|
+
// 查询
|
|
179
|
+
search () {
|
|
180
|
+
this.$dispatch('search')
|
|
181
|
+
},
|
|
182
|
+
clear () {
|
|
183
|
+
Object.keys(this.$refs.cp.$refs.cri.model).forEach((key) => {
|
|
184
|
+
this.$refs.cp.$refs.cri.model[key] = []
|
|
185
|
+
})
|
|
186
|
+
},
|
|
187
|
+
applyTypeChange () {
|
|
188
|
+
if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
|
|
189
|
+
let http = new HttpResetClass()
|
|
190
|
+
http.load('POST', 'rs/logic/getDefnameByType', {
|
|
191
|
+
f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type
|
|
192
|
+
}, {resolveMsg: null, rejectMsg: null}).then((res) => {
|
|
193
|
+
this.defnames = [{label: '全部', value: ''}, ...res.data]
|
|
194
|
+
})
|
|
195
|
+
} else {
|
|
196
|
+
this.defnames = [{label: '全部', value: ''}]
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
check (val) {
|
|
200
|
+
this.$dispatch('apply', val)
|
|
201
|
+
}
|
|
202
|
+
},
|
|
203
|
+
computed: {
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
</script>
|
|
207
|
+
<style scoped>
|
|
208
|
+
</style>
|
|
@@ -1,103 +1,103 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div style="overflow: auto;background-color: #FFFFFF;margin-top: 20px">
|
|
3
|
-
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
-
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
|
-
{{row.defname}}
|
|
6
|
-
<br>
|
|
7
|
-
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
|
-
</div>
|
|
9
|
-
<div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
|
|
10
|
-
</div>
|
|
11
|
-
</div>
|
|
12
|
-
</template>
|
|
13
|
-
|
|
14
|
-
<script>
|
|
15
|
-
import {HttpResetClass} from 'vue-client'
|
|
16
|
-
export default {
|
|
17
|
-
title: "流程节点",
|
|
18
|
-
props:['selectdata'],
|
|
19
|
-
data(){
|
|
20
|
-
return{
|
|
21
|
-
defnames: [] // 所有节点
|
|
22
|
-
}
|
|
23
|
-
},
|
|
24
|
-
created () {
|
|
25
|
-
this.initial()
|
|
26
|
-
},
|
|
27
|
-
methods :{
|
|
28
|
-
async initial() {
|
|
29
|
-
// 获取流程节点信息
|
|
30
|
-
let http = new HttpResetClass()
|
|
31
|
-
let temp = []
|
|
32
|
-
if(this.selectdata && this.selectdata.f_process_id){
|
|
33
|
-
let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
|
|
34
|
-
//循环去除回退导致重复的节点
|
|
35
|
-
// for (let i = 0; i < res.data.length; i++) {
|
|
36
|
-
// let flag = true
|
|
37
|
-
// for (let j = 0; j < temp.length; j++) {
|
|
38
|
-
// if (res.data[i].defname === temp[j].defname) {
|
|
39
|
-
// flag = false
|
|
40
|
-
// }
|
|
41
|
-
// }
|
|
42
|
-
// if(flag){
|
|
43
|
-
// temp.push(res.data[i])
|
|
44
|
-
// }
|
|
45
|
-
// }
|
|
46
|
-
this.defnames = res.data
|
|
47
|
-
}
|
|
48
|
-
},
|
|
49
|
-
//点击获取节点名
|
|
50
|
-
getdefname(row){
|
|
51
|
-
if(row.defname === this.$workflow_vue.start_activity){
|
|
52
|
-
row = Object.assign({},this.selectdata,row)
|
|
53
|
-
this.$dispatch('apply', row)
|
|
54
|
-
}else if(this.check(row.actorexpression)){
|
|
55
|
-
row = Object.assign({},this.selectdata,row)
|
|
56
|
-
this.$dispatch('apply', row)
|
|
57
|
-
}else{
|
|
58
|
-
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
// 检测是否有权限
|
|
62
|
-
check(actorexpression){
|
|
63
|
-
let sign = actorexpression.charAt(0)
|
|
64
|
-
let str = actorexpression.substring(2,actorexpression.length-1)
|
|
65
|
-
let flag = false
|
|
66
|
-
if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
|
|
67
|
-
flag = true
|
|
68
|
-
}
|
|
69
|
-
if (sign === 'R' && this.$login.f.rolesnames.includes(str)) {
|
|
70
|
-
flag = true
|
|
71
|
-
}
|
|
72
|
-
if (sign === 'P' && this.$login.f.id.includes(str)) {
|
|
73
|
-
flag = true
|
|
74
|
-
}
|
|
75
|
-
return flag
|
|
76
|
-
}
|
|
77
|
-
},
|
|
78
|
-
watch:{
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
</script>
|
|
82
|
-
|
|
83
|
-
<style scoped>
|
|
84
|
-
.row{
|
|
85
|
-
text-align: center;
|
|
86
|
-
height: auto;
|
|
87
|
-
margin-right: 20px;
|
|
88
|
-
}
|
|
89
|
-
.item{
|
|
90
|
-
border-radius: 2em;
|
|
91
|
-
border: 1px solid silver;
|
|
92
|
-
line-height: 25px;
|
|
93
|
-
}
|
|
94
|
-
.arrow{
|
|
95
|
-
width: 100%;
|
|
96
|
-
color: #5ac0d9;
|
|
97
|
-
font-weight: bold;
|
|
98
|
-
}
|
|
99
|
-
.selectIndex{
|
|
100
|
-
background-color: #5ac0d9;
|
|
101
|
-
color: #ffffff;
|
|
102
|
-
}
|
|
103
|
-
</style>
|
|
1
|
+
<template>
|
|
2
|
+
<div style="overflow: auto;background-color: #FFFFFF;margin-top: 20px">
|
|
3
|
+
<div class="row" v-for="(i,row) in defnames">
|
|
4
|
+
<div :class="row.id === selectdata.actid ? 'item selectIndex' : 'item'" @click="getdefname(row)" >
|
|
5
|
+
{{row.defname}}
|
|
6
|
+
<br>
|
|
7
|
+
{{i === (defnames.length) - 1 ? row.sendtime : row.finishtime}}
|
|
8
|
+
</div>
|
|
9
|
+
<div class="arrow glyphicon glyphicon-menu-down" v-if="i != defnames.length-1" aria-hidden="true"></div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
import {HttpResetClass} from 'vue-client'
|
|
16
|
+
export default {
|
|
17
|
+
title: "流程节点",
|
|
18
|
+
props:['selectdata'],
|
|
19
|
+
data(){
|
|
20
|
+
return{
|
|
21
|
+
defnames: [] // 所有节点
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
created () {
|
|
25
|
+
this.initial()
|
|
26
|
+
},
|
|
27
|
+
methods :{
|
|
28
|
+
async initial() {
|
|
29
|
+
// 获取流程节点信息
|
|
30
|
+
let http = new HttpResetClass()
|
|
31
|
+
let temp = []
|
|
32
|
+
if(this.selectdata && this.selectdata.f_process_id){
|
|
33
|
+
let res = await http.load('POST','rs/sql/getAllNode',{data:{processid: this.selectdata.f_process_id}},{resolveMsg:null, rejectMsg:null})
|
|
34
|
+
//循环去除回退导致重复的节点
|
|
35
|
+
// for (let i = 0; i < res.data.length; i++) {
|
|
36
|
+
// let flag = true
|
|
37
|
+
// for (let j = 0; j < temp.length; j++) {
|
|
38
|
+
// if (res.data[i].defname === temp[j].defname) {
|
|
39
|
+
// flag = false
|
|
40
|
+
// }
|
|
41
|
+
// }
|
|
42
|
+
// if(flag){
|
|
43
|
+
// temp.push(res.data[i])
|
|
44
|
+
// }
|
|
45
|
+
// }
|
|
46
|
+
this.defnames = res.data
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
//点击获取节点名
|
|
50
|
+
getdefname(row){
|
|
51
|
+
if(row.defname === this.$workflow_vue.start_activity){
|
|
52
|
+
row = Object.assign({},this.selectdata,row)
|
|
53
|
+
this.$dispatch('apply', row)
|
|
54
|
+
}else if(this.check(row.actorexpression)){
|
|
55
|
+
row = Object.assign({},this.selectdata,row)
|
|
56
|
+
this.$dispatch('apply', row)
|
|
57
|
+
}else{
|
|
58
|
+
this.$showMessage("对不起,您没有查看此节点的权限!")
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
// 检测是否有权限
|
|
62
|
+
check(actorexpression){
|
|
63
|
+
let sign = actorexpression.charAt(0)
|
|
64
|
+
let str = actorexpression.substring(2,actorexpression.length-1)
|
|
65
|
+
let flag = false
|
|
66
|
+
if (sign === 'D' && this.$login.f.f_department_name.includes(str)) {
|
|
67
|
+
flag = true
|
|
68
|
+
}
|
|
69
|
+
if (sign === 'R' && this.$login.f.rolesnames.includes(str)) {
|
|
70
|
+
flag = true
|
|
71
|
+
}
|
|
72
|
+
if (sign === 'P' && this.$login.f.id.includes(str)) {
|
|
73
|
+
flag = true
|
|
74
|
+
}
|
|
75
|
+
return flag
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
watch:{
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
</script>
|
|
82
|
+
|
|
83
|
+
<style scoped>
|
|
84
|
+
.row{
|
|
85
|
+
text-align: center;
|
|
86
|
+
height: auto;
|
|
87
|
+
margin-right: 20px;
|
|
88
|
+
}
|
|
89
|
+
.item{
|
|
90
|
+
border-radius: 2em;
|
|
91
|
+
border: 1px solid silver;
|
|
92
|
+
line-height: 25px;
|
|
93
|
+
}
|
|
94
|
+
.arrow{
|
|
95
|
+
width: 100%;
|
|
96
|
+
color: #5ac0d9;
|
|
97
|
+
font-weight: bold;
|
|
98
|
+
}
|
|
99
|
+
.selectIndex{
|
|
100
|
+
background-color: #5ac0d9;
|
|
101
|
+
color: #ffffff;
|
|
102
|
+
}
|
|
103
|
+
</style>
|