apply-clients 7.1.36-yuchuan-34 → 7.1.36-yuchuan-36

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": "7.1.36-yuchuan-34",
3
+ "version": "7.1.36-yuchuan-36",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1092,7 +1092,7 @@ export default {
1092
1092
  };
1093
1093
  },
1094
1094
  getUserRolesname() {
1095
- return this.$login.f.rolesnames.includes("营业厅报装");
1095
+ return this.$login.f.rolesnames.includes("营业厅报装") || this.$login.f.f_department_name.includes("微信");
1096
1096
  },
1097
1097
  },
1098
1098
  };
@@ -475,18 +475,14 @@ export default {
475
475
  },
476
476
  async applyTypeChange () {
477
477
  if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
478
- let res = await this.$resetpost('rs/logic/getDefnameByType',
479
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
480
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
478
+ let http = new HttpResetClass()
479
+ let res = await http.load('POST', 'rs/logic/getDefnameByType', {
480
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type},
481
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
481
482
  )
482
-
483
483
  this.defnames = [{label: '全部', value: ''}, ...res.data]
484
-
485
- // 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}性质`)]
486
484
  } else {
487
485
  this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]
488
-
489
- // this.applyNatures = isEmpty(this.$appdata.getParam('报建性质')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('报建性质')] // 报建性质
490
486
  }
491
487
  },
492
488
  async getDesigner() {
@@ -367,7 +367,7 @@
367
367
  </div>
368
368
  </template>
369
369
  <script>
370
- import {PagedList} from 'vue-client'
370
+ import {HttpResetClass, PagedList} from 'vue-client'
371
371
  import {isEmpty} from '../../Util'
372
372
  export default {
373
373
  title: '勘探详情',
@@ -517,13 +517,12 @@
517
517
  },
518
518
  async applyTypeChange () {
519
519
  if (!isEmpty(this.$refs.cp.$refs.cri.model.f_apply_type)) {
520
- let res = await this.$resetpost('rs/logic/getDefnameByType',
521
- { f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type },
522
- {resolveMsg: null, rejectMsg: '节点信息获取失败!!!'}
520
+ let http = new HttpResetClass()
521
+ let res = await http.load('POST', 'rs/logic/getDefnameByType', {
522
+ f_apply_type: this.$refs.cp.$refs.cri.model.f_apply_type},
523
+ {resolveMsg: null, rejectMsg: '流程标识获取失败!!!'}
523
524
  )
524
-
525
525
  this.defnames = [{label: '全部', value: ''}, ...res.data]
526
-
527
526
  // 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}性质`)]
528
527
  } else {
529
528
  this.defnames = isEmpty(this.$appdata.getParam('办理环节')) ? [{label: '全部', value: ''}] : [{label: '全部', value: ''}, ...this.$appdata.getParam('办理环节')]