apply-clients 3.0.10-195 → 3.0.10-196

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": "apply-clients",
3
- "version": "3.0.10-195",
3
+ "version": "3.0.10-196",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -1,180 +1,183 @@
1
- <template>
2
- <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
- <div class="tops" v-bind:style="{ height: topheight }">
4
- <exploration-select v-ref:queryuser v-show="show"></exploration-select>
5
- <modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
6
- </div>
7
- <div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
8
- <div class="col-sm-12">
9
- <tabset class="col-sm-12" v-ref:tabs :close="false" style="margin-top: 20px">
10
- <tab :header='header' style="background-color :#f6f6f6; overflow: auto">
11
- <service-control v-ref:service :selectdata="selectdata" ></service-control>
12
- </tab>
13
- <!-- <tab header='档案信息管理' style="background-color :#f6f6f6" v-if="selectdata.defname == '用户建档'">-->
14
- <!-- <record-message v-ref:record :selectdata="selectdata" :key="tittle1"-->
15
- <!-- :edit = "true">-->
16
- <!-- </record-message>-->
17
- <!-- </tab>-->
18
- <tab header='新用户建档' style="background-color :#f6f6f6" v-if="selectdata.defname == '用户建档' && selectdata.f_apply_type === '新用户' || selectdata.defname == '安装施工' && selectdata.f_apply_type === '新用户' || selectdata.defname == '通气' && selectdata.f_apply_type === '新用户'">
19
- <record-message v-ref:record :selectdata="selectdata" :key="tittle1"
20
- :edit = "true">
21
- </record-message>
22
- </tab>
23
- <tab header='附件' style="background-color :#f6f6f6">
24
- <apply-upload :blodid="selectdata.f_process_id"
25
- :isupload = "true"
26
- :isdelete="true"
27
- :isusetype="true"
28
- :isremark = "true"
29
- :takeimg="false"
30
- :issearch="true"
31
- :defname="selectdata.defname">
32
- </apply-upload>
33
- </tab>
34
-
35
- </tabset>
36
- </div>
37
- </div>
38
- </div>
39
- </template>
40
- <script>
41
- import Vue from 'vue'
42
- import {HttpResetClass} from 'vue-client'
43
- export default {
44
- title: '报建流程',
45
- data() {
46
- return {
47
- flagg: false,
48
- show: true,
49
- showbasic: false,
50
- showtotal: false,
51
- header: null,
52
- selectdata: {},
53
- botheight: '0%',
54
- topheight: '100%',
55
- tittle1: '户档案管理',
56
- tittle2: '表档案管理',
57
- tittle3: '设备管理',
58
- xmlname: '',
59
- f_type: ''
60
- }
61
- },
62
- created(){
63
- let http = new HttpResetClass()
64
- // if (this.selectdata.type === '工业户' || this.selectdata.type === '商业户' || this.selectdata.f_apply_type === '工业户' || this.selectdata.f_apply_type === '商业户') {
65
- // this.xmlname = '工商户'
66
- // } else if (this.selectdata.f_apply_type === '民建户' || this.selectdata.f_apply_type === '民现户') {
67
- // this.xmlname = this.selectdata.f_apply_type
68
- // } else {
69
- // this.xmlname = this.selectdata.type
70
- // }
71
- let xmldata = {
72
- data: this.$login.f,
73
- workname: '报建初装流程'
74
- }
75
- http.load('POST','rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
76
- ).then((res)=>{
77
-
78
- if (res.data.code && res.data.code == 200){
79
- Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
80
- if (res.data.msg){
81
- console.log('获取配置文件信息:',res.data.msg)
82
- }
83
- } else {
84
- this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
85
- return
86
- }
87
- })
88
- console.log('Vue.$workflow_vue:'+JSON.stringify(this.$workflow_vue))
89
- },
90
- events: {
91
- 'addactive' () {
92
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
93
- this.hidden()
94
- this.showbasic = true
95
- this.topheight = '8%'
96
- this.botheight = '88.9%'
97
- },
98
- 'changeheight'() {
99
- this.show = true
100
- this.botheight = '0%'
101
- },
102
- 'check' (val) {
103
- this.selectdata = null
104
- this.selectdata = val
105
- // this.f_type = this.selectdata.f_apply_type
106
- // console.log('val.f_apply_type:' + val.f_apply_type)
107
- // if (val.f_apply_type === '零星散户' || val.f_apply_type === '新用户') {
108
- // console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
109
- // if (this.selectdata.f_apply_type === '零星散户') {
110
- // this.xmlname = '零星散户安装流程'
111
- // } else if (this.selectdata.f_apply_type === '新用户') {
112
- // this.xmlname = '新用户安装流程'
113
- // }
114
- // let xmldata = {
115
- // data: this.$login.f,
116
- // workname: this.xmlname
117
- // }
118
- // let http = new HttpResetClass()
119
- // console.log('xmldata.workname:' + xmldata.workname)
120
- // console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
121
- // http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
122
- // ).then((res)=>{
123
- // if (res.data.code && res.data.code == 200){
124
- // Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
125
- // if (res.data.msg){
126
- // console.log('获取配置文件信息:', res.data.msg)
127
- // }
128
- // console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
129
- // console.log("this.selectdata的值---------" + JSON.stringify(this.selectdata))
130
- console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
131
- // this.selectdata.f_apply_type = this.f_type
132
- // console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
133
- this.topheight = '8%'
134
- this.botheight = '88.9%'
135
- this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
136
- this.$refs.queryuser.$refs.cp.pager = false
137
- this.showbasic = true
138
- this.header = val.defname
139
- this.hidden()
140
- this.$refs.service.refurbish(val)
141
- // } else {
142
- // this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
143
- // return
144
- // }
145
- // })
146
- // }
147
- },
148
- 'selfsearch'() {
149
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
150
- },
151
- 'close'() {
152
- this.showtotal = false
153
- this.topheight = '100%'
154
- this.botheight = '0%'
155
- this.$refs.queryuser.$refs.cp.pager = true
156
- this.$refs.queryuser.$refs.cp.$refs.cri.search()
157
- }
158
- },
159
- methods: {
160
- hidden() {
161
- this.showtotal = true
162
- },
163
- close() {
164
- this.hidden()
165
- this.topheight = '100%'
166
- this.botheight = '0%'
167
- }
168
- },
169
- watch: {
170
- 'selectdata'(val) {
171
- console.log('selectdata:', val)
172
- },
173
- 'selectdata.f_customer_type'() {
174
- if (this.selectdata.f_customer_type == '企业') {
175
- this.flagg = true
176
- }
177
- }
178
- }
179
- }
180
- </script>
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;background-color: #ffffff;">
3
+ <div class="tops" v-bind:style="{ height: topheight }">
4
+ <exploration-select v-ref:queryuser v-show="show"></exploration-select>
5
+ <modify-user-files v-ref:modifyuser v-show="!show"></modify-user-files>
6
+ </div>
7
+ <div v-show="showtotal" v-bind:style="{ height: botheight ,'margin-top':'20px','background-color' : '#f6f6f6' ,padding:'12px'}">
8
+ <div class="col-sm-12">
9
+ <tabset class="col-sm-12" v-ref:tabs :close="false" style="margin-top: 20px">
10
+ <tab :header='header' style="background-color :#f6f6f6; overflow: auto">
11
+ <service-control v-ref:service :selectdata="selectdata" ></service-control>
12
+ </tab>
13
+ <!-- <tab header='档案信息管理' style="background-color :#f6f6f6" v-if="selectdata.defname == '用户建档'">-->
14
+ <!-- <record-message v-ref:record :selectdata="selectdata" :key="tittle1"-->
15
+ <!-- :edit = "true">-->
16
+ <!-- </record-message>-->
17
+ <!-- </tab>-->
18
+ <tab header='新用户建档' style="background-color :#f6f6f6" v-if="selectdata.defname == '用户建档' && selectdata.f_apply_type === '新用户' || selectdata.defname == '安装施工' && selectdata.f_apply_type === '新用户' || selectdata.defname == '通气' && selectdata.f_apply_type === '新用户'">
19
+ <record-message v-ref:record :selectdata="selectdata" :key="tittle1"
20
+ :edit = "true">
21
+ </record-message>
22
+ </tab>
23
+ <tab header='附件' style="background-color :#f6f6f6">
24
+ <apply-upload :blodid="selectdata.f_process_id"
25
+ :isupload = "true"
26
+ :isdelete="true"
27
+ :isusetype="true"
28
+ :isremark = "true"
29
+ :takeimg="false"
30
+ :issearch="true"
31
+ :defname="selectdata.defname">
32
+ </apply-upload>
33
+ </tab>
34
+
35
+ </tabset>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </template>
40
+ <script>
41
+ import Vue from 'vue'
42
+ import {HttpResetClass} from 'vue-client'
43
+ export default {
44
+ title: '报建流程',
45
+ data() {
46
+ return {
47
+ flagg: false,
48
+ show: true,
49
+ showbasic: false,
50
+ showtotal: false,
51
+ header: null,
52
+ selectdata: {},
53
+ botheight: '0%',
54
+ topheight: '100%',
55
+ tittle1: '户档案管理',
56
+ tittle2: '表档案管理',
57
+ tittle3: '设备管理',
58
+ xmlname: '',
59
+ f_type: ''
60
+ }
61
+ },
62
+ created(){
63
+ let http = new HttpResetClass()
64
+ // if (this.selectdata.type === '工业户' || this.selectdata.type === '商业户' || this.selectdata.f_apply_type === '工业户' || this.selectdata.f_apply_type === '商业户') {
65
+ // this.xmlname = '工商户'
66
+ // } else if (this.selectdata.f_apply_type === '民建户' || this.selectdata.f_apply_type === '民现户') {
67
+ // this.xmlname = this.selectdata.f_apply_type
68
+ // } else {
69
+ // this.xmlname = this.selectdata.type
70
+ // }
71
+ let xmldata = {
72
+ data: this.$login.f,
73
+ workname: '报建初装流程'
74
+ }
75
+ http.load('POST','rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
76
+ ).then((res)=>{
77
+
78
+ if (res.data.code && res.data.code == 200){
79
+ Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
80
+ if (res.data.msg){
81
+ console.log('获取配置文件信息:',res.data.msg)
82
+ }
83
+ } else {
84
+ this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
85
+ return
86
+ }
87
+ })
88
+ console.log('Vue.$workflow_vue:'+JSON.stringify(this.$workflow_vue))
89
+ },
90
+ events: {
91
+ 'addactive' () {
92
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
93
+ this.hidden()
94
+ this.showbasic = true
95
+ this.topheight = '8%'
96
+ this.botheight = '88.9%'
97
+ },
98
+ 'changeheight'() {
99
+ this.show = true
100
+ this.botheight = '0%'
101
+ },
102
+ 'check' (val) {
103
+ this.selectdata = null
104
+ this.selectdata = val
105
+ // this.f_type = this.selectdata.f_apply_type
106
+ // console.log('val.f_apply_type:' + val.f_apply_type)
107
+ // if (val.f_apply_type === '零星散户' || val.f_apply_type === '新用户') {
108
+ // console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
109
+ // if (this.selectdata.f_apply_type === '零星散户') {
110
+ // this.xmlname = '零星散户安装流程'
111
+ // } else if (this.selectdata.f_apply_type === '新用户') {
112
+ // this.xmlname = '新用户安装流程'
113
+ // }
114
+ // let xmldata = {
115
+ // data: this.$login.f,
116
+ // workname: this.xmlname
117
+ // }
118
+ // let http = new HttpResetClass()
119
+ // console.log('xmldata.workname:' + xmldata.workname)
120
+ // console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
121
+ // http.load('POST', 'rs/logic/ApplyGetConfigs', {data: xmldata}, {resolveMsg: null, rejectMsg: null}
122
+ // ).then((res)=>{
123
+ // if (res.data.code && res.data.code == 200){
124
+ // Vue.workflow_vue = Vue.prototype.$workflow_vue = res.data.workflow_vue
125
+ // if (res.data.msg){
126
+ // console.log('获取配置文件信息:', res.data.msg)
127
+ // }
128
+ // console.log("Vue.$workflow_vue:"+JSON.stringify(this.$workflow_vue))
129
+ // console.log("this.selectdata的值---------" + JSON.stringify(this.selectdata))
130
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
131
+ // this.selectdata.f_apply_type = this.f_type
132
+ // console.log('this.selectdata.f_apply_type:' + this.selectdata.f_apply_type)
133
+ this.topheight = '8%'
134
+ this.botheight = '88.9%'
135
+ if(val.defname == '通气') {
136
+ val.f_gas_person = this.$login.f.name
137
+ }
138
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
139
+ this.$refs.queryuser.$refs.cp.pager = false
140
+ this.showbasic = true
141
+ this.header = val.defname
142
+ this.hidden()
143
+ this.$refs.service.refurbish(val)
144
+ // } else {
145
+ // this.$showMessage('获取报建配置失败,原因:' + res.data.msg)
146
+ // return
147
+ // }
148
+ // })
149
+ // }
150
+ },
151
+ 'selfsearch'() {
152
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
153
+ },
154
+ 'close'() {
155
+ this.showtotal = false
156
+ this.topheight = '100%'
157
+ this.botheight = '0%'
158
+ this.$refs.queryuser.$refs.cp.pager = true
159
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
160
+ }
161
+ },
162
+ methods: {
163
+ hidden() {
164
+ this.showtotal = true
165
+ },
166
+ close() {
167
+ this.hidden()
168
+ this.topheight = '100%'
169
+ this.botheight = '0%'
170
+ }
171
+ },
172
+ watch: {
173
+ 'selectdata'(val) {
174
+ console.log('selectdata:', val)
175
+ },
176
+ 'selectdata.f_customer_type'() {
177
+ if (this.selectdata.f_customer_type == '企业') {
178
+ this.flagg = true
179
+ }
180
+ }
181
+ }
182
+ }
183
+ </script>
@@ -2931,34 +2931,34 @@
2931
2931
  return
