manage-client 3.3.82 → 3.3.83

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": "manage-client",
3
- "version": "3.3.82",
3
+ "version": "3.3.83",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -9,8 +9,8 @@
9
9
  <div :class="$parent.$parent.style">
10
10
  <label for="startDate" class="font_normal_body">开始日期</label>
11
11
  <datepicker id="startDate" placeholder="开始日期" style="width:60%"
12
- v-model="model.startDate"
13
- :value.sync="model.startDate"
12
+ v-model="$parent.$parent.startDate"
13
+ :value.sync="$parent.$parent.startDate"
14
14
  :format="'yyyy-MM-dd'"
15
15
  :show-reset-button="true">
16
16
  </datepicker>
@@ -18,8 +18,8 @@
18
18
  <div :class="$parent.$parent.style">
19
19
  <label for="endDate" class="font_normal_body">结束日期</label>
20
20
  <datepicker id="endDate" placeholder="结束日期" style="width:60%"
21
- v-model="model.endDate"
22
- :value.sync="model.endDate"
21
+ v-model="$parent.$parent.endDate"
22
+ :value.sync="$parent.$parent.endDate"
23
23
  :format="'yyyy-MM-dd'"
24
24
  :show-reset-button="true">
25
25
  </datepicker>
@@ -214,8 +214,8 @@ import exportConfig from './config/exportConfig'
214
214
  import PrintDataSelf from '../../components/sale/common/PrintDataSelf'
215
215
 
216
216
  let readySomething = async function (self) {
217
- self.$refs.paged.$refs.cri.model.startDate = self.getCurrentMonthFirst()
218
- self.$refs.paged.$refs.cri.model.endDate = self.getCurrentMonthLast()
217
+ self.startDate = self.getCurrentMonthFirst()
218
+ self.endDate = self.getCurrentMonthLast()
219
219
  // self.getCompanyList()
220
220
  }
221
221
  export default {
@@ -241,7 +241,6 @@ export default {
241
241
  startDate: 'this.model.startDate',
242
242
  endDate: 'this.model.endDate',
243
243
  f_user_type : 'this.model.f_user_type',
244
-
245
244
  f_user_usetype : 'this.model.f_user_usetype',
246
245
  f_user_usenature : 'this.model.f_user_usenature',
247
246
  f_use_institution : 'this.model.f_use_institution'
@@ -412,6 +411,8 @@ export default {
412
411
  } else {
413
412
  args.condition = `${args.condition}` + this.orgConditionStr
414
413
  }
414
+ this.$refs.paged.$refs.cri.model.startDate = this.startDate
415
+ this.$refs.paged.$refs.cri.model.endDate = this.endDate
415
416
  this.condition = args.condition
416
417
  console.log("查看条件",this.condition)
417
418
  await this.model.search(args.condition, args.model)
@@ -491,8 +492,8 @@ export default {
491
492
  getCondition () {
492
493
  return {
493
494
  condition: this.condition,
494
- startDate: this.$refs.paged.$refs.cri.model.startDate,
495
- endDate: this.$refs.paged.$refs.cri.model.endDate,
495
+ startDate: this.startDate,
496
+ endDate: this.endDate,
496
497
  f_user_usetype : this.$refs.paged.$refs.cri.model.f_user_usetype,
497
498
  f_user_type : this.$refs.paged.$refs.cri.model.f_user_type,
498
499
  f_user_usenature : this.$refs.paged.$refs.cri.model.f_user_usenature,
package/src/main.js CHANGED
@@ -6,7 +6,7 @@ import { all } from 'vue-client'
6
6
  import { system } from 'system-clients'
7
7
  import { ldap } from 'ldap-clients'
8
8
  import saleManage from './saleManage'
9
- import ShanXianSaleManage from './filiale/tongchuan/sale'
9
+ import ShanXianSaleManage from './filiale/shanxian/sale'
10
10
  import ShanXianWebmeterManage from './filiale/shanxian/webmeterManage'
11
11
  import webmeterManage from './webmeterManage'
12
12
  import reportManage from './reportManage'