apply-clients 3.5.4-8 → 3.5.4-81
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/app/src/main/java/com/example/phonechatbot/MainActivity.java +50 -0
- package/build/dev-server.js +12 -4
- package/package.json +2 -2
- package/src/App.vue +5 -5
- package/src/apply.js +2 -3
- package/src/applyAndroid.js +2 -0
- package/src/assets//344/270/213/350/275/275.png +0 -0
- package/src/components/android/AppCheckTakePic.vue +168 -0
- package/src/components/android/Process/AppServiceControl.vue +4 -0
- package/src/components/android/Process/Processes/AppChargeManagementNew.vue +637 -0
- package/src/components/image/dxf.png +0 -0
- package/src/components/product/Function/Service/FunctionServiceControl.vue +497 -497
- package/src/components/product/Material/MaterialDetailed.vue +1 -1
- package/src/components/product/MaterialsManage/MaterialsBase.vue +181 -177
- package/src/components/product/MaterialsManage/MaterialsManage.vue +60 -60
- package/src/components/product/PcZhihuanManagement.vue +160 -0
- package/src/components/product/Process/ExplorationSelect.vue +4 -1
- package/src/components/product/Process/ExplorationUser.vue +1 -0
- package/src/components/product/Process/Processes/chargeManagement.vue +656 -656
- package/src/components/product/ServiceView.vue +1026 -1005
- package/src/components/product/Supervisory/SupervisoryControl.vue +1 -0
- package/src/filiale/baiyin/android/AppServiceControl.vue +1762 -0
- package/src/filiale/baiyin/android/ByAddMaterialScience.vue +824 -0
- package/src/filiale/baiyin/android/ByDeviceManagement.vue +916 -0
- package/src/filiale/baiyin/android.js +8 -0
- package/src/filiale/fugou/android/AppAddMaterialScience.vue +448 -0
- package/src/filiale/fugou/android/AppAddReplacement.vue +341 -0
- package/src/filiale/fugou/android/AppChargeManagement.vue +126 -12
- package/src/filiale/fugou/android/AppDevicesManagement.vue +519 -0
- package/src/filiale/fugou/android/AppInstallationDetails.vue +541 -0
- package/src/filiale/fugou/android/AppServiceControl.vue +38 -5
- package/src/filiale/fugou/android/AppZhihuanManagement.vue +191 -0
- package/src/filiale/fugou/android.js +7 -1
- package/src/filiale/fugou/pc/AddReplacement.vue +340 -0
- package/src/filiale/fugou/pc/ExplorationSelect.vue +525 -0
- package/src/filiale/fugou/pc/InstallationDetails.vue +54 -43
- package/src/filiale/fugou/pc/ServiceControl.vue +125 -379
- package/src/filiale/fugou/pc/ServiceView.vue +941 -0
- package/src/filiale/fugou/pc/addMaterialScience.vue +481 -0
- package/src/filiale/fugou/pc/addressAndUserinfoManagement.vue +216 -0
- package/src/filiale/fugou/pc/devicesManagement.vue +483 -0
- package/src/filiale/fugou/pc.js +7 -1
- package/src/filiale/gongyi/android/AppAddMaterialScience.vue +20 -8
- package/src/filiale/gongyi/android/AppDisclosurerecord.vue +214 -0
- package/src/filiale/gongyi/android/AppInstallationDetails.vue +500 -495
- package/src/filiale/gongyi/android/AppLegacyIssues.vue +309 -0
- package/src/filiale/gongyi/android/AppSign.vue +170 -157
- package/src/filiale/gongyi/android/AppSupplementalAgreement.vue +298 -0
- package/src/filiale/gongyi/android.js +18 -15
- package/src/filiale/gongyi/pc/ApplyUpload.vue +371 -379
- package/src/filiale/gongyi/pc/PcAddLogs.vue +221 -213
- package/src/filiale/gongyi/pc/PcDisclosurerecord.vue +218 -0
- package/src/filiale/gongyi/pc/PcLegacyIssues.vue +309 -0
- package/src/filiale/gongyi/pc/SupervisoryServiceControl.vue +894 -894
- package/src/filiale/gongyi/pc/SupervisoryServiceView.vue +1005 -0
- package/src/filiale/gongyi/pc/addMaterialScience.vue +575 -539
- package/src/filiale/gongyi/pc/chargeManagement.vue +765 -0
- package/src/filiale/gongyi/pc/supplementalAgreement.vue +277 -0
- package/src/filiale/gongyi/pc.js +24 -19
- package/src/filiale/hongda/pc/SupervisoryList.vue +422 -409
- package/src/filiale/jinhuang/pc/ServiceControl.vue +1925 -0
- package/src/filiale/jinhuang/pc/chargeManagementNew.vue +589 -0
- package/src/filiale/jinhuang/pc.js +7 -0
- package/src/filiale/qianneng/android/AppChargeManagement.vue +686 -0
- package/src/filiale/qianneng/android/AppExplorationUser.vue +490 -490
- package/src/filiale/qianneng/android/AppInstallationDetails.vue +541 -541
- package/src/filiale/qianneng/android.js +2 -1
- package/src/filiale/qianneng/pc/ApplyUpload.vue +5 -4
- package/src/filiale/qianneng/pc/Applybatchdispatch.vue +704 -704
- package/src/filiale/qianneng/pc/Applydetail.vue +0 -5
- package/src/filiale/qianneng/pc/InstallFunction.vue +2 -2
- package/src/filiale/qianneng/pc/InstallationDetails.vue +614 -587
- package/src/filiale/qianneng/pc/ServiceControl.vue +1384 -1384
- package/src/filiale/qianneng/pc/printactivatecard.vue +311 -311
- package/src/filiale/ruihua/pc/ServiceControl.vue +20 -0
- package/src/filiale/ruihua/pc/printVentilation.vue +21 -6
- package/src/filiale/shexian/android/AppServiceControl.vue +12 -2
- package/src/filiale/shexian/android/AppTakePic.vue +15 -55
- package/src/filiale/siyangRH/android/AppAddMaterialScience.vue +0 -2
- package/src/filiale/siyangRH/pc/ApplyUpload.vue +324 -324
- package/src/filiale/siyangRH/pc/chargeManagement.vue +810 -0
- package/src/filiale/siyangRH/pc.js +1 -0
- package/src/filiale/yangchunboneng/android/AppChargeManagement.vue +17 -1
- package/src/filiale/yangchunboneng/android/AppDevicesManagement.vue +32 -2
- package/src/filiale/yangchunboneng/android/AppExplorationUser.vue +12 -0
- package/src/filiale/yangchunboneng/android/AppInstallationMaterial.vue +956 -961
- package/src/filiale/yangchunboneng/android/AppServiceControl.vue +34 -1
- package/src/filiale/yangchunboneng/android/AppSuperServiceControl.vue +1 -1
- package/src/filiale/yangchunboneng/android/AppUpload.vue +78 -9
- package/src/filiale/yangchunboneng/android/MaterIialOne.vue +31 -19
- package/src/filiale/yangchunboneng/android.js +1 -1
- package/src/filiale/yangchunboneng/pc/ApplyUpload.vue +235 -218
- package/src/filiale/yangchunboneng/pc/ExplorationSelect.vue +59 -19
- package/src/filiale/yangchunboneng/pc/ExplorationUser.vue +191 -0
- package/src/filiale/yangchunboneng/pc/ServiceControl.vue +207 -3
- package/src/filiale/yangchunboneng/pc/SupervisoryControlNew.vue +142 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryList.vue +69 -14
- package/src/filiale/yangchunboneng/pc/SupervisoryListNew.vue +628 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControl.vue +902 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceControlNew.vue +901 -0
- package/src/filiale/yangchunboneng/pc/SupervisoryServiceView.vue +1117 -0
- package/src/filiale/yangchunboneng/pc/chargeManagement.vue +112 -13
- package/src/filiale/yangchunboneng/pc.js +7 -1
- package/src/main.js +3 -3
- package/~/chatbot/main.py +57 -0
|
@@ -175,7 +175,7 @@
|
|
|
175
175
|
</criteria-paged>
|
|
176
176
|
<p class="bg-info text-center" style="font-size: 20px;height: 5%">
|
|
177
177
|
合计记录共<span style="color: red">{{chargeAll.count}} </span>笔,
|
|
178
|
-
合计数量<span style="color: red"> {{chargeAll.sum}} </span
|
|
178
|
+
合计数量<span style="color: red"> {{chargeAll.sum}} </span>
|
|
179
179
|
</p>
|
|
180
180
|
</div>
|
|
181
181
|
|
|
@@ -1,177 +1,181 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div class="auto select-overspread" style="overflow-y: scroll;overflow-x: hidden">
|
|
3
|
-
<ul class="nav nav-tabs" style="position: relative">
|
|
4
|
-
<p class="bg-info text-center" style="padding: 8px;">{{ title }}</p>
|
|
5
|
-
<h3 class="txtline" v-if="model.parent_name">上一级【{{ model.parent_name }}】</h3>
|
|
6
|
-
</ul>
|
|
7
|
-
<div class="row" style="margin-top:1rem;">
|
|
8
|
-
<div class="col-sm-6">
|
|
9
|
-
<label class="font_normal_body">名称</label>
|
|
10
|
-
<input type="text"
|
|
11
|
-
:disabled="look"
|
|
12
|
-
v-model="model.name" style="width:60%"
|
|
13
|
-
class="input_search full-with" placeholder="名称">
|
|
14
|
-
</div>
|
|
15
|
-
<div class="col-sm-6">
|
|
16
|
-
<label style="width: 80px" class="font_normal_body">类别</label>
|
|
17
|
-
<v-select :disabled="look"
|
|
18
|
-
v-model="model.type"
|
|
19
|
-
placeholder='项目类别'
|
|
20
|
-
:value.sync="model.type"
|
|
21
|
-
:value-single="true"
|
|
22
|
-
:options='types'></v-select>
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
<div class="row" style="margin-top:1rem;" v-if="model.type ==='型号'">
|
|
26
|
-
<div class="col-sm-6">
|
|
27
|
-
<label class="font_normal_body">单位</label>
|
|
28
|
-
<input type="text"
|
|
29
|
-
:disabled="look"
|
|
30
|
-
v-model="model.unit" style="width:60%"
|
|
31
|
-
class="input_search full-with"
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
<button @click=
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
<
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
initdata
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
//
|
|
133
|
-
//
|
|
134
|
-
//
|
|
135
|
-
//
|
|
136
|
-
//
|
|
137
|
-
//
|
|
138
|
-
// }
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
}
|
|
177
|
-
|
|
1
|
+
<template>
|
|
2
|
+
<div class="auto select-overspread" style="overflow-y: scroll;overflow-x: hidden">
|
|
3
|
+
<ul class="nav nav-tabs" style="position: relative">
|
|
4
|
+
<p class="bg-info text-center" style="padding: 8px;">{{ title }}</p>
|
|
5
|
+
<h3 class="txtline" v-if="model.parent_name">上一级【{{ model.parent_name }}】</h3>
|
|
6
|
+
</ul>
|
|
7
|
+
<div class="row" style="margin-top:1rem;">
|
|
8
|
+
<div class="col-sm-6">
|
|
9
|
+
<label class="font_normal_body">名称</label>
|
|
10
|
+
<input type="text"
|
|
11
|
+
:disabled="look"
|
|
12
|
+
v-model="model.name" style="width:60%"
|
|
13
|
+
class="input_search full-with" placeholder="名称">
|
|
14
|
+
</div>
|
|
15
|
+
<div class="col-sm-6">
|
|
16
|
+
<label style="width: 80px" class="font_normal_body">类别</label>
|
|
17
|
+
<v-select :disabled="look"
|
|
18
|
+
v-model="model.type"
|
|
19
|
+
placeholder='项目类别'
|
|
20
|
+
:value.sync="model.type"
|
|
21
|
+
:value-single="true"
|
|
22
|
+
:options='types'></v-select>
|
|
23
|
+
</div>
|
|
24
|
+
</div>
|
|
25
|
+
<div class="row" style="margin-top:1rem;" v-if="model.type ==='型号'">
|
|
26
|
+
<div class="col-sm-6">
|
|
27
|
+
<label class="font_normal_body">单位</label>
|
|
28
|
+
<input type="text"
|
|
29
|
+
:disabled="look"
|
|
30
|
+
v-model="model.unit" style="width:60%"
|
|
31
|
+
class="input_search full-with"
|
|
32
|
+
autocomplete="off"
|
|
33
|
+
id="name" placeholder="计量单位">
|
|
34
|
+
</div>
|
|
35
|
+
<div class="col-sm-6">
|
|
36
|
+
<label style="width: 80px" class="font_normal_body">编码</label>
|
|
37
|
+
<input type="text"
|
|
38
|
+
:disabled="look"
|
|
39
|
+
autocomplete="off"
|
|
40
|
+
v-model="model.code" style="width:60%"
|
|
41
|
+
class="input_search full-with" id="name" placeholder="物料编码">
|
|
42
|
+
</div>
|
|
43
|
+
<div class="col-sm-6">
|
|
44
|
+
<label class="font_normal_body">单价</label>
|
|
45
|
+
<input type="text"
|
|
46
|
+
:disabled="look"
|
|
47
|
+
autocomplete="off"
|
|
48
|
+
v-model="model.price" style="width:60%"
|
|
49
|
+
class="input_search full-with" id="name" placeholder="物料单价">
|
|
50
|
+
</div>
|
|
51
|
+
<div class="col-sm-6">
|
|
52
|
+
<label style="width: 80px" class="font_normal_body">业务类型</label>
|
|
53
|
+
<v-select
|
|
54
|
+
v-model="model.material_type"
|
|
55
|
+
placeholder='请选择'
|
|
56
|
+
:value.sync="model.material_type"
|
|
57
|
+
:value-single="true"
|
|
58
|
+
:options='materialTypeOptions'></v-select>
|
|
59
|
+
</div>
|
|
60
|
+
</div>
|
|
61
|
+
<!-- 按钮 -->
|
|
62
|
+
<div class="row col-sm-12" style="margin-top: 1rem">
|
|
63
|
+
<button @click="confirm()" v-show="!look" class="btn button_search col-sm-1 col-sm-offset-5"
|
|
64
|
+
style="width: 70px">
|
|
65
|
+
<span class="glyphicon glyphicon-floppy-disk"></span>保存
|
|
66
|
+
</button>
|
|
67
|
+
<button @click='cancel()' class="btn button_clear col-sm-1 col-sm-offset-1" style="width: 70px">
|
|
68
|
+
<span class=" glyphicon glyphicon-log-out"></span>返回
|
|
69
|
+
</button>
|
|
70
|
+
</div>
|
|
71
|
+
<div class="row col-sm-12" style="margin-top: 18rem">
|
|
72
|
+
</div>
|
|
73
|
+
<work-busy :is-busy="isbusy"></work-busy>
|
|
74
|
+
</div>
|
|
75
|
+
</template>
|
|
76
|
+
|
|
77
|
+
<script>
|
|
78
|
+
|
|
79
|
+
export default {
|
|
80
|
+
title: '功能',
|
|
81
|
+
props: ['parent', 'data', 'look', 'title'],
|
|
82
|
+
data () {
|
|
83
|
+
return {
|
|
84
|
+
model: {
|
|
85
|
+
menu_id: null,
|
|
86
|
+
menu_name: '',
|
|
87
|
+
parent_id: '0',
|
|
88
|
+
component: null,
|
|
89
|
+
create_by: '',
|
|
90
|
+
depict: '',
|
|
91
|
+
type: '',
|
|
92
|
+
material_type: '',
|
|
93
|
+
org_id: ''
|
|
94
|
+
},
|
|
95
|
+
type: '',
|
|
96
|
+
isbusy: false,
|
|
97
|
+
types: this.$appdata.getParam('材料管理-项目类别') ? this.$appdata.getParam('材料管理-项目类别') : [{
|
|
98
|
+
label: '型号',
|
|
99
|
+
value: '型号'
|
|
100
|
+
}, {label: '燃气具设备', value: '燃气具设备'}, {label: '报建', value: '报建'},
|
|
101
|
+
{label: '规格', value: '规格'}, {label: '材料', value: '材料'}, {label: '品名', value: '品名'}],
|
|
102
|
+
showFile: 'false',
|
|
103
|
+
file: [],
|
|
104
|
+
materialTypeOptions: this.$appdata.getParam('材料管理-业务类型')
|
|
105
|
+
}
|
|
106
|
+
},
|
|
107
|
+
watch: {
|
|
108
|
+
data: {
|
|
109
|
+
handler (n, o) {
|
|
110
|
+
// if (!n.menu_id&&n.menu_id !== o.menu_id)
|
|
111
|
+
this.initdata()
|
|
112
|
+
},
|
|
113
|
+
deep: true // 对象内部属性的监听,关键。
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
ready () {
|
|
117
|
+
this.initdata()
|
|
118
|
+
},
|
|
119
|
+
methods: {
|
|
120
|
+
// 初始化数据
|
|
121
|
+
initdata () {
|
|
122
|
+
this.model = {
|
|
123
|
+
id: null,
|
|
124
|
+
name: '',
|
|
125
|
+
parent_id: '0',
|
|
126
|
+
create_by: '',
|
|
127
|
+
type: '',
|
|
128
|
+
org_id: ''
|
|
129
|
+
}
|
|
130
|
+
this.model = Object.assign({}, this.model, this.data)
|
|
131
|
+
this.model.org_id = this.$login.f.orgid
|
|
132
|
+
// this.type = this.model.type
|
|
133
|
+
// if (this.model.id) {
|
|
134
|
+
// this.$resetpost('rs/sql/singleTable_OrderBy', {
|
|
135
|
+
// data: {
|
|
136
|
+
// items: '*',
|
|
137
|
+
// table: 't_material_info',
|
|
138
|
+
// condition: ` 1 = 1 and id = ${this.model.id}`,
|
|
139
|
+
// order: 'id desc'
|
|
140
|
+
// }
|
|
141
|
+
// }, {rejectMsg: null, resolveMsg: null})
|
|
142
|
+
// }
|
|
143
|
+
},
|
|
144
|
+
// 关闭文件上传对话框
|
|
145
|
+
closeFile () {
|
|
146
|
+
this.showFile = 'false'
|
|
147
|
+
// 将选的文件清空
|
|
148
|
+
this.$refs.file.$el.querySelector('input').value = ''
|
|
149
|
+
},
|
|
150
|
+
cancel () {
|
|
151
|
+
this.$dispatch('cancel')
|
|
152
|
+
},
|
|
153
|
+
async confirm () {
|
|
154
|
+
await this.$resetpost('rs/entity/t_material_info', this.model).then(res =>
|
|
155
|
+
this.$parent.$refs.funlist.searchData()
|
|
156
|
+
)
|
|
157
|
+
},
|
|
158
|
+
importFile () {
|
|
159
|
+
this.showFile = 'true'
|
|
160
|
+
},
|
|
161
|
+
delFile (row) {
|
|
162
|
+
if (!this.look) {
|
|
163
|
+
this.$resetdelete(`rs/entity/t_material_info`, {id: row.id}).then(res =>
|
|
164
|
+
this.initdata()
|
|
165
|
+
)
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
},
|
|
169
|
+
events: {}
|
|
170
|
+
}
|
|
171
|
+
</script>
|
|
172
|
+
|
|
173
|
+
<style>
|
|
174
|
+
.full-with {
|
|
175
|
+
width: 100%;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
#ldapDisplayUploadFile {
|
|
179
|
+
height: auto !important;
|
|
180
|
+
}
|
|
181
|
+
</style>
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div id="unit" class="flex-row">
|
|
3
|
-
<apply-material-display @select-changed='selected' @modify-res="modifyRes"
|
|
4
|
-
@add-res="addRes"
|
|
5
|
-
class="basic-main" style="width:auto;" v-ref:funlist>
|
|
6
|
-
</apply-material-display>
|
|
7
|
-
<div class="binary-right" style="width: 40
|
|
8
|
-
<apply-materials-base :look='look' :data="row" :title="title"
|
|
9
|
-
:parent="row.parent_name" @cancel="cancel">
|
|
10
|
-
</apply-materials-base>
|
|
11
|
-
</div>
|
|
12
|
-
</div>
|
|
13
|
-
</template>
|
|
14
|
-
|
|
15
|
-
<script>
|
|
16
|
-
|
|
17
|
-
export default {
|
|
18
|
-
title: '
|
|
19
|
-
data () {
|
|
20
|
-
return {
|
|
21
|
-
row: null,
|
|
22
|
-
look: true,
|
|
23
|
-
title: '功能信息'
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
methods: {
|
|
27
|
-
// 选中数据
|
|
28
|
-
selected (obj) {
|
|
29
|
-
this.title = '功能信息'
|
|
30
|
-
this.look = true
|
|
31
|
-
this.row = obj.val.data
|
|
32
|
-
},
|
|
33
|
-
// 修改数据
|
|
34
|
-
modifyRes (obj) {
|
|
35
|
-
this.title = '修改信息'
|
|
36
|
-
this.row = obj.data
|
|
37
|
-
this.look = false
|
|
38
|
-
},
|
|
39
|
-
// 添加数据
|
|
40
|
-
addRes (obj) {
|
|
41
|
-
this.title = '添加功能'
|
|
42
|
-
let type = ''
|
|
43
|
-
if (obj.type === '品名') {
|
|
44
|
-
type = '规格'
|
|
45
|
-
} else if (obj.type === '规格') {
|
|
46
|
-
type = '型号'
|
|
47
|
-
}
|
|
48
|
-
this.row = Object.assign({}, {parent_id: obj.id, type: type})
|
|
49
|
-
this.look = false
|
|
50
|
-
},
|
|
51
|
-
// 返回
|
|
52
|
-
cancel () {
|
|
53
|
-
// 把选择的节点清空 不然点击同样的节点点不出来
|
|
54
|
-
this.$refs.funlist.$refs.list.selectStore.selected = null
|
|
55
|
-
this.row = null
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
</script>
|
|
1
|
+
<template>
|
|
2
|
+
<div id="unit" class="flex-row">
|
|
3
|
+
<apply-material-display @select-changed='selected' @modify-res="modifyRes"
|
|
4
|
+
@add-res="addRes"
|
|
5
|
+
class="basic-main" style="width:auto;" v-ref:funlist>
|
|
6
|
+
</apply-material-display>
|
|
7
|
+
<div class="binary-right" style="width: 40%verflow-x: hidden; overflow-y: scroll;" v-if="row">
|
|
8
|
+
<apply-materials-base :look='look' :data="row" :title="title"
|
|
9
|
+
:parent="row.parent_name" @cancel="cancel">
|
|
10
|
+
</apply-materials-base>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
|
|
17
|
+
export default {
|
|
18
|
+
title: '物料配置',
|
|
19
|
+
data () {
|
|
20
|
+
return {
|
|
21
|
+
row: null,
|
|
22
|
+
look: true,
|
|
23
|
+
title: '功能信息'
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
methods: {
|
|
27
|
+
// 选中数据
|
|
28
|
+
selected (obj) {
|
|
29
|
+
this.title = '功能信息'
|
|
30
|
+
this.look = true
|
|
31
|
+
this.row = obj.val.data
|
|
32
|
+
},
|
|
33
|
+
// 修改数据
|
|
34
|
+
modifyRes (obj) {
|
|
35
|
+
this.title = '修改信息'
|
|
36
|
+
this.row = obj.data
|
|
37
|
+
this.look = false
|
|
38
|
+
},
|
|
39
|
+
// 添加数据
|
|
40
|
+
addRes (obj) {
|
|
41
|
+
this.title = '添加功能'
|
|
42
|
+
let type = ''
|
|
43
|
+
if (obj.type === '品名') {
|
|
44
|
+
type = '规格'
|
|
45
|
+
} else if (obj.type === '规格') {
|
|
46
|
+
type = '型号'
|
|
47
|
+
}
|
|
48
|
+
this.row = Object.assign({}, {parent_id: obj.id, type: type})
|
|
49
|
+
this.look = false
|
|
50
|
+
},
|
|
51
|
+
// 返回
|
|
52
|
+
cancel () {
|
|
53
|
+
// 把选择的节点清空 不然点击同样的节点点不出来
|
|
54
|
+
this.$refs.funlist.$refs.list.selectStore.selected = null
|
|
55
|
+
this.row = null
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
</script>
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="col-sm-12" style="margin: 20px 0px;">
|
|
3
|
+
<data-grid :model="model" v-ref:grid class="list_area table_sy" style="padding: 0px">
|
|
4
|
+
<template partial='head'>
|
|
5
|
+
<tr>
|
|
6
|
+
<th class="textNoLineBreak">序号</th>
|
|
7
|
+
<th class="textNoLineBreak">检查项目</th>
|
|
8
|
+
<th class="textNoLineBreak">检查结果</th>
|
|
9
|
+
<th class="textNoLineBreak">操作</th>
|
|
10
|
+
</tr>
|
|
11
|
+
</template>
|
|
12
|
+
<template partial='body'>
|
|
13
|
+
<tr>
|
|
14
|
+
<td style="text-align: center;">
|
|
15
|
+
<nobr>{{$index+1}}</nobr>
|
|
16
|
+
</td>
|
|
17
|
+
<td style="text-align: center;" >
|
|
18
|
+
<nobr>{{row.f_check_list}}</nobr>
|
|
19
|
+
</td>
|
|
20
|
+
<td style="text-align: center;">
|
|
21
|
+
<nobr>{{row.f_check_value}}</nobr>
|
|
22
|
+
</td>
|
|
23
|
+
<td style="text-align: center;">
|
|
24
|
+
<nobr>
|
|
25
|
+
<button
|
|
26
|
+
type="button"
|
|
27
|
+
name="button"
|
|
28
|
+
class="btn btn-link"
|
|
29
|
+
@click="$parent.$parent.showModal(row)"
|
|
30
|
+
>查看照片</button>
|
|
31
|
+
</nobr>
|
|
32
|
+
</td>
|
|
33
|
+
</tr>
|
|
34
|
+
</template>
|
|
35
|
+
</data-grid>
|
|
36
|
+
<validator name="v">
|
|
37
|
+
<modal v-if="showCheckModel" :show.sync="showCheckModel" v-ref:modal :large="true" :backdrop="false" title="收费明细">
|
|
38
|
+
<header slot="modal-header" class="modal-header">
|
|
39
|
+
<button type="button" class="close" @click="closeModal"><span>×</span></button>
|
|
40
|
+
<h4 class="modal-title">检查明细照片</h4>
|
|
41
|
+
</header>
|
|
42
|
+
<article slot="modal-body" class="modal-body clearfix">
|
|
43
|
+
<div :class="bootstraped ? bootstraped + ' showData' : 'col-sm-6 showData'" v-for="row in fileInfoData">
|
|
44
|
+
<div class="col-sm-12 item">
|
|
45
|
+
<div class="left col-sm-5">
|
|
46
|
+
<a href="#" class="thumbnail" style="width: 100%;height: 100%">
|
|
47
|
+
<img :src="row" alt="..."/>
|
|
48
|
+
</a>
|
|
49
|
+
</div>
|
|
50
|
+
</div>
|
|
51
|
+
</div>
|
|
52
|
+
</article>
|
|
53
|
+
<footer slot="modal-footer" class="modal-footer">
|
|
54
|
+
</footer>
|
|
55
|
+
</modal>
|
|
56
|
+
</validator>
|
|
57
|
+
</div>
|
|
58
|
+
</template>
|
|
59
|
+
<script>
|
|
60
|
+
import {HttpResetClass} from 'vue-client'
|
|
61
|
+
import Vue from 'vue'
|
|
62
|
+
import {isEmpty} from "../Util";
|
|
63
|
+
|
|
64
|
+
export default {
|
|
65
|
+
title: '检查项管理',
|
|
66
|
+
props: {
|
|
67
|
+
selectdata: {
|
|
68
|
+
type: Object
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
data () {
|
|
72
|
+
return {
|
|
73
|
+
model: {
|
|
74
|
+
data: null
|
|
75
|
+
},
|
|
76
|
+
flag:0,
|
|
77
|
+
showCheckModel: false,
|
|
78
|
+
checkList:{},
|
|
79
|
+
item: [{label: '是', value: '是'},{label: '否', value: '否'}],
|
|
80
|
+
hasList:false,
|
|
81
|
+
savelist:[],
|
|
82
|
+
fileInfoData:[]
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
ready () {
|
|
86
|
+
this.search()
|
|
87
|
+
},
|
|
88
|
+
methods: {
|
|
89
|
+
showModal(row){
|
|
90
|
+
this.load(row)
|
|
91
|
+
this.showCheckModel=true
|
|
92
|
+
},
|
|
93
|
+
closeModal() {
|
|
94
|
+
this.showCheckModel=false
|
|
95
|
+
},
|
|
96
|
+
//查询
|
|
97
|
+
async search() {
|
|
98
|
+
let http = new HttpResetClass()
|
|
99
|
+
let data = {
|
|
100
|
+
tablename: 't_apply_check',
|
|
101
|
+
condition: `f_process_id= '${this.selectdata.f_process_id}'`
|
|
102
|
+
}
|
|
103
|
+
let res = await http.load('POST', `${this.$androidUtil.getProxyUrl()}/rs/sql/apply_singleTable`, {data:data}, {
|
|
104
|
+
resolveMsg: null,
|
|
105
|
+
rejectMsg: '开发商档案查询失败!!!'
|
|
106
|
+
})
|
|
107
|
+
if(res.data.length>0){
|
|
108
|
+
this.model.data=res.data
|
|
109
|
+
}
|
|
110
|
+
},
|
|
111
|
+
async load(row) {
|
|
112
|
+
this.fileInfoData=[]
|
|
113
|
+
let condition = ''
|
|
114
|
+
condition = `f_blobid= '${this.selectdata.f_process_id}' and fremarks='${this.selectdata.f_apply_num+row.id}' `
|
|
115
|
+
let http = new HttpResetClass()
|
|
116
|
+
let data = {
|
|
117
|
+
tablename: 't_files',
|
|
118
|
+
condition: condition + ` order by f_uploaddate desc `
|
|
119
|
+
}
|
|
120
|
+
let getFile = await http.load('POST', 'rs/sql/apply_singleTable', {data: data}, {
|
|
121
|
+
warnMsg: null,
|
|
122
|
+
resolveMsg: null
|
|
123
|
+
})
|
|
124
|
+
for (var i = 0; i < getFile.data.length; i++) {
|
|
125
|
+
// 如果使用类型包含导入字样,则是execl文件导入的,不做显示
|
|
126
|
+
if(getFile.data[i].fusetype&&(getFile.data[i].fusetype.includes('execl导入'))){
|
|
127
|
+
getFile.data.splice(i,1)
|
|
128
|
+
i--
|
|
129
|
+
continue
|
|
130
|
+
}
|
|
131
|
+
let temp = getFile.data[i].f_filename
|
|
132
|
+
let src = "http://" + location.host + "/rs/image/file/" + temp
|
|
133
|
+
this.fileInfoData.push(src)
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
},
|
|
137
|
+
events: {
|
|
138
|
+
},
|
|
139
|
+
computed: {
|
|
140
|
+
CheckItems() {
|
|
141
|
+
return this.$appdata.getParam("报建检查项目")
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
watch: {
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
</script>
|
|
148
|
+
<style scoped>
|
|
149
|
+
.textNoLineBreak {
|
|
150
|
+
white-space: nowrap;
|
|
151
|
+
}
|
|
152
|
+
.head-but{
|
|
153
|
+
margin-left: 5px;
|
|
154
|
+
height: 34px;
|
|
155
|
+
/*background-color: #6aa6e2;*/
|
|
156
|
+
border-radius: 4px;
|
|
157
|
+
font-family: PingFang;
|
|
158
|
+
color: #ffffff;
|
|
159
|
+
}
|
|
160
|
+
</style>
|