ocpview-plus 1.1.7 → 1.1.9

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": "ocpview-plus",
3
- "version": "1.1.7",
3
+ "version": "1.1.9",
4
4
  "title": "ocpviewPlus",
5
5
  "description": "A high quality Service UI components Library with Vue.js",
6
6
  "homepage": "",
@@ -159,8 +159,8 @@
159
159
  </Row>
160
160
  </Col>
161
161
  </Row>
162
- <Row type="flex" justify="start" align="middle" style="height:42px;border:1px solid #DCDFE6">
163
- <Tag v-for="(item,index) in copy" :key="'tag2_' + index" :name="item.userCode" style="margin-left:8px"> {{item.userName}}</Tag>
162
+ <Row type="flex" justify="start" align="middle" style="height:42px;border:1px solid #DCDFE6">
163
+ <Tag v-for="(item,index) in copy" :key="'tag2_' + index" :name="item.userCode" style="margin-left:8px" closable @on-close="closeCommon(item.userCode,'copy')"> {{item.userName}}</Tag>
164
164
  </Row>
165
165
  </FormItem>
166
166
  <FormItem v-show="false" label="审批:">
@@ -435,7 +435,7 @@ export default {
435
435
  if (this.copy.length > 0) {
436
436
  let cc = [];
437
437
  this.copy.forEach(el => {
438
- cc.push(el.usercode);
438
+ cc.push(el.userCode);
439
439
  });
440
440
  param.cc = cc;
441
441
  }
@@ -444,22 +444,18 @@ export default {
444
444
  let param = {
445
445
  billno: this.value.billno
446
446
  };
447
- this.doCc();
447
+ this.doCc(param);
448
448
  if (this.idea) {
449
449
  param.comment = this.idea;
450
450
  }
451
- this.doPost(
452
- '.billsubmit',
453
- param,
454
- (data) => {
455
- this.showDrawer = false;
456
- this.$nextTick(() =>{
457
- setTimeout(() => {
458
- this.alert(data.msg,null,3);
459
- }, 250);
451
+ this.doPost('.billsubmit', param, (data) => {
452
+ this.showDrawer = false;
453
+ this.$nextTick(() =>{
454
+ setTimeout(() => {
455
+ this.alert(data.msg,null,3);
456
+ }, 250);
457
+ });
460
458
  });
461
- }
462
- );
463
459
  },
464
460
  submitApprove() {
465
461
  this.doPost(
@@ -564,9 +560,15 @@ export default {
564
560
  }
565
561
  let para = {};
566
562
  para.searchValue = this.searchValue;
567
- para.status= [0,1];
563
+ para.status= 1;
568
564
  para.page_size = 999;
569
565
  this.userdata = [];
566
+ para.shopStatus = 1;
567
+ para.usertype = '01';
568
+ let portalMkt = this.getPortalMkt();
569
+ if(portalMkt && portalMkt.shopCode) {
570
+ para.shopCode = this.getPortalMkt().shopCode;
571
+ }
570
572
  let self = this;
571
573
  this.asyncPost(this.OmdUrl.amp, 'usercenter.account.search', para, function (data) {
572
574
  if (data.account) {