apply-clients 3.5.5-4 → 3.5.5-5

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": "apply-clients",
3
- "version": "3.5.5-4",
3
+ "version": "3.5.5-5",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,7 +1,7 @@
1
1
  <template>
2
2
  <div>
3
3
  <div class="col-sm-12 col-xs-12 form-group app-btn">
4
- <button class="btn btn-info" @click.prevent="showCharge = true">收费</button>
4
+ <button v-show="Vue.user.f_role_name.includes('报建收费')" class="btn btn-info" @click.prevent="showCharge = true">收费</button>
5
5
  </div>
6
6
  <div class="col-sm-12 col-xs-12">
7
7
  <list :model="model" partial='list'>
@@ -48,7 +48,7 @@
48
48
  <p class="col-xs-8 text-left input-font">{{ row.f_confirm_date }}</p>
49
49
  </div>
50
50
  <div class="row">
51
- <button v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && $parent.$parent.isEmpty1(row.f_confirm_person)" style="background-color:#499edf;float: right" class="btn btn-info" @click="$parent.$parent.showConfirmModal(row)">确认收款</button>
51
+ <button v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && $parent.$parent.isEmpty1(row.f_confirm_person)&& Vue.user.f_role_name.includes('确认收款')" style="background-color:#499edf;float: right" class="btn btn-info" @click="$parent.$parent.showConfirmModal(row)">确认收款</button>
52
52
  </div>
53
53
  </div>
54
54
  </div>
@@ -5,6 +5,7 @@
5
5
  <tr>
6
6
  <th class="textNoLineBreak">
7
7
  <button
8
+ v-show="$parent.$parent.$login.f.f_role_name.includes('报建收费')"
8
9
  type="button"
9
10
  class="btn btn-info head-but"
10
11
  @click="$parent.$parent.showChargeModal()"
@@ -39,7 +40,7 @@
39
40
  <template partial='body'>
40
41
  <tr>
41
42
  <td style="text-align: center;">
42
- <nobr v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && row.f_confirm_person==null">
43
+ <nobr v-if="row.f_charge_status !== '退款'&& row.f_charge_status !== '作废' && row.f_confirm_person==null && $parent.$parent.$login.f.f_role_name.includes('确认收款')">
43
44
  <button
44
45
  type="button"
45
46
  name="button"
@@ -49,14 +50,14 @@
49
50
  >确认收款</button>
50
51
  </nobr>
51
52
  <nobr v-if="row.f_charge_status !== '退款'">
52
- <button
53
+ <button v-show="$parent.$parent.$login.f.f_role_name.includes('报建作废')"
53
54
  type="button"
54
55
  name="button"
55
56
  class="btn btn-link"
56
57
  :disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废' || row.f_back_state==='已退费'"
57
58
  @click="$parent.$parent.showInvalidModal(row)"
58
59
  >作废</button>
59
- <button
60
+ <button v-show="$parent.$parent.$login.f.f_role_name.includes('报建退费')"
60
61
  type="button"
61
62
  name="button"
62
63
  class="btn btn-link"