cloud-web-corejs 1.0.54-dev.182 → 1.0.54-dev.183

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.182",
4
+ "version": "1.0.54-dev.183",
5
5
  "scripts": {
6
6
  "dev": "vue-cli-service serve",
7
7
  "lint": "eslint --ext .js,.vue src",
@@ -56,7 +56,7 @@
56
56
  <i class="el-icon-refresh"></i>
57
57
  </el-button>
58
58
  </el-tooltip>
59
- <el-button type="text" @click="$router.push('/basic/wf/wf_manage/list')" class="more">
59
+ <el-button type="text" @click="toWfManageList" class="more">
60
60
  <i class="el-icon-news"></i>
61
61
  <span>{{ $t1('查看更多+') }}</span>
62
62
  </el-button>
@@ -183,6 +183,9 @@ import corejsConfig from "@/corejsConfig";
183
183
 
184
184
  export default {
185
185
  name: 'home',
186
+ props: {
187
+ wf_manage_url: String
188
+ },
186
189
  components: {
187
190
  systemNoticeInfoDialog,
188
191
  commMenuDialog,
@@ -217,7 +220,7 @@ export default {
217
220
  unreadMessageNum: 0,
218
221
  activating: true,
219
222
  wfTimer: null,
220
- homeConfig:corejsConfig.homeConfig || {}
223
+ homeConfig: corejsConfig.homeConfig || {}
221
224
  };
222
225
  },
223
226
  activated() {
@@ -467,11 +470,11 @@ export default {
467
470
  this.$router.push({path: path, query: {url: route.url}});
468
471
  } else {
469
472
  let path = this.getPath(route)
470
- if(!path)return
473
+ if (!path) return
471
474
  this.$router.push(path);
472
475
  }
473
476
  },
474
- getPath(route3){
477
+ getPath(route3) {
475
478
  let item = null;
476
479
  let path = null
477
480
  if (route3.type == 0) {
@@ -569,6 +572,10 @@ export default {
569
572
  this.showWfDialog = false;
570
573
  this.wfClose();
571
574
  }
575
+ },
576
+ toWfManageList() {
577
+ let url = this.wf_manage_url || '/basic/wf/wf_manage/list'
578
+ this.$router.push(url)
572
579
  }
573
580
  }
574
581
  };
@@ -761,7 +768,7 @@ body #app .index-home {
761
768
  }
762
769
 
763
770
  .fast-box {
764
- margin: 6px 4px 4px;
771
+ margin: 6px 4px 4px;
765
772
  overflow: hidden;
766
773
 
767
774
  .item {
@@ -769,6 +776,7 @@ body #app .index-home {
769
776
  text-align: center;
770
777
  float: left;
771
778
  margin-right: 14px;
779
+
772
780
  p {
773
781
  color: #2a6494;
774
782
  border: solid 1px #e2e2e2;
@@ -801,7 +809,7 @@ body #app .index-home {
801
809
  position: absolute;
802
810
  left: -1px;
803
811
  top: 50%;
804
- margin-top:-12px;
812
+ margin-top: -12px;
805
813
  }
806
814
 
807
815
  &:hover {
@@ -1006,6 +1014,9 @@ body #app .index-home {
1006
1014
  }
1007
1015
  }
1008
1016
  }
1009
- ::v-deep .el-card.is-always-shadow{box-shadow: 0 2px 2px 0 rgb(0 0 0 / 6%);}
1017
+
1018
+ ::v-deep .el-card.is-always-shadow {
1019
+ box-shadow: 0 2px 2px 0 rgb(0 0 0 / 6%);
1020
+ }
1010
1021
  }
1011
1022
  </style>
@@ -93,6 +93,56 @@
93
93
  </el-select>
94
94
  </template>
95
95
  </vxe-form-item>
96
+
97
+ <vxe-form-item :title="$t1('机构')+':'" field="param4">
98
+ <template v-slot>
99
+ <el-input
100
+ class="search-input"
101
+ max="200"
102
+ v-model="formData.param4"
103
+ @clear="
104
+ formData.param3 = null;
105
+ $forceUpdate();
106
+ "
107
+ v-el-readonly
108
+ clearable
109
+ >
110
+ <i slot="suffix" class="el-input__icon el-icon-search"
111
+ @click="showSaleOrgDialog = true"></i>
112
+ </el-input>
113
+ </template>
114
+ </vxe-form-item>
115
+ <vxe-form-item :title="$t1('大区')+':'" field="param6">
116
+ <template v-slot>
117
+ <el-input
118
+ class="search-input"
119
+ max="200"
120
+ v-model="formData.param6"
121
+ @clear="
122
+ formData.param5 = null;
123
+ $forceUpdate();
124
+ "
125
+ v-el-readonly
126
+ clearable
127
+ >
128
+ <i slot="suffix" class="el-input__icon el-icon-search"
129
+ @click="showAreaDialog = true"></i>
130
+ </el-input>
131
+ </template>
132
+ </vxe-form-item>
133
+
134
+ <vxe-form-item :title="$t1('产品线')+':'" field="param7">
135
+ <template v-slot>
136
+ <el-input v-model="formData.param7" size="small" clearable/>
137
+ </template>
138
+ </vxe-form-item>
139
+
140
+ <vxe-form-item :title="$t1('授权医院')+':'" field="param8">
141
+ <template v-slot>
142
+ <el-input v-model="formData.param8" size="small" clearable/>
143
+ </template>
144
+ </vxe-form-item>
145
+
96
146
  </vxe-form>
97
147
  </template>
98
148
  </vxe-grid>
@@ -152,6 +202,54 @@
152
202
  </el-select>
153
203
  </template>
