apply-clients 3.1.51 → 3.1.52
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
|
@@ -121,8 +121,9 @@
|
|
|
121
121
|
</criteria>
|
|
122
122
|
<data-grid :model="model" partial='list' v-ref:grid class="list_area table_sy">
|
|
123
123
|
<template partial='head'>
|
|
124
|
-
<tr
|
|
124
|
+
<tr>
|
|
125
125
|
<th>序号</th>
|
|
126
|
+
<th><div style="width:80px">流程操作</div></th>
|
|
126
127
|
<th>报建编号</th>
|
|
127
128
|
<th>当前环节</th>
|
|
128
129
|
<th>客户名称/联系人</th>
|
|
@@ -131,7 +132,6 @@
|
|
|
131
132
|
<th>地址</th>
|
|
132
133
|
<th>报建类型</th>
|
|
133
134
|
<th>报建日期</th>
|
|
134
|
-
<th>操作</th>
|
|
135
135
|
</tr>
|
|
136
136
|
</template>
|
|
137
137
|
<template partial='body'>
|
|
@@ -139,6 +139,18 @@
|
|
|
139
139
|
<td style="text-align: center;">
|
|
140
140
|
<nobr>{{$index+1}}</nobr>
|
|
141
141
|
</td>
|
|
142
|
+
<td style="text-align: center;">
|
|
143
|
+
<dropdown>
|
|
144
|
+
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
145
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
146
|
+
</button>
|
|
147
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
148
|
+
<li v-for="(index,func) in $parent.$parent.$parent.funcs">
|
|
149
|
+
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
150
|
+
</li>
|
|
151
|
+
</ul>
|
|
152
|
+
</dropdown>
|
|
153
|
+
</td>
|
|
142
154
|
<td style="text-align: center;">
|
|
143
155
|
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
144
156
|
</td>
|
|
@@ -163,18 +175,6 @@
|
|
|
163
175
|
<td style="text-align: center;">
|
|
164
176
|
<nobr>{{row.f_apply_date}}</nobr>
|
|
165
177
|
</td>
|
|
166
|
-
<td style="text-align: center;">
|
|
167
|
-
<dropdown>
|
|
168
|
-
<button @click="$parent.$parent.$parent.checkfuncs(row)" type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
169
|
-
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
170
|
-
</button>
|
|
171
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
172
|
-
<li v-for="(index,func) in $parent.$parent.$parent.funcs">
|
|
173
|
-
<a href="#" @click="$parent.$parent.$parent.$parent.func(func,row)">{{func.title}}</a>
|
|
174
|
-
</li>
|
|
175
|
-
</ul>
|
|
176
|
-
</dropdown>
|
|
177
|
-
</td>
|
|
178
178
|
</tr>
|
|
179
179
|
</template>
|
|
180
180
|
</data-grid>
|
|
@@ -124,6 +124,7 @@
|
|
|
124
124
|
<template partial='head'>
|
|
125
125
|
<tr>
|
|
126
126
|
<th>序号</th>
|
|
127
|
+
<th>流程操作</th>
|
|
127
128
|
<th>报建编号</th>
|
|
128
129
|
<th>客户名称/联系人</th>
|
|
129
130
|
<th>当前状态</th>
|
|
@@ -133,7 +134,6 @@
|
|
|
133
134
|
<th>地址</th>
|
|
134
135
|
<th>报建类型</th>
|
|
135
136
|
<th>报建日期</th>
|
|
136
|
-
<th>操作</th>
|
|
137
137
|
</tr>
|
|
138
138
|
</template>
|
|
139
139
|
<template partial='body'>
|
|
@@ -141,6 +141,18 @@
|
|
|
141
141
|
<td style="text-align: center;">
|
|
142
142
|
<nobr><font>{{$index+1}}</font></nobr>
|
|
143
143
|
</td>
|
|
144
|
+
<td style="text-align: center;">
|
|
145
|
+
<dropdown>
|
|
146
|
+
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
147
|
+
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
148
|
+
</button>
|
|
149
|
+
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
150
|
+
<li>
|
|
151
|
+
<a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
|
|
152
|
+
</li>
|
|
153
|
+
</ul>
|
|
154
|
+
</dropdown>
|
|
155
|
+
</td>
|
|
144
156
|
<td style="text-align: center;">
|
|
145
157
|
<nobr><font>{{row.f_apply_num}}</font></nobr>
|
|
146
158
|
</td>
|
|
@@ -168,18 +180,6 @@
|
|
|
168
180
|
<td style="text-align: center;">
|
|
169
181
|
<nobr><font>{{row.f_apply_date}}</font></nobr>
|
|
170
182
|
</td>
|
|
171
|
-
<td style="text-align: center;">
|
|
172
|
-
<dropdown>
|
|
173
|
-
<button type="button" data-toggle="dropdown" style="border: 0px;background: none;">
|
|
174
|
-
<span class="glyphicon glyphicon-th-list" style="position: inherit;"></span>
|
|
175
|
-
</button>
|
|
176
|
-
<ul slot="dropdown-menu" class="dropdown-menu dropdown-menu-right">
|
|
177
|
-
<li>
|
|
178
|
-
<a href="#" @click="$parent.$parent.$parent.click(row)">{{row.defname}}</a>
|
|
179
|
-
</li>
|
|
180
|
-
</ul>
|
|
181
|
-
</dropdown>
|
|
182
|
-
</td>
|
|
183
183
|
</tr>
|
|
184
184
|
</template>
|
|
185
185
|
</data-grid>
|
|
@@ -1488,26 +1488,27 @@
|
|
|
1488
1488
|
// }
|
|
1489
1489
|
// })
|
|
1490
1490
|
let http = new HttpResetClass()
|
|
1491
|
-
|
|
1491
|
+
await http.load('POST', 'rs/logic/recordImport', data, {
|
|
1492
1492
|
resolveMsg: null,
|
|
1493
1493
|
rejectMsg: '导入失败'
|
|
1494
|
-
})
|
|
1495
|
-
if(
|
|
1496
|
-
this.iswork
|
|
1494
|
+
}).then((res) => {
|
|
1495
|
+
if(res.data){
|
|
1496
|
+
this.iswork=false;
|
|
1497
1497
|
this.load();
|
|
1498
1498
|
this.closeFile();
|
|
1499
1499
|
let mm = '';
|
|
1500
|
-
for
|
|
1501
|
-
mm
|
|
1500
|
+
for(var i=0;i<res.data.msg.length;i++){
|
|
1501
|
+
mm+= `${res.data.msg[i].msg}`
|
|
1502
1502
|
}
|
|
1503
|
-
let msg = `共导入${
|
|
1504
|
-
if (
|
|
1505
|
-
this.iswork
|
|
1506
|
-
msg =
|
|
1503
|
+
let msg = `共导入${res.data.alllength}条,失败${res.data.errorlen}条,失败信息:${mm}`
|
|
1504
|
+
if (res.data.code == 500) {
|
|
1505
|
+
this.iswork=false;
|
|
1506
|
+
msg = res.data.msg
|
|
1507
1507
|
}
|
|
1508
1508
|
console.log("返回的数据:" + JSON.stringify(res.data))
|
|
1509
1509
|
this.$showMessage(msg)
|
|
1510
1510
|
}
|
|
1511
|
+
})
|
|
1511
1512
|
// }catch(e){
|
|
1512
1513
|
//
|
|
1513
1514
|
// this.$showAlert('导入出错,请检查导入文件模板格式!','danger',2000);
|
|
@@ -1532,26 +1533,27 @@
|
|
|
1532
1533
|
};
|
|
1533
1534
|
console.log('即将转发的数据',data);
|
|
1534
1535
|
let http = new HttpResetClass()
|
|
1535
|
-
|
|
1536
|
+
await http.load('POST', 'rs/logic/incrementImport', data, {
|
|
1536
1537
|
resolveMsg: null,
|
|
1537
1538
|
rejectMsg: '导入失败'
|
|
1538
|
-
})
|
|
1539
|
-
if(
|
|
1539
|
+
}).then((res) => {
|
|
1540
|
+
if(res.data){
|
|
1540
1541
|
this.iswork=false;
|
|
1541
1542
|
this.load();
|
|
1542
1543
|
this.closeFile();
|
|
1543
1544
|
let mm = '';
|
|
1544
|
-
for(var i=0;i<
|
|
1545
|
-
mm+= `${
|
|
1545
|
+
for(var i=0;i<res.data.msg.length;i++){
|
|
1546
|
+
mm+= `${res.data.msg[i].msg}`
|
|
1546
1547
|
}
|
|
1547
|
-
let msg = `共导入${
|
|
1548
|
-
if (
|
|
1548
|
+
let msg = `共导入${res.data.alllength}条,失败${res.data.errorlen}条,失败信息:${mm}`
|
|
1549
|
+
if (res.data.code == 500) {
|
|
1549
1550
|
this.iswork=false;
|
|
1550
|
-
msg =
|
|
1551
|
+
msg = res.data.msg
|
|
1551
1552
|
}
|
|
1552
|
-
console.log("返回的数据:" + JSON.stringify(
|
|
1553
|
+
console.log("返回的数据:" + JSON.stringify(res.data))
|
|
1553
1554
|
this.$showMessage(msg)
|
|
1554
1555
|
}
|
|
1556
|
+
})
|
|
1555
1557
|
// try{
|
|
1556
1558
|
// await axios.post('rs/logic/incrementImport',
|
|
1557
1559
|
// data).then((res)=>{
|