centaline-data-driven 1.3.56 → 1.3.59

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.
@@ -7,13 +7,13 @@
7
7
  </video>
8
8
  </div>
9
9
  <div v-else-if="router.isListenVoice">
10
- <el-popover class="Stats-popover" :popper-class="'el-listenVoice'+rowindex" :placement="option.placement?option.placement:'left'"
10
+ <el-popover class="Stats-popover" :popper-class="'el-listenVoice'" :placement="option.placement?option.placement:'left'"
11
11
  v-model="visible" :trigger="option.trigger?option.trigger:''" style="margin:0px;">
12
12
  <div class="alert fade in" role="alert" style="padding:0px;border-bottom:none;display: table-caption;">
13
13
  <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">
14
14
  </button>
15
- <video ref="video" :src="rowData[router.submitFormField]" controls="true" controlslist="nodownload" @timeupdate="saveVoiceHistoryHandler"
16
- @ended="voiceEndedHandler"
15
+ <video ref="video" :src="rowData[router.submitFormField]" controls="true" controlslist="nodownload"
16
+ @timeupdate="saveVoiceHistoryHandler" @ended="voiceEndedHandler"
17
17
  :height="router.dialogHeight?router.dialogHeight:'40'" :width="router.dialogWidth?router.dialogWidth:'100%'">您的浏览器不支持 video 标签。
18
18
  </video>
19
19
  </div>
@@ -80,12 +80,20 @@
80
80
  methods: {
81
81
  clickHandler(ev) {
82
82
  if(this.router.isListenVoice){
83
+ if(this.visible){
84
+ this.$refs.video.pause();
85
+ }
83
86
  this.visible=!this.visible;
87
+ this.$emit('click', this.router, this.rowData,this.rowindex,this.visible);
84
88
  }
85
89
  else{
86
90
  this.$emit('click', this.router, this.rowData,this.rowindex);
87
91
  }
88
92
  },
93
+ closeListenVoice() {
94
+ this.$refs.video.pause();
95
+ this.visible=false;
96
+ },
89
97
  saveVoiceHistoryHandler() {
90
98
  var self=this;
91
99
  if(self.router.action && (self.visible || self.isShowVoice)){
package/src/main.js CHANGED
@@ -12,7 +12,7 @@ Vue.use(ElementUI, { size: 'mini'});
12
12
  // 关闭生产模式下给出的提示
13
13
  Vue.config.productionTip = false;
14
14
  Vue.use(centaline, {
15
- baseUrl: "http://10.88.22.46:7070/v1/form/router",
15
+ baseUrl: "http://10.88.22.13:7070/v1/form/router",
16
16
  // baseUrl: "http://10.88.23.25:9999/v1/form/router",
17
17
  // baseUrl: "http://10.88.22.40:8080/",
18
18
  // baseUrl: "http://tjcptest.centaline.com.cn/",
@@ -42,7 +42,7 @@ Vue.use(centaline, {
42
42
  getRequestHeaders: function () {
43
43
  return {
44
44
  oldToken: '77791819-ac7d-4a5d-bd16-5278b9f0b5d7',
45
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjsOgzAQRO-yNSt58Xpt6BJDmhwCATYSqSI-UqIod4-jQEefV4xGr5l5wbx2UILdwIPYaYoNPIidhogLS1LjqbAeWVijI-_Qs3i-VLX25woyiI87lCRCbNnYPIOxXX5CO0dfsc5xusbnP87dljHN6hCCUkGhtDxg-tljF1MzuTJ5P3RGWoL3BwAA__8.FzLOuskp7kNb-SJX74wAXbH9D0zkINhgIIGiew1y8XU',
45
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEOgkAQRP9lazZhub3dOzo9sPEjyAFngpURSDTGfxcjdPS-4hWTTGZeMM4tlKAruKONxq_gjjYaIvZKUuPBa0AWNugoOAwsgU9VbcKxggzS4wYliZA3yjlnMMTpFzhL-TeYx3Q_p-c_zl2nYZkVTX2h0WDXakTO-wLdxdul4anrbexsEnh_AAAA__8.MEtSxad4sPrz3kQNLxWCgE6EQtonJes5uYAZ_QZYDTU',
46
46
  originalRequestURL: 'http://10.88.22.67:8080',
47
47
  EstateInfo: '{"estateId":"201703020943128D8A8FCF463E4016D6","estateName":"%E4%B8%87%E7%A7%91%E4%BA%91%E5%9F%8E"}',
48
48
  estateId: '20210729104021C49F04B55C50F6AF58',