manage-client 4.0.3 → 4.0.4

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": "4.0.3",
3
+ "version": "4.0.4",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -130,11 +130,11 @@
130
130
  }
131
131
  if (!this.datamanage.callSumByUnit) {
132
132
  load3.load('POST', 'api/af-revenue/sql/getCallSumByUnit', {data: {}}, {rejectMsg: null, resolveMsg: null}).then((ret) => {
133
- this.items = []// ret.data
133
+ // this.items = []// ret.data
134
134
  this.items = ret.data
135
- this.items.push(ret.data.filter((item) => item.name === "滨河")[0])
136
- this.items.push(ret.data.filter((item) => item.name === "乌达")[0])
137
- this.items.push(ret.data.filter((item) => item.name === "海勃湾")[0])
135
+ // this.items.push(ret.data.filter((item) => item.name === "滨河")[0])
136
+ // this.items.push(ret.data.filter((item) => item.name === "乌达")[0])
137
+ // this.items.push(ret.data.filter((item) => item.name === "海勃湾")[0])
138
138
  })
139
139
  } else {
140
140
  this.items = this.datamanage.callSumByUnit
@@ -20,7 +20,7 @@
20
20
  <span class="normal-font" >三年未入户总数</span>
21
21
  </div>
22
22
  <div class="flex-inline col-sm-6 auto" >
23
- <span class="normal-font" >计划安检量</span>
23
+ <span class="normal-font" >通气户数</span>
24
24
  </div>
25
25
  </div>
26
26
  <!--<div style="width: 60%">-->
@@ -114,13 +114,13 @@ export default {
114
114
  console.log('穿过来的值')
115
115
  this.changeshow = !this.changeshow
116
116
  console.log(this.changeshow)
117
- if(!this.datamange.checkData){
117
+ if(!this.datamanage.checkData){
118
118
  let http = new HttpResetClass()
119
119
  await http.load('post', '/api/af-revenue/sql/getCheckSum', {data:{}}, {rejectMsg: null, resolveMsg: null}).then((res)=>{
120
120
  this.checkData = res.data[0]
121
121
  })
122
122
  } else {
123
- this.checkData = this.datamange.checkData
123
+ this.checkData = this.datamanage.checkData
124
124
 
125
125
  }
126
126
 
@@ -135,6 +135,28 @@
135
135
  close-on-select condition="f_user_state ='{}'">
136
136
  </v-select>
137
137
  </div>
138
+ <div class="col-sm-2 form-group">
139
+ <label class="font_normal_body">开始时间</label>
140
+ <datepicker style="width:60%" id="startdate" placeholder="开始时间"
141
+ v-model="model.startDate"
142
+ :value.sync="model.startDate"
143
+ :disabled-days-of-Week="[]"
144
+ :format="'yyyy-MM-dd HH:mm:ss'"
145
+
146
+ :show-reset-button="reset">
147
+ </datepicker>
148
+ </div>
149
+ <div class="col-sm-2 form-group">
150
+ <label class="font_normal_body">结束时间</label>
151
+ <datepicker style="width:60%" id="enddate" placeholder="结束日期"
152
+ v-model="model.endDate"
153
+ :value.sync="model.endDate"
154
+ :disabled-days-of-Week="[]"
155
+ :format="'yyyy-MM-dd HH:mm:ss'"
156
+
157
+ :show-reset-button="reset">
158
+ </datepicker>
159
+ </div>
138
160
  <div class="col-sm-2 form-group flex-row" style="white-space: nowrap">
139
161
  <label class="font_normal_body">失联天数&nbsp;</label>
140
162
  <div class="row">
@@ -39,7 +39,7 @@
39
39
  </div>
40
40
 
41
41
  <div class="span" style="float:right;">
42
- <button class="btn button_clear" @click="$parent.$parent.batchConfirmPay()">批量确认收款</button>
42
+ <button class="btn button_clear" v-if="$login.r.includes('其他收费确认收款')" @click="$parent.$parent.batchConfirmPay()">批量确认收款</button>
43
43
  <button class="button_search button_spacing" @click="search()">查询</button>
44
44
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
45
45
  <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
@@ -317,7 +317,7 @@
317
317
  </template>
318
318
  <template partial='body'>
319
319
  <td style="text-align: center;"><nobr>
320
- <button class="button_search button_spacing width-60"
320
+ <button v-if="$login.r.includes('其他收费确认收款')" class="button_search button_spacing width-60"
321
321
  :class="{ 'disabled-button': row.f_audit_state === '审核通过' }"
322
322
  :disabled="row.f_audit_state === '审核通过'"
323
323
  @click.stop="$parent.$parent.$parent.confirmPay(row)">确认收款</button>
@@ -568,6 +568,7 @@
568
568
  const sql = sqlStatements.join('; ');
569
569
  const updateData = this.$resetpost('api/af-revenue/logic/runSQL', { data: { sql } }, { resolveMsg: '已确认', rejectMsg: '审核失败!!!' });
570
570
  updateData.then(() => {
571
+ this.$refs.paged.$refs.cri.model.f_audit_state =['未审核']
571
572
  this.search();
572
573
  });
573
574
  } else if (response === 'cancel') {
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/shexian/sale'
9
+ import ShanXianSaleManage from './filiale/yangchun/sale'
10
10
  import ShanXianwebSaleManage from './filiale/shexian/webmeterManage'
11
11
  import webmeterManage from './webmeterManage'
12
12
  import reportManage from './reportManage'
package/.npmignore DELETED
@@ -1,10 +0,0 @@
1
- src/bootstrap
2
- .idea/
3
- .DS_Store
4
- node_modules/
5
- dist/static/*.map
6
- npm-debug.log
7
- selenium-debug.log
8
- test/unit/coverage
9
- test/e2e/reports
10
- yarn.lock
package/build/.npmignore DELETED
@@ -1 +0,0 @@
1
-