manage-client 3.3.240 → 3.3.241

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.240",
3
+ "version": "3.3.241",
4
4
  "description": "经营管控模块前台组件",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -60,11 +60,10 @@
60
60
  <button class="button_clear button_spacing" @click="$parent.$parent.clear()">清空</button>
61
61
  <!--<button class="btn btn-default" @click="$parent.$parent.stamp()">打印</button>-->
62
62
 
63
- <!-- <export-excel :data="$parent.$parent.getCondition"-->
64
- <!-- :field="$parent.$parent.getfield"-->
65
- <!-- v-if="$parent.$parent.authArr.includes('开户查询导出')"-->
66
- <!-- sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="newAccountQuery" template-name='开户查询导出'-->
67
- <!-- :choose-col="true"></export-excel>-->
63
+ <export-excel :data="$parent.$parent.getCondition"
64
+ :field="$parent.$parent.getfield"
65
+ sqlurl="api/af-revenue/logic/openapi/exportfile" sql-name="newAccountQuery" template-name='开户查询导出'
66
+ :choose-col="true"></export-excel>
68
67
 
69
68
  <!-- <div style="float: right" class="button_spacing" :class="{'button_shrink_top':$parent.$parent.criteriaShow,'button_shrink_bottom':!$parent.$parent.criteriaShow}" @click="$parent.$parent.hidden()"></div>-->
70
69
  </div>
@@ -215,8 +214,7 @@
215
214
 
216
215
  <script>
217
216
  import {PagedList} from 'vue-client'
218
- import defaultPrint from './../../components/sale/config/DefaultPrint'
219
- import exportConfig from './../../components/sale/config/exportConfig'
217
+ import exportConfig from './exportConfig'
220
218
  import plugins from './../../plugins/GetLoginInfoService'
221
219
 
222
220
  let readySomething = async function (self) {
@@ -251,8 +249,8 @@
251
249
  fields: {},
252
250
  thead: '',
253
251
  tfoot: '',
254
- orgCondtionStr: '(' + this.$login.f.orgid + ')',
255
- // orgCondtionStr: ` and f_orgid = '${this.$login.f.orgid}'`,
252
+ //orgCondtionStr: '(' + this.$login.f.orgid + ')',
253
+ orgCondtionStr: ``,
256
254
  meterbrands: [],
257
255
  showinfo:false,
258
256
  rowdata:{},
@@ -395,15 +393,9 @@
395
393
  return this.$login.r ? this.$login.r : []
396
394
  },
397
395
  getCondition () {
398
- var con = ""
399
- if (this.orgCondtionStr) {
400
- con = `${this.$refs.paged.$refs.cri.condition} and u.f_orgid in (${this.orgCondtionStr})`
401
- }
402
- else {
403
- con = `${this.$refs.paged.$refs.cri.condition}and u.f_orgid in ('${this.$login.f.orgid}' )`
404
- }
405
396
  return {
406
- condition: con
397
+ condition: `${this.$refs.paged.$refs.cri.condition}` + this.orgCondtionStr,
398
+ orderitem: this.orderitem?`${this.orderitem}`: " f_open_date desc"
407
399
  }
408
400
  },
409
401
  getfield() {
@@ -596,9 +596,12 @@ export default{
596
596
  'f_operator': '操作员', 'f_depname': '部门', 'f_orgname': '公司'
597
597
  },
598
598
  NewAccountConfig: {
599
- 'f_userinfo_code': '用户编号', 'f_user_name': '用户姓名', 'f_user_phone': '用户电话', 'f_idnumber': '身份证号', 'f_address': '客户地址', 'f_price_name': '气价名称',
600
- 'f_open_date': '开户时间', 'f_meternumber': '表号', 'f_gas_person': '置换员', 'f_gas_date': '通气时间',
601
- 'f_total_gas': '累购气量', 'f_meter_brand': '气表品牌', 'isbgl': '是否有壁挂炉', 'f_operator': '操作员'
599
+ 'f_userinfo_code': '用户编号',
600
+ 'f_user_name': '用户姓名',
601
+ 'f_user_phone': '用户电话',
602
+ 'f_idnumber': '身份证号',
603
+ 'f_address': '客户地址',
604
+ 'f_open_date': '开户时间'
602
605
  },
603
606
  Wrongquery: {
604
607
  'f_userinfo_code': '用户编号', 'f_meternumber': '表号', 'f_operator_date': '抄表时间', 'f_operator_type': '错误类型', 'f_error_type': '错误原因', 'f_bankname': '银行名称', 'f_msg': '错误信息'