154
204
  </vxe-form-item>
205
+ <vxe-form-item :title="$t1('机构')+':'" field="param4">
206
+ <template v-slot>
207
+ <el-input
208
+ class="search-input"
209
+ max="200"
210
+ v-model="formData2.param4"
211
+ @clear="
212
+ formData2.param3 = null;
213
+ $forceUpdate();
214
+ "
215
+ v-el-readonly
216
+ clearable
217
+ >
218
+ <i slot="suffix" class="el-input__icon el-icon-search"
219
+ @click="showSaleOrgDialog = true"></i>
220
+ </el-input>
221
+ </template>
222
+ </vxe-form-item>
223
+ <vxe-form-item :title="$t1('大区')+':'" field="param6">
224
+ <template v-slot>
225
+ <el-input
226
+ class="search-input"
227
+ max="200"
228
+ v-model="formData2.param6"
229
+ @clear="
230
+ formData2.param5 = null;
231
+ $forceUpdate();
232
+ "
233
+ v-el-readonly
234
+ clearable
235
+ >
236
+ <i slot="suffix" class="el-input__icon el-icon-search"
237
+ @click="showAreaDialog2 = true"></i>
238
+ </el-input>
239
+ </template>
240
+ </vxe-form-item>
241
+
242
+ <vxe-form-item :title="$t1('产品线')+':'" field="param7">
243
+ <template v-slot>
244
+ <el-input v-model="formData2.param7" size="small" clearable/>
245
+ </template>
246
+ </vxe-form-item>
247
+
248
+ <vxe-form-item :title="$t1('授权医院')+':'" field="param8">
249
+ <template v-slot>
250
+ <el-input v-model="formData2.param8" size="small" clearable/>
251
+ </template>
252
+ </vxe-form-item>
155
253
  </vxe-form>
156
254
  </template>
157
255
  </vxe-grid>
@@ -162,15 +260,28 @@
162
260
  @confirm="confirmInsertWfObjConfig" :multi="false"></wfObjConfigDialog>
163
261
  <wfObjConfigDialog v-if="showWfObjConfigDialog2" :visiable.sync="showWfObjConfigDialog2" :type="99"
164
262
  @confirm="confirmInsertWfObjConfig2" :multi="false"></wfObjConfigDialog>
263
+
264
+
265
+
266
+ <saleOrgDialog v-if="showSaleOrgDialog" :visiable.sync="showSaleOrgDialog" @confirm="confirmInsertSaleOrg" :multi="false"></saleOrgDialog>
267
+
268
+ <saleOrgDialog v-if="showSaleOrgDialog2" :visiable.sync="showSaleOrgDialog2" @confirm="confirmInsertSaleOrg2" :multi="false"></saleOrgDialog>
269
+
270
+ <areaDialog v-if="showAreaDialog" :visiable.sync="showAreaDialog"
271
+ @confirm="confirmInsertArea" :multi="false"></areaDialog>
272
+ <areaDialog v-if="showAreaDialog2" :visiable.sync="showAreaDialog2"
273
+ @confirm="confirmInsertArea2" :multi="false"></areaDialog>
165
274
  </div>
166
275
  </template>
167
276
  <script>
168
277
  import {treeScollx} from '@base/utils/global.js';
169
- import wfObjConfigDialog from '../../../../views/user/wf/wf_obj_config/dialog.vue';
278
+ import wfObjConfigDialog from '@base/views/user/wf/wf_obj_config/dialog.vue';
279
+ import saleOrgDialog from '@base/views/user/sale_org/dialog.vue';
280
+ import areaDialog from '@base/views/user/area/dialog.vue';
170
281
 
171
282
  export default {
172
283
  name: 'wf_manage:list',
173
- components: {wfObjConfigDialog},
284
+ components: {wfObjConfigDialog,saleOrgDialog,areaDialog},
174
285
  created() {
175
286
  },
176
287
  async mounted() {
@@ -181,6 +292,12 @@ export default {
181
292
  },
182
293
  data() {
183
294
  return {
295
+ showSaleOrgDialog:false,
296
+ showSaleOrgDialog2:false,
297
+ showAreaDialog:false,
298
+ showAreaDialog2:false,
299
+
300
+
184
301
  activeName: 'second',
185
302
  // dataId: 0,
186
303
  // showEdit: false,
@@ -668,6 +785,36 @@ export default {
668
785
  this.$set(this.formData2, 'objTypeCode', row.objTypeCode);
669
786
  }
670
787
  },
788
+
789
+ confirmInsertArea(rows) {
790
+ if (rows.length) {
791
+ let row = rows[0];
792
+ this.$set(this.formData, 'param5', row.id+"");
793
+ this.$set(this.formData, 'param6', row.name);
794
+ }
795
+ },
796
+ confirmInsertSaleOrg(rows) {
797
+ if (rows.length) {
798
+ let row = rows[0];
799
+ this.$set(this.formData, 'param3', row.id+"");
800
+ this.$set(this.formData, 'param4', row.name);
801
+ }
802
+ },
803
+ confirmInsertArea2(rows) {
804
+ if (rows.length) {
805
+ let row = rows[0];
806
+ this.$set(this.formData2, 'param3', row.id+"");
807
+ this.$set(this.formData2, 'param4', row.name);
808
+ }
809
+ },
810
+ confirmInsertSaleOrg2(rows) {
811
+ if (rows.length) {
812
+ let row = rows[0];
813
+ this.$set(this.formData2, 'param5', row.id+"");
814
+ this.$set(this.formData2, 'param6', row.name);
815
+ }
816
+ },
817
+
671
818
  }
672
819
  };
673
820
  </script>