cloud-web-corejs 1.0.54-dev.737 → 1.0.54-dev.738

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,7 +1,7 @@
1
1
  {
2
2
  "name": "cloud-web-corejs",
3
3
  "private": false,
4
- "version": "1.0.54-dev.737",
4
+ "version": "1.0.54-dev.738",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -298,6 +298,7 @@ actions = {
298
298
  return new Promise((resolve, reject) => {
299
299
  configUtil.logout({
300
300
  success: (res) => {
301
+ let ssoLogin = sessionStorage.getItem("ssoLogin");
301
302
  actions
302
303
  .resetToken({
303
304
  commit,
@@ -305,6 +306,9 @@ actions = {
305
306
  dispatch,
306
307
  })
307
308
  .then(() => {
309
+ if(ssoLogin==="true"){
310
+ sessionStorage.setItem("ssoLogin", "true");
311
+ }
308
312
  resolve();
309
313
  });
310
314
  },
@@ -35,6 +35,14 @@
35
35
  v-if="isDev && menuKindAuth.addAuth === 1"
36
36
  >{{ $t1("新增") }}
37
37
  </vxe-button>
38
+ <vxe-button
39
+ status="success"
40
+ class="button-sty"
41
+ icon="el-icon-upload2"
42
+ @click="jsonExport"
43
+ v-if="isDev && menuKindAuth.exportAuth === 1"
44
+ >{{ $t1("导出发布") }}
45
+ </vxe-button>
38
46
  <projectTagAddButton
39
47
  :option="addProjectTagOption"
40
48
  v-if="isDev && menuKindAuth.editAuth === 1"
@@ -91,6 +91,14 @@ modules = {
91
91
  this.checkTags = [];
92
92
  this.$refs["table-m1"].commitProxy("reload");
93
93
  },
94
+ jsonExport() {
95
+ this.$jsonExport({
96
+ title: "表单脚本",
97
+ targetRef: "table-m1",
98
+ url: USER_PREFIX + "/form_develop/exportFormScript",
99
+ abcEnabled: true,
100
+ });
101
+ },
94
102
  openEditDialog(row) {
95
103
  /*this.dataId = !id || typeof id === 'object' ? 0 : id;
96
104
  this.activeName = 'first';