system-clients 3.1.83-xianyang → 3.1.84-xianyang
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
@@ -58,21 +58,18 @@
|
|
58
58
|
<th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">设备类型</th>
|
59
59
|
<th style="text-align:center;white-space:nowrap;">设备名称</th>
|
60
60
|
<th style="text-align:center;white-space:nowrap;">所属公司</th>
|
61
|
-
<!-- <th style="text-align:center;white-space:nowrap;">所属部门</th>-->
|
62
|
-
<!-- <th style="text-align:center;white-space:nowrap;">所属人员</th>-->
|
63
61
|
<th style="text-align:center;white-space:nowrap;">状态</th>
|
64
62
|
<th style="text-align:center;white-space:nowrap;">机器编号</th>
|
65
63
|
<th style="text-align:center;white-space:nowrap;">联系电话</th>
|
66
64
|
<th style="text-align:center;white-space:nowrap;">所在地</th>
|
67
|
-
<!-- <th style="text-align:center;white-space:nowrap;"
|
68
|
-
<th style="text-align:center;white-space:nowrap;"
|
69
|
-
<th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless"
|
70
|
-
<th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">更新时间</th>
|
65
|
+
<!-- <th style="text-align:center;white-space:nowrap;">电池电量</th>-->
|
66
|
+
<!-- <th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">是否登录</th>-->
|
67
|
+
<!-- <th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">更新时间</th>-->
|
71
68
|
<th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">操作时间</th>
|
72
|
-
<th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">软件版本</th
|
73
|
-
<!-- <th style="text-align:center;white-space:nowrap;">使用人员</th>-->
|
69
|
+
<!-- <th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">软件版本</th>-->
|
74
70
|
<th style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">操作人</th>
|
75
71
|
<th style="text-align:center;white-space:nowrap;">失联状态</th>
|
72
|
+
<th style="text-align:center;white-space:nowrap;">操作</th>
|
76
73
|
</tr>
|
77
74
|
</template>
|
78
75
|
<template partial='body':model="model">
|
@@ -83,22 +80,18 @@
|
|
83
80
|
<td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_equipment_type}}</td>
|
84
81
|
<td style="text-align:center;white-space:nowrap;">{{row.f_terminal_name}}</td>
|
85
82
|
<td style="text-align:center;white-space:nowrap;">{{row.f_user_orgname}}</td>
|
86
|
-
<!-- <td style="text-align:center;white-space:nowrap;">{{row.f_depname}}</td>-->
|
87
|
-
<!-- <td style="text-align:center;white-space:nowrap;">{{row.f_operator}}</td>-->
|
88
|
-
|
89
83
|
<td style="text-align:center;white-space:nowrap;">{{row.f_state}}</td>
|
90
84
|
<td style="text-align:center;white-space:nowrap;">{{row.f_machine_number}}</td>
|
91
85
|
<td style="text-align:center;white-space:nowrap;">{{row.f_phone}}</td>
|
92
86
|
<td style="text-align:center;white-space:nowrap;">{{row.f_address}}</td>
|
93
|
-
<!-- <td style="text-align:center;white-space:nowrap;">{{row.
|
94
|
-
<td style="text-align:center;white-space:nowrap;">{{row.
|
95
|
-
<td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.
|
96
|
-
<td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_hybrid_version}}</td>
|
87
|
+
<!-- <td style="text-align:center;white-space:nowrap;">{{row.f_battery_level}}</td>-->
|
88
|
+
<!-- <td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_is_login}}</td>-->
|
89
|
+
<!-- <td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_hybrid_version}}</td>-->
|
97
90
|
<td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_operate_date}}</td>
|
98
|
-
<td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_appVer}}</td
|
99
|
-
<!-- <td style="text-align:center;white-space:nowrap;" >{{row.f_username}}</td>-->
|
91
|
+
<!-- <td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_appVer}}</td>-->
|
100
92
|
<td style="text-align:center;white-space:nowrap;" v-show="!$parent.$parent.$parent.isshowless">{{row.f_operator}}</td>
|
101
|
-
<td style="text-align:center;white-space:nowrap;" >{{row.
|
93
|
+
<td style="text-align:center;white-space:nowrap;" >{{row.f_online}}</td>
|
94
|
+
<td style="text-align:center;white-space:nowrap;" ><button class="btn btn-danger" @click="$parent.$parent.$parent.delQc(row)">删除</button></td>
|
102
95
|
</tr>
|
103
96
|
</template>
|
104
97
|
</data-grid>
|
@@ -110,10 +103,6 @@
|
|
110
103
|
<data-grid :model="model2" v-ref:grid2 partial='list'>
|
111
104
|
<template partial='head'>
|
112
105
|
<tr>
|
113
|
-
<!--<th style="padding: 0;border: 0">
|
114
|
-
<input type="checkbox" id="f_operator" v-model="$parent.$parent.$parent.all[model.pageIndex-1]"
|
115
|
-
@change="$parent.$parent.$parent.select()" style="width: 22px;height: 22px"/>
|
116
|
-
</th>-->
|
117
106
|
<th><nobr>序号</nobr></th>
|
118
107
|
<th><nobr>终端号</nobr></th>
|
119
108
|
<th><nobr>上次上报时间</nobr></th>
|
@@ -177,6 +166,19 @@
|
|
177
166
|
}
|
178
167
|
},
|
179
168
|
methods: {
|
169
|
+
delQc(row){
|
170
|
+
this.$showMessage('删除之后不可回复,确定要删除该圈存机吗?', ['confirm', 'cancel']).then(async (res) => {
|
171
|
+
if (res == 'confirm') {
|
172
|
+
console.log('要删除了', row)
|
173
|
+
row.f_state = '已删除'
|
174
|
+
this.$resetpost('rs/entity/t_equipment', row, {warnMsg: '确定要删除这条信息吗?', resolveMsg: '删除成功', rejectMsg: '删除失败'}).then((res) => {
|
175
|
+
this.$dispatch('refresh')
|
176
|
+
}).catch((error) => {
|
177
|
+
this.$dispatch('refresh')
|
178
|
+
})
|
179
|
+
}
|
180
|
+
})
|
181
|
+
},
|
180
182
|
getRes(val){
|
181
183
|
if (val.orgobj.length === 1 && val.orgobj[0].resourcetype === 'user'){
|
182
184
|
this.$refs.paged.$refs.cri.model.f_user_operatorid=val.orgobj[0].userid
|
@@ -202,6 +204,7 @@
|
|
202
204
|
|
203
205
|
selfSearch (args) {
|
204
206
|
args.condition = `${args.condition} and f_equipment_type = '圈存机' and f_orgid = '${this.f_filialeid ? this.f_orgid: this.$login.f.orgid}'`
|
207
|
+
// args.condition = `${args.condition} and f_equipment_type = '圈存机' and f_state !='已删除' and f_orgid = '${this.f_filialeid ? this.f_orgid: this.$login.f.orgid}'`
|
205
208
|
this.model.search(args.condition, this.model)
|
206
209
|
this.$dispatch('research')
|
207
210
|
},
|