centaline-data-driven 1.2.96 → 1.2.97

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": "centaline-data-driven",
3
- "version": "1.2.96",
3
+ "version": "1.2.97",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -25,7 +25,7 @@
25
25
  </div>
26
26
  </div>
27
27
  <div v-if="model.fields1Dic.PropertyDepict" v-html="model.fields1Dic.PropertyDepict.value"
28
- style=" color: rgb(25, 137, 250);font-size: 13px;margin-top: 10px;background: rgb(236, 249, 255);
28
+ style="font-weight: bold;font-size: 13px;margin-top: 10px;background: rgb(236, 249, 255);
29
29
  flex: 1;align-items: center;padding: 5px;border-radius: 5px;">
30
30
  </div>
31
31
  </div>
@@ -168,9 +168,11 @@
168
168
  <div class="contribute-i" v-for="(m, index) in model._commissionList" :key="index">
169
169
  <img :src="m.regEmpImgUrl" alt="图片">
170
170
  <div>
171
- <div class="user-title">{{m.regEmpName}}</div>
172
- <div class="user-title">{{m.commissionPercentDesc}}</div>
173
- <div class="user-but w56">{{m.commissionRole}}</div>
171
+ <div style="display: flex;">
172
+ <div class="user-title" v-html="m.empNameCN"></div>
173
+ <div class="user-title" style="margin-left: 10px;" v-html="m.commissionPercentDesc"></div>
174
+ </div>
175
+ <div class="user-but w56" v-html="m.commissionRoleName"></div>
174
176
  </div>
175
177
  </div>
176
178
  </div>
@@ -6,7 +6,7 @@
6
6
  <div class="alert fade in" role="alert" style="padding:0px;border-bottom:none;display: table-caption;">
7
7
  <button type="button" class="close el-icon-close" style="right:0px;float:right;margin-bottom: 5px;cursor: pointer;" data-dismiss="alert" aria-label="Close" @click="clickHandler">
8
8
  </button>
9
- <video :src="rowData[router.submitFormField]" controls="true" autoplay controlslist="nodownload"
9
+ <video ref="video" :src="rowData[router.submitFormField]" controls="true" autoplay controlslist="nodownload" @timeupdate="saveVoiceHistoryHandler"
10
10
  :height="router.dialogHeight?router.dialogHeight:'40'" :width="router.dialogWidth?router.dialogWidth:'100%'">您的浏览器不支持 video 标签。
11
11
  </video>
12
12
  </div>
@@ -73,6 +73,19 @@
73
73
  else{
74
74
  this.$emit('click', this.router, this.rowData,this.rowindex);
75
75
  }
76
+ },
77
+ saveVoiceHistoryHandler() {
78
+ var self=this;
79
+ if(self.router.action && self.visible){
80
+ var submitData = {};
81
+ self.router.actionField.split(',').forEach((k) => {
82
+ submitData[k] = self.rowData[k];
83
+ });
84
+ submitData.listenSeconds=self.$refs.video.currentTime;
85
+ self.router.doAction(submitData, (data) => {
86
+
87
+ })
88
+ }
76
89
  }
77
90
  }
78
91
  }