safecheck-client 4.0.2-43 → 4.0.2-44
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "safecheck-client",
|
|
3
3
|
"//": "主分支版本别乱升,测试包的版本直接发包(建议使用1.XX.XX-XXX格式作为测试包,不要频繁升级第三位版本号),别提交版本号。切了分支切记把主分支版本升了,保证主分支始终是最高版本!!!!!",
|
|
4
|
-
"version": "4.0.2-
|
|
4
|
+
"version": "4.0.2-44",
|
|
5
5
|
"description": "安检模块 前端组件",
|
|
6
6
|
"author": "丁新 <417755458@qq.com>",
|
|
7
7
|
"license": "ISC",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
</div>
|
|
19
19
|
<div class="row text-center" style="margin-top: 20px;">
|
|
20
20
|
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="search">查询</button>
|
|
21
|
-
<button type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.showModal">执行首检</button>
|
|
21
|
+
<button v-if="$parent.$parent.model.rows.length == 0" type="button" class="btn btn-lg btn-font btn-color" style="width: 45%;" @click="$parent.$parent.showModal">执行首检</button>
|
|
22
22
|
</div>
|
|
23
23
|
</form>
|
|
24
24
|
</div>
|
|
@@ -188,6 +188,17 @@ export default {
|
|
|
188
188
|
f_orgid: Vue.user.orgid,
|
|
189
189
|
f_orgname: Vue.user.orgs,
|
|
190
190
|
}
|
|
191
|
+
this.weekCheck.forEach(item => {
|
|
192
|
+
if (item.f_item_name === '表号'){
|
|
193
|
+
weekCheckpaper.f_meternumber = item.f_item_value
|
|
194
|
+
}
|
|
195
|
+
if (item.f_item_name === '气表品牌'){
|
|
196
|
+
weekCheckpaper.f_meter_brand = item.f_item_value
|
|
197
|
+
}
|
|
198
|
+
if (item.f_item_name === '气表型号'){
|
|
199
|
+
weekCheckpaper.f_meter_style = item.f_item_value
|
|
200
|
+
}
|
|
201
|
+
})
|
|
191
202
|
http.load('post',`${this.$androidUtil.getProxyUrl()}/api/af-safecheck/logic/saveWeekPaper`, weekCheckpaper, {resolveMsg: '首检成功!', rejectMsg: '首检失败,请联系管理员检查!'}).then(res=>{
|
|
192
203
|
if (res.data){
|
|
193
204
|
this.colse()
|
|
@@ -335,6 +335,7 @@ export default {
|
|
|
335
335
|
data.f_state = '已检'
|
|
336
336
|
data.f_entry_status = '正常'
|
|
337
337
|
}else {
|
|
338
|
+
data.f_current_complete = this.steps[this.current + 1]
|
|
338
339
|
data.f_complete = this.steps[this.current]
|
|
339
340
|
data.f_state = '未检'
|
|
340
341
|
}
|
|
@@ -360,6 +361,11 @@ export default {
|
|
|
360
361
|
data.f_week_check_result = item.f_item_value
|
|
361
362
|
}
|
|
362
363
|
}
|
|
364
|
+
if (this.steps[this.current] == '上传报告'){
|
|
365
|
+
if (item.f_item_name === '检定时间' ){
|
|
366
|
+
data.f_complete_date = item.f_item_value
|
|
367
|
+
}
|
|
368
|
+
}
|
|
363
369
|
})
|
|
364
370
|
|
|
365
371
|
|
|
@@ -51,8 +51,14 @@
|
|
|
51
51
|
<label class="font text-left">周检环节:</label>
|
|
52
52
|
</div>
|
|
53
53
|
<div class="col-xs-8" >
|
|
54
|
-
<
|
|
55
|
-
|
|
54
|
+
<v-select id="f_complete"
|
|
55
|
+
:value.sync="model.f_current_complete"
|
|
56
|
+
class="input-font"
|
|
57
|
+
:options='$parent.$parent.completes'
|
|
58
|
+
placeholder='请选择周检环节'
|
|
59
|
+
v-model="model.f_current_complete"
|
|
60
|
+
condition="twpi.f_current_complete like '%{}%'"
|
|
61
|
+
close-on-select clear-button></v-select>
|
|
56
62
|
</div>
|
|
57
63
|
</div>
|
|
58
64
|
<div class="row text-center" style="margin-top: 20px;">
|
|
@@ -81,7 +87,7 @@
|
|
|
81
87
|
</div>
|
|
82
88
|
<div class="row">
|
|
83
89
|
<p class="panel-title col-xs-4 text-left font">周检环节</p>
|
|
84
|
-
<p class="panel-title col-xs-8 text-left input-font">{{ row.
|
|
90
|
+
<p class="panel-title col-xs-8 text-left input-font">{{ row.f_current_complete }}</p>
|
|
85
91
|
</div>
|
|
86
92
|
<div class="row">
|
|
87
93
|
<p class="panel-title col-xs-4 text-left font">周检状态</p>
|
|
@@ -112,7 +118,13 @@ export default {
|
|
|
112
118
|
model.f_user_name = `${Vue.user.name}`
|
|
113
119
|
return {
|
|
114
120
|
model: model,
|
|
115
|
-
|
|
121
|
+
completes:[
|
|
122
|
+
{label:'请选择周检环节',value:''},
|
|
123
|
+
{label:'下表',value:'下表'},
|
|
124
|
+
{label:'输入检定结果',value:'输入检定结果'},
|
|
125
|
+
{label:'装表',value:'装表'},
|
|
126
|
+
{label:'上传报告',value:'上传报告'},
|
|
127
|
+
]
|
|
116
128
|
}
|
|
117
129
|
},
|
|
118
130
|
ready () {
|