@gonsin/gview 1.0.1-alpha.0 → 1.0.1-alpha.1

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/babel.config.js CHANGED
@@ -1,5 +1,6 @@
1
1
  module.exports = {
2
2
  presets: [
3
3
  '@vue/app'
4
- ]
4
+ ],
5
+
5
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gonsin/gview",
3
- "version": "1.0.1-alpha.0",
3
+ "version": "1.0.1-alpha.1",
4
4
  "main": "src/index.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -14,8 +14,6 @@
14
14
  "moment": "^2.29.4",
15
15
  "mustache": "^4.2.0",
16
16
  "vue": "^2.6.10",
17
- "vue-qr": "^4.0.9",
18
- "vue-quill-editor": "^3.0.6",
19
17
  "vue-router": "^3.5.3",
20
18
  "vuex": "^3.6.2"
21
19
  },
@@ -1,7 +1,7 @@
1
1
  <!--
2
2
  * @Author: your name
3
3
  * @Date: 2022-04-24 14:22:27
4
- * @LastEditTime: 2022-11-22 16:36:34
4
+ * @LastEditTime: 2022-12-01 11:26:20
5
5
  * @LastEditors: lrm lrm@gonsin.cn
6
6
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
7
7
  * @FilePath: \client\src\components\MyForm.vue
@@ -138,10 +138,10 @@
138
138
  :isShowCheckBox="true"
139
139
  @resetData="treeCheckBoxReset"
140
140
  ></myFormTree>
141
- <myFormUeditor
141
+ <!-- <myFormUeditor
142
142
  v-if="items.itemType == 'rich_text' && isShowByFinishDom"
143
143
  :value.sync="form[items.keyName]"
144
- ></myFormUeditor>
144
+ ></myFormUeditor> -->
145
145
  </el-form-item>
146
146
  </div>
147
147
 
@@ -172,7 +172,7 @@ import myFormCascader from "./MyFormCascader.vue";
172
172
  import myFormRadio from "./MyFormRadio.vue";
173
173
  import myFormSwitch from "./MyFormSwitch.vue";
174
174
  import myFormTree from "./MyFormTree.vue";
175
- import myFormUeditor from "./MyFormEditor.vue";
175
+ // import myFormUeditor from "./MyFormEditor.vue";
176
176
  import myFormSelectDate from "./MyFormSelectDate.vue";
177
177
  import myFormSelectDateTime from "./MyFormSelectDateTime.vue";
178
178
  import myFormSelectTime from "./MyFormSelectTime.vue";
@@ -210,7 +210,7 @@ export default {
210
210
  myFormTree,
211
211
  myFormRadio,
212
212
  myFormSwitch,
213
- myFormUeditor,
213
+ // myFormUeditor,
214
214
  myFormSelectDate,
215
215
  myFormSelectDateTime,
216
216
  myFormSelectTime
@@ -1,10 +1,10 @@
1
1
  <!--
2
2
  * @Author: your name
3
3
  * @Date: 2022-04-29 16:16:26
4
- * @LastEditTime: 2022-05-04 09:35:20
5
- * @LastEditors: lzx lzx@gonsin.cn
4
+ * @LastEditTime: 2022-12-01 11:19:24
5
+ * @LastEditors: lrm lrm@gonsin.cn
6
6
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
7
- * @FilePath: \gview\src\components\MyFormAutocomplete copy 3.vue
7
+ * @FilePath: \client\src\components\MyFormEditor.vue
8
8
  -->
9
9
  <!--
10
10
  * @Author: your name
@@ -17,21 +17,21 @@
17
17
 
18
18
  <template>
19
19
  <div class="my_ueditor">
20
- <quill-editor
20
+ <!-- <quill-editor
21
21
  :content="content"
22
22
  :options="editorOption"
23
23
  @change="onEditorChange($event)"
24
- />
24
+ /> -->
25
25
  </div>
26
26
  </template>
27
27
 
28
28
  <script>
29
29
 
30
30
 
31
- import "quill/dist/quill.core.css";
32
- import "quill/dist/quill.snow.css";
33
- import "quill/dist/quill.bubble.css";
34
- import { quillEditor } from "vue-quill-editor";
31
+ // import "quill/dist/quill.core.css";
32
+ // import "quill/dist/quill.snow.css";
33
+ // import "quill/dist/quill.bubble.css";
34
+ // import { quillEditor } from "vue-quill-editor";
35
35
  export default {
36
36
  props: {
37
37
  value: {
@@ -1,7 +1,7 @@
1
1
  <!--
2
2
  * @Author: your name
3
3
  * @Date: 2022-04-22 11:44:31
4
- * @LastEditTime: 2022-12-01 10:21:12
4
+ * @LastEditTime: 2022-12-01 11:27:46
5
5
  * @LastEditors: lrm lrm@gonsin.cn
6
6
  * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
7
7
  * @FilePath: \client\src\components\MyTable.vue
@@ -47,7 +47,7 @@
47
47
  />
48
48
  </div>
49
49
  <div v-else-if="column.columnType == 'QR_CODE'">
50
- {{ returnValue(column, scope.row) }}
50
+ <!-- {{ returnValue(column, scope.row) }} -->
51
51
  <!-- <vue-qr :text="returnValue(column, scope.row)" :size="80" :margin="5" /> -->
52
52
  </div>
53
53
  <div v-else-if="column.columnType == 'TEXT' || column.columnType == 'ENUMS'">
@@ -93,7 +93,7 @@ export default {
93
93
  type: Object,
94
94
  },
95
95
  },
96
- components: { VueQr },
96
+ // components: { VueQr },
97
97
  watch: {
98
98
  propsPagination: {
99
99
  handler: function (newModel, oldModel) {
package/vue.config.js CHANGED
@@ -1,11 +1,13 @@
1
1
  /*
2
2
  * @Author: your name
3
3
  * @Date: 2020-06-30 18:26:00
4
- * @LastEditTime: 2022-11-28 14:30:14
4
+ * @LastEditTime: 2022-12-01 10:49:56
5
5
  * @LastEditors: lrm lrm@gonsin.cn
6
6
  * @Description: In User Settings Edit
7
7
  * @FilePath: \client\vue.config.js
8
8
  */
9
+ const path = require('path')
10
+
9
11
  module.exports = {
10
12
  lintOnSave: false,
11
13
  // assetsDir: 'static', // 配置js、css静态资源二级目录的位置
@@ -39,4 +41,10 @@ module.exports = {
39
41
  }
40
42
  }
41
43
  },
44
+ configureWebpack: config => {
45
+ if (process.env.NODE_ENV === 'production') {
46
+ config.entry = ['./src/index.js']
47
+
48
+ }
49
+ }
42
50
  }