sale-client 4.3.81 → 4.3.82

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": "sale-client",
3
- "version": "4.3.81",
3
+ "version": "4.3.82",
4
4
  "description": "收费模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -131,7 +131,7 @@
131
131
  <nobr>结束时间</nobr>
132
132
  </th>
133
133
  <th style="text-align: center;" v-show='!$parent.$parent.$parent.$parent.isdetail' >
134
- <nobr>附件查看</nobr>
134
+ <nobr>操作</nobr>
135
135
  </th>
136
136
  </tr>
137
137
  </template>
@@ -145,7 +145,8 @@
145
145
  <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_start_date}}</nobr></td>
146
146
  <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"><nobr>{{row.f_end_date}}</nobr></td>
147
147
  <td v-show='!$parent.$parent.$parent.$parent.isdetail' style="text-align: center;"> <nobr>
148
- <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">查看</button>
148
+ <button class="button_search button_spacing width-60" @click.stop="$parent.$parent.$parent.view(row)">附件查看</button>
149
+ <button v-if="$login.r.includes('移除低保户')" class="button_delete button_spacing width-60" @click.stop="$parent.$parent.$parent.remove(row)">移除</button>
149
150
  </nobr></td>
150
151
  </template>
151
152
  <template partial='foot'></template>
@@ -185,7 +186,7 @@
185
186
  f_orgid: '',
186
187
  criteriaShow: false,
187
188
  clientWidth: document.body.clientWidth,
188
- showupload:false,
189
+ showupload: false,
189
190
  selected: {},
190
191
  basicImport: '',
191
192
  getfield: {
@@ -229,6 +230,16 @@
229
230
  this.selected = row
230
231
  console.log('11', row)
231
232
  },
233
+ remove (row) {
234
+ this.$showMessage('是否确认移除该用户?', ['confirm', 'cancel']).then(res => {
235
+ if (res === 'cancel') {
236
+ } else {
237
+ this.$resetpost('api/af-revenue/logic/removeBasicLiving', {data: row}).then((res)=>{
238
+ this.search()
239
+ })
240
+ }
241
+ })
242
+ },
232
243
  async getRes (condition, obj) {
233
244
  console.log('低保户condition =', condition)
234
245
  console.log('低保户obj =', obj)
package/src/main.js CHANGED
@@ -24,7 +24,7 @@ system(false)
24
24
  sale()
25
25
  address()
26
26
  ldap()
27
- FilialeSale()
27
+ // FilialeSale()
28
28
  require('system-clients/src/styles/less/bootstrap.less')
29
29
 
30
30
  new Vue({