apply-clients 4.1.75 → 4.1.76

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": "4.1.75",
3
+ "version": "4.1.76",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -95,7 +95,7 @@
95
95
  "system-clients": "3.1.87",
96
96
  "system-phone": "1.1.18",
97
97
  "url-loader": "^0.5.7",
98
- "vue-client": "1.23.10",
98
+ "vue-client": "1.24.39",
99
99
  "vue-hot-reload-api": "^1.2.0",
100
100
  "vue-html-loader": "^1.0.0",
101
101
  "vue-loader": "^8.2.1",
@@ -17,7 +17,7 @@
17
17
  </div>
18
18
  <div class="form-group col-sm-5 button-range">
19
19
  <button class="button_new button_spacing" style="width: max-content"
20
- v-if="this.$login.f.rolesnames.indexOf('市场部报装') !== -1 || this.$login.f.rolesnames.indexOf('工程部报装') !== -1"
20
+ v-if="$parent.$parent.projectStart"
21
21
  @click="$parent.$parent.showModal = !$parent.$parent.showModal">工程发起</button>
22
22
  <button class="button_search button_spacing" @click="$parent.$parent.search()" v-el:cx>查询</button>
23
23
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
@@ -322,6 +322,9 @@
322
322
  }
323
323
  },
324
324
  computed: {
325
+ projectStart () {
326
+ return this.$login.r.includes('报建发起')
327
+ }
325
328
  },
326
329
  watch: {
327
330
  'model.rows': {
@@ -73,7 +73,7 @@
73
73
  type="button"
74
74
  name="button"
75
75
  class="btn btn-link"
76
- :disabled="$parent.$parent.mark === 1 || row.f_charging_status === '作废'"
76
+ :disabled="$parent.$parent.mark === 1 || row.f_charge_status === '作废'"
77
77
  @click="$parent.$parent.showInvalidModal(row)"
78
78
  >作废</button>
79
79
 
@@ -542,6 +542,14 @@ export default {
542
542
  }))
543
543
  },
544
544
  async buttonBefore(model) {
545
+ if (model.defname === '报建登记' && model.button.button_name === '提交') {
546
+
547
+ if (model.f_is_user === '是') {
548
+ if (isEmpty(model.f_user_name) || isEmpty(model.f_phone) || isEmpty(model.f_address)) {
549
+ throw '用户信息未填写完整,无法提交!!!'
550
+ }
551
+ }
552
+ }
545
553
  if (
546
554
  model.button.button_name === '提交' &&
547
555
  model.defname === '收费' &&
@@ -521,7 +521,7 @@
521
521
  }
522
522
  }
523
523
  // 任何选择框只要是否都不能提交
524
- if (item.type === 'select' && item.value === '否' && item.disabledButton) {
524
+ if (item.type === 'select' && (item.value === '否' || item.value === '未开工') && item.disabledButton) {
525
525
  flag = true
526
526
  }
527
527
  }
@@ -202,7 +202,7 @@ export default {
202
202
  }),
203
203
  curorgid: [this.$login.f.orgid],
204
204
  applytype: [{label: '全部', value: ''}, ...this.$appdata.getParam('报建类型')],
205
- defnames: [{label: '全部', value: ''}], // 流程节点
205
+ defnames: [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')], // 流程节点
206
206
  applyNatures: [{label: '全部', value: ''}], // 报建性质
207
207
  criteriaShow: false
208
208
  }
@@ -232,7 +232,7 @@ export default {
232
232
 
233
233
  this.applyNatures = isEmpty(this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam(`${this.$refs.cp.$refs.cri.model.f_apply_type}性质`)]
234
234
  } else {
235
- this.defnames = [{label: '全部', value: ''}]
235
+ this.defnames = [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
236
236
 
237
237
  this.applyNatures = [{label: '全部', value: ''}]
238
238
  }