telephone-clients 3.0.80 → 3.0.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "telephone-clients",
3
- "version": "3.0.80",
3
+ "version": "3.0.81",
4
4
  "description": "呼叫模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -125,11 +125,7 @@
125
125
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>派单时间:</b></p>
126
126
  <p class="panel-title col-xs-7 text-left input-font" style="width: 79%">{{ row.f_created_date }}</p>
127
127
  </div>
128
- <div class="col-xs-6">
129
- <p class="panel-title col-xs-5 text-left font" style="float: left"><b>派单员:</b></p>
130
- <p class="panel-title col-xs-7 text-left input-font">{{row.f_attendant}} </p>
131
- </div>
132
- <div class="col-xs-6">
128
+ <div class="col-xs-12">
133
129
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户名称:</b></p>
134
130
  <p class="panel-title col-xs-7 text-left input-font">{{ row.f_user_name }}
135
131
  </p>
@@ -138,9 +134,13 @@
138
134
  <p class="panel-title col-xs-5 text-left font" style="width: 21%;float: left"><b>用户地址:</b></p>
139
135
  <p class="panel-title col-xs-7 text-left input-font">{{ row.f_address }} &nbsp;&nbsp; {{row.f_contact_name}} </p>
140
136
  </div>
137
+ <div class="col-xs-6">
138
+ <p class="panel-title col-xs-5 text-left font" style="float: left"><b>派单员:</b></p>
139
+ <p class="panel-title col-xs-7 text-left input-font">{{row.f_attendant}} </p>
140
+ </div>
141
141
  <div class="col-xs-12">
142
- <failure-show :value='row.failure'>
143
- </failure-show>
142
+ <p class="panel-title col-xs-5 text-left font" style="float: left"><b>故障明细:</b></p>
143
+ <p class="panel-title col-xs-7 text-left input-font">{{$parent.$parent.$parent.getfailure(row.failure)}} </p>
144
144
  </div>
145
145
  <div class="col-xs-12">
146
146
  <button type="button" name="button" class="btn btn-primary" style="background-color:#499edf;float: right" @click="$parent.$parent.$parent.inspect(row)">接单</button>
@@ -184,13 +184,30 @@ export default {
184
184
 
185
185
  },
186
186
  methods: {
187
+ getfailure(val){
188
+ if (val) {
189
+ var result = ''
190
+ // 把字符串转换成故障列表对象
191
+ var array = JSON.parse(val)
192
+ if(Array.isArray(array)) {
193
+ array.forEach((value) => {
194
+ result += value.f_failure_type + ':'
195
+ value.failurecase.forEach((failure) => {
196
+ result += failure + ' '
197
+ })
198
+ result += ';'
199
+ })
200
+ }
201
+ return result
202
+ }
203
+ },
187
204
  search (args) {
188
205
  //tag
189
206
  //tag
190
207
  let data = {}
191
208
  data.condition = this.$refs.paged.$refs.cri.condition?this.$refs.paged.$refs.cri.condition:'1=1'
192
209
  data.condition += " "+"and f_workorder_type like '%报修单%'";
193
- data.condition += " "+`and f_orgid = '${Vue.user.orgid}'`;
210
+ data.condition += " "+`and f_filiale_id = '${Vue.user.orgid}'`;
194
211
  data.sign = this.$refs.paged.$refs.cri.select ? `defname = '${this.$refs.paged.$refs.cri.select.defname[0]}'`:'1=1'
195
212
  this.searchData.condition = data
196
213
  this.searchData = Object.assign(this.searchData,args.model)
@@ -0,0 +1,6 @@
1
+ # 配置说明
2
+ 所有关于呼叫工单模块功能得配置
3
+
4
+ ## 3.0.80 - 2023-07-20 @ 文明
5
+ - 咨询单、投诉单,派发方式选择框,由单值 咨询投诉处理方式 : 是
6
+