2932
2932
  }
2933
2933
  }
2934
- }else {
2935
- if(model.f_idnumber && model.f_user_name){
2936
- let http = new HttpResetClass()
2937
- //let roster = this.$parent.$parent.$parent.$refs.record.model.rows
2938
- // console.log("传送数据:" + JSON.stringify(roster))
2939
- let data = {
2940
- f_apply_type: model.f_apply_type,
2941
- f_user_name: model.f_user_name,
2942
- f_idnumber: model.f_idnumber,
2943
- roster: ''
2944
- }
2945
- let res = await http.load('POST', 'rs/logic/apply_recordQuery', {data: data}, {
2946
- resolveMsg: null,
2947
- rejectMsg: "建档失败"
2948
- })
2949
- console.log("返回的消息:" + JSON.stringify(res.data))
2950
- if (res.data != '建档成功') {
2951
- let check = await this.$showMessage(res.data, ['confirm', 'cancel'])
2952
- if (check == 'confirm') {
2953
-
2954
- } else {
2955
- this.$refs.service_show.disable_button = false
2956
- return
2957
- }
2958
- }
2959
- }
2960
2934
  }
2961
-
2935
+ // else {
2936
+ // if(model.f_idnumber && model.f_user_name){
2937
+ // let http = new HttpResetClass()
2938
+ // //let roster = this.$parent.$parent.$parent.$refs.record.model.rows
2939
+ // // console.log("传送数据:" + JSON.stringify(roster))
2940
+ // let data = {
2941
+ // f_apply_type: model.f_apply_type,
2942
+ // f_user_name: model.f_user_name,
2943
+ // f_idnumber: model.f_idnumber,
2944
+ // roster: ''
2945
+ // }
2946
+ // let res = await http.load('POST', 'rs/logic/apply_recordQuery', {data: data}, {
2947
+ // resolveMsg: null,
2948
+ // rejectMsg: "建档失败"
2949
+ // })
2950
+ // console.log("返回的消息:" + JSON.stringify(res.data))
2951
+ // if (res.data != '建档成功') {
2952
+ // let check = await this.$showMessage(res.data, ['confirm', 'cancel'])
2953
+ // if (check == 'confirm') {
2954
+ //
2955
+ // } else {
2956
+ // this.$refs.service_show.disable_button = false
2957
+ // return
2958
+ // }
2959
+ // }
2960
+ // }
2961
+ // }
2962
2962
  }
2963
2963
 
2964
2964
  this.dataChange(model.button.button_name)// 调用修改记录方法