centaline-data-driven 1.4.5 → 1.4.6

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.4.5",
3
+ "version": "1.4.6",
4
4
  "description": "ccai",
5
5
  "author": "hjc <3226136347@qq.com>",
6
6
  "private": false,
@@ -1,9 +1,9 @@
1
1
  <template>
2
2
  <div class="ct-comfirm-content max-comfirm-content">
3
- <div style="margin-top: 15px;margin-bottom: 15px;min-width: 150px;text-align: center;">
4
- <span>{{text}}</span>
3
+ <div style="margin-top: 15px;margin-bottom: 15px;min-width: 150px;text-align: center; display: flex; justify-content: center;">
4
+ <div style="text-align: left;">{{text}}</div>
5
5
  </div>
6
- <div style="text-align:center;width:100%">
6
+ <div style="text-align:center;width:100%;margin-bottom: 15px;">
7
7
  <el-button @click="clickHandler($event,true)" type="primary" size="mini">{{options.confirmButtonText||'确定'}}</el-button>
8
8
  <el-button v-if="options.flagShowcCancelButton===undefined || options.flagShowcCancelButton==='1'" @click="clickHandler($event,false)" size="mini">{{options.cancelButtonText||'取消'}}</el-button>
9
9
  </div>
@@ -247,7 +247,7 @@ const common = {
247
247
  options: options,
248
248
  text: message,
249
249
  width: '400px',
250
- height: '95px'
250
+ height: 'auto'
251
251
  },
252
252
  on: {
253
253
  access() {
@@ -789,7 +789,7 @@ html {
789
789
  min-width: initial;
790
790
  }
791
791
 
792
- .el-message__content{
792
+ .el-message__content,.ct-comfirm-content{
793
793
  white-space: pre-line;
794
794
  line-height: 20px!important;
795
795
  }
@@ -13,7 +13,7 @@ async function postFile(api, data, callback) {
13
13
 
14
14
  //分片上传
15
15
  const uploadByPieces = async (url, { file }, callback, uploadOptions) => {
16
- var uploadData = { blockSize: 5 * 1024 * 1024, nextOffSet: 0 };
16
+ var uploadData = { blockSize: 0.5 * 1024 * 1024, nextOffSet: 0 };
17
17
  // 获取当前chunk数据
18
18
  const getChunkInfo = (file, data) => {
19
19
  let start = data.nextOffSet;
package/src/main.js CHANGED
@@ -43,7 +43,7 @@ Vue.use(centaline, {
43
43
  getRequestHeaders: function () {
44
44
  return {
45
45
  oldToken: '854e91e2-3a5e-42af-a522-c51a0f5c09bc',
46
- token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjrEKg0AQRP9laxdcXXfv7OJpmnyEeGQFU4WokBDy7zFwdvZ5xSuGgZk3zGuEGjSBB9rpfQIPtNMTsVeSDk9eA7JwiY6Cw8AS-Nx2ZWhayMCed6hJRJ3Tgn0G07CkIM_dL1hne1zs9Y9zt2XaZn2lZcxpxGEsqq3sGH0sBiS6morZGMXg8wUAAP__.pRHigsL1V-LoAhchjSKQEXLI9EJv4RKjXEm6tliOaqk',
46
+ token:'aplus eyJhbGciOiJIUzI1NiIsInppcCI6IkRFRiJ9.eNrEjjEOgkAQRe8yNZMwMDszSycLNh6CuGFJsDICicZ4dzVCR-8rXvGa_58wLREq0BXc0UbnV3BHGx0ReyVp8eA1IAuXaBQMA0vgY9OWoW4gg3S_QkUi6p0WuWYwnudfMM3tG5Yp3U7p8Y9zl3n8zBIPYs4bRjcocuEMPYkh5cZ9ZNeXHOH1BgAA__8.J4WTk1z7IsB5k_3a-fvnnjm6AUgGBRi7Y631pFLVCPo',
47
47
 
48
48
  originalRequestURL: 'http://10.88.22.67:8080',
49
49
  EstateInfo: '{"estateId":"FAF029E8-EC28-4297-83CF-B8FFD826DB91","estateName":"AABBCC"}',