apply-clients 7.1.36-yuchuan-10 → 7.1.36-yuchuan-11

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": "7.1.36-yuchuan-10",
3
+ "version": "7.1.36-yuchuan-11",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -131,7 +131,7 @@ export default {
131
131
  model: new PagedList('rs/sql/getGuanXianApply', 20, {
132
132
  data: {
133
133
  userid: this.$login.f.id,
134
- f_filiale: this.$login.f.f_fengongsi
134
+ f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
135
135
  }
136
136
  }),
137
137
  showModal: false, // 控制发起类型选择
@@ -270,7 +270,7 @@ export default {
270
270
  condition: this.$refs.cp.$refs.cri.condition,
271
271
  data: {
272
272
  userid: this.$login.f.id,
273
- f_filiale: this.$login.f.f_fengongsi
273
+ f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
274
274
  }
275
275
  }
276
276
  }
@@ -1,144 +1,144 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <guan-xian-exploration-select v-ref:query :show-data="showData"></guan-xian-exploration-select>
6
- </div>
7
- <div v-if="showtotal" style="height: 89%">
8
- <div class="col-sm-2" style="margin-top: 20px">
9
- <guan-xian-supervisoryh-cart :selectdata="selectdata"></guan-xian-supervisoryh-cart>
10
- </div>
11
- <tabset v-ref:tabs :close="false" :active.sync="active">
12
- <tab :header='selectdata.defname'>
13
- <service-control v-ref:service :selectdata="selectdata"></service-control>
14
- </tab>
15
- <tab header='附件'>
16
- <apply-upload :blodid="selectdata.f_process_id"
17
- :isupload = "true"
18
- :isdelete="true"
19
- :isusetype="true"
20
- :isremark = "true"
21
- :takeimg="true"
22
- :issearch="true"
23
- :defname="selectdata.defname">
24
- </apply-upload>
25
- </tab>
26
- </tabset>
27
- </div>
28
- </div>
29
- </div>
30
- </template>
31
- <script>
32
- import Vue from 'vue'
33
- import {HttpResetClass} from 'vue-client'
34
- export default {
35
- title: '管线建设流程',
36
- data () {
37
- return {
38
- showData: true, // 控制列表数据
39
- showtotal: false, // 详情显示
40
- selectdata: {},
41
- xmlname: '', // 配置文件名
42
- active: 0 // 配置文件名
43
- }
44
- },
45
- ready () {
46
- console.log('=============用户信息=================')
47
- console.log(this.$login.f)
48
- console.log(this.$login.r)
49
- },
50
- methods: {
51
- // 获取页面配置json文件
52
- async loadName () {
53
-
54
- let data = {
55
- workname: this.selectdata.processname
56
- }
57
- let res = await this.$resetpost(
58
- 'rs/logic/ApplyGetConfigs',
59
- {data: data},
60
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
61
- )
62
-
63
- Vue.prototype.$workflow_vue = res.data
64
- }
65
- },
66
- events: {
67
- 'onMessage' (data) {
68
- console.log('接收消息')
69
- console.log(data)
70
- if (data.type === 'apply-task') {
71
- this.$refs.query.$refs.cp.$refs.cri.search()
72
- }
73
- },
74
- // 刷新控制层
75
- async 'breakControl' (servicedata) {
76
-
77
- if (servicedata.id) {
78
- let data = {
79
- condition: `u.id = ${servicedata.id}`,
80
- data: {
81
- userid: this.$login.f.id,
82
- f_filiale: this.$login.f.f_fengongsi
83
- }
84
- }
85
- let res = await this.$resetpost(
86
- 'rs/sql/getGuanXianApply',
87
- {data: data},
88
- {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
89
- )
90
-
91
- this.selectdata = res.data[0]
92
- } else {
93
- this.selectdata = servicedata
94
- }
95
-
96
- this.showtotal = false
97
- this.$nextTick(() => {
98
- this.showtotal = true
99
- })
100
-
101
- },
102
- // 初始化
103
- async 'apply' (val) {
104
- this.showtotal = false
105
- this.selectdata = val
106
-
107
- // 次方法必须同步执行,否则后续会出问题
108
- // 获取页面json配置文件
109
- await this.loadName()
110
-
111
- // 显示详细
112
- this.showtotal = true
113
- // 关闭列表数据
114
- this.showData = false
115
- // 关闭分页
116
- this.$refs.query.$refs.cp.pager = false
117
- },
118
- 'search' () {
119
- this.selectdata = {}
120
- // 关闭详细
121
- this.showtotal = false
122
- // 显示列表数据
123
- this.showData = true
124
- // 显示分页
125
- this.$refs.query.$refs.cp.pager = true
126
- // 调用查询
127
- this.$refs.query.$refs.cp.$refs.cri.search()
128
- },
129
- 'loadPage' () {
130
- this.selectdata = {}
131
- // 关闭详细
132
- this.showtotal = false
133
- // 显示列表数据
134
- this.showData = true
135
- // 显示分页
136
- this.$refs.query.$refs.cp.pager = true
137
- // 调用查询
138
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
139
- }
140
- },
141
- watch: {
142
- }
143
- }
144
- </script>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <guan-xian-exploration-select v-ref:query :show-data="showData"></guan-xian-exploration-select>
6
+ </div>
7
+ <div v-if="showtotal" style="height: 89%">
8
+ <div class="col-sm-2" style="margin-top: 20px">
9
+ <guan-xian-supervisoryh-cart :selectdata="selectdata"></guan-xian-supervisoryh-cart>
10
+ </div>
11
+ <tabset v-ref:tabs :close="false" :active.sync="active">
12
+ <tab :header='selectdata.defname'>
13
+ <service-control v-ref:service :selectdata="selectdata"></service-control>
14
+ </tab>
15
+ <tab header='附件'>
16
+ <apply-upload :blodid="selectdata.f_process_id"
17
+ :isupload = "true"
18
+ :isdelete="true"
19
+ :isusetype="true"
20
+ :isremark = "true"
21
+ :takeimg="true"
22
+ :issearch="true"
23
+ :defname="selectdata.defname">
24
+ </apply-upload>
25
+ </tab>
26
+ </tabset>
27
+ </div>
28
+ </div>
29
+ </div>
30
+ </template>
31
+ <script>
32
+ import Vue from 'vue'
33
+ import {HttpResetClass} from 'vue-client'
34
+ export default {
35
+ title: '管线建设流程',
36
+ data () {
37
+ return {
38
+ showData: true, // 控制列表数据
39
+ showtotal: false, // 详情显示
40
+ selectdata: {},
41
+ xmlname: '', // 配置文件名
42
+ active: 0 // 配置文件名
43
+ }
44
+ },
45
+ ready () {
46
+ console.log('=============用户信息=================')
47
+ console.log(this.$login.f)
48
+ console.log(this.$login.r)
49
+ },
50
+ methods: {
51
+ // 获取页面配置json文件
52
+ async loadName () {
53
+
54
+ let data = {
55
+ workname: this.selectdata.processname
56
+ }
57
+ let res = await this.$resetpost(
58
+ 'rs/logic/ApplyGetConfigs',
59
+ {data: data},
60
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
61
+ )
62
+
63
+ Vue.prototype.$workflow_vue = res.data
64
+ }
65
+ },
66
+ events: {
67
+ 'onMessage' (data) {
68
+ console.log('接收消息')
69
+ console.log(data)
70
+ if (data.type === 'apply-task') {
71
+ this.$refs.query.$refs.cp.$refs.cri.search()
72
+ }
73
+ },
74
+ // 刷新控制层
75
+ async 'breakControl' (servicedata) {
76
+
77
+ if (servicedata.id) {
78
+ let data = {
79
+ condition: `u.id = ${servicedata.id}`,
80
+ data: {
81
+ userid: this.$login.f.id,
82
+ f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
83
+ }
84
+ }
85
+ let res = await this.$resetpost(
86
+ 'rs/sql/getGuanXianApply',
87
+ {data: data},
88
+ {resolveMsg: null, rejectMsg: '数据更新失败,请手查询更新!!!'}
89
+ )
90
+
91
+ this.selectdata = res.data[0]
92
+ } else {
93
+ this.selectdata = servicedata
94
+ }
95
+
96
+ this.showtotal = false
97
+ this.$nextTick(() => {
98
+ this.showtotal = true
99
+ })
100
+
101
+ },
102
+ // 初始化
103
+ async 'apply' (val) {
104
+ this.showtotal = false
105
+ this.selectdata = val
106
+
107
+ // 次方法必须同步执行,否则后续会出问题
108
+ // 获取页面json配置文件
109
+ await this.loadName()
110
+
111
+ // 显示详细
112
+ this.showtotal = true
113
+ // 关闭列表数据
114
+ this.showData = false
115
+ // 关闭分页
116
+ this.$refs.query.$refs.cp.pager = false
117
+ },
118
+ 'search' () {
119
+ this.selectdata = {}
120
+ // 关闭详细
121
+ this.showtotal = false
122
+ // 显示列表数据
123
+ this.showData = true
124
+ // 显示分页
125
+ this.$refs.query.$refs.cp.pager = true
126
+ // 调用查询
127
+ this.$refs.query.$refs.cp.$refs.cri.search()
128
+ },
129
+ 'loadPage' () {
130
+ this.selectdata = {}
131
+ // 关闭详细
132
+ this.showtotal = false
133
+ // 显示列表数据
134
+ this.showData = true
135
+ // 显示分页
136
+ this.$refs.query.$refs.cp.pager = true
137
+ // 调用查询
138
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
139
+ }
140
+ },
141
+ watch: {
142
+ }
143
+ }
144
+ </script>
@@ -1,133 +1,133 @@
1
- <template>
2
- <div class="flex-row">
3
- <div class="basic-main">
4
- <div :class="showData ? 'top' : 'auto'">
5
- <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
6
- </div>
7
- <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
8
- <tabset v-ref:tabs :close="false">
9
- <tab :header='selectdata.title'>
10
- <function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
11
- </tab>
12
- <tab header='附件'>
13
- <apply-upload :blodid="selectdata.f_process_id"
14
- :isupload = "isupload"
15
- :isdelete="true"
16
- :isusetype="true"
17
- :isremark = "true"
18
- :takeimg="false"
19
- :issearch="true"
20
- :defname="selectdata.defname"
21
- >
22
- </apply-upload>
23
- </tab>
24
- </tabset>
25
- </div>
26
- </div>
27
- </div>
28
-
29
- </template>
30
- <script>
31
- import Vue from 'vue'
32
- import {HttpResetClass} from 'vue-client'
33
- export default {
34
- title: '报建业务',
35
- data () {
36
- return {
37
- selectdata: null,
38
- showtotal: false, // 控制详情显示
39
- showData: true, // 控制列表数据
40
- isupload: false
41
- }
42
- },
43
- ready () {
44
- this.getConfig()
45
- },
46
- methods: {
47
- // 获取功能配置
48
- async getConfig () {
49
- let res = await this.$resetpost(
50
- 'rs/logic/ApplyGetFunction',
51
- null,
52
- {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
53
- )
54
- Vue.prototype.$function_vue = res.data
55
- }
56
- },
57
- events: {
58
- // 刷新控制层
59
- async 'breakControl' (servicedata) {
60
- let http = new HttpResetClass()
61
- let data = {
62
- condition: `u.id = ${servicedata.id}`,
63
- data: {
64
- f_filiale: this.$login.f.f_fengongsi
65
- }
66
- }
67
-
68
- let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
69
- resolveMsg: null,
70
- rejectMsg: '数据更新失败!!!'
71
- })
72
-
73
- this.showtotal = false
74
-
75
- this.selectdata = Object.assign({}, this.selectdata, res.data[0])
76
-
77
- this.$nextTick(() => {
78
- this.showtotal = true
79
- })
80
- },
81
- // 查询
82
- 'search' () {
83
- // 关闭详细
84
- this.showtotal = false
85
- // 显示列表数据
86
- this.showData = true
87
- // 显示分页
88
- this.$refs.query.$refs.cp.pager = true
89
- // 调用查询
90
- this.$refs.query.$refs.cp.$refs.cri.search()
91
- },
92
- 'loadPage' () {
93
- // 关闭详细
94
- this.showtotal = false
95
- // 显示列表数据
96
- this.showData = true
97
- // 显示分页
98
- this.$refs.query.$refs.cp.pager = true
99
- // 调用查询
100
- this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
101
- },
102
- // 点击功能操作
103
- 'func' (funcdata, row) {
104
- this.selectdata = Object.assign({}, funcdata, row)
105
- this.isupload = funcdata.title === '图纸变更';
106
- console.log("当前按钮",funcdata.title)
107
- // 关闭分页
108
- this.$refs.query.$refs.cp.pager = false
109
- // 关闭列表数据
110
- this.showData = false
111
-
112
- this.$nextTick(() => {
113
- this.showtotal = true
114
- })
115
- }
116
- }
117
- }
118
- </script>
119
- <style scoped>
120
- /*清除浮动*/
121
- .clearfix:after,.clearfix:before{
122
- display: table;
123
- }
124
- .clearfix:after{
125
- clear: both;
126
- }
127
- .head{
128
- height: auto;
129
- font-weight: bold;
130
- color: #000000;
131
- font-family: 微软雅黑;
132
- }
133
- </style>
1
+ <template>
2
+ <div class="flex-row">
3
+ <div class="basic-main">
4
+ <div :class="showData ? 'top' : 'auto'">
5
+ <installinfoselect :show-data="showData" v-ref:query></installinfoselect>
6
+ </div>
7
+ <div v-if="showtotal" class="panel panel-info" style="height: 90%;">
8
+ <tabset v-ref:tabs :close="false">
9
+ <tab :header='selectdata.title'>
10
+ <function-service-control v-ref:service :selectdata="selectdata"></function-service-control>
11
+ </tab>
12
+ <tab header='附件'>
13
+ <apply-upload :blodid="selectdata.f_process_id"
14
+ :isupload = "isupload"
15
+ :isdelete="true"
16
+ :isusetype="true"
17
+ :isremark = "true"
18
+ :takeimg="false"
19
+ :issearch="true"
20
+ :defname="selectdata.defname"
21
+ >
22
+ </apply-upload>
23
+ </tab>
24
+ </tabset>
25
+ </div>
26
+ </div>
27
+ </div>
28
+
29
+ </template>
30
+ <script>
31
+ import Vue from 'vue'
32
+ import {HttpResetClass} from 'vue-client'
33
+ export default {
34
+ title: '报建业务',
35
+ data () {
36
+ return {
37
+ selectdata: null,
38
+ showtotal: false, // 控制详情显示
39
+ showData: true, // 控制列表数据
40
+ isupload: false
41
+ }
42
+ },
43
+ ready () {
44
+ this.getConfig()
45
+ },
46
+ methods: {
47
+ // 获取功能配置
48
+ async getConfig () {
49
+ let res = await this.$resetpost(
50
+ 'rs/logic/ApplyGetFunction',
51
+ null,
52
+ {resolveMsg: null, rejectMsg: '配置数据获取失败!!!'}
53
+ )
54
+ Vue.prototype.$function_vue = res.data
55
+ }
56
+ },
57
+ events: {
58
+ // 刷新控制层
59
+ async 'breakControl' (servicedata) {
60
+ let http = new HttpResetClass()
61
+ let data = {
62
+ condition: `u.id = ${servicedata.id}`,
63
+ data: {
64
+ f_filiale: this.$login.f.f_fengongsi?this.$login.f.f_fengongsi:'榆林.榆川天然气'
65
+ }
66
+ }
67
+
68
+ let res = await http.load('POST', 'rs/sql/checkuserfunction', {data:data}, {
69
+ resolveMsg: null,
70
+ rejectMsg: '数据更新失败!!!'
71
+ })
72
+
73
+ this.showtotal = false
74
+
75
+ this.selectdata = Object.assign({}, this.selectdata, res.data[0])
76
+
77
+ this.$nextTick(() => {
78
+ this.showtotal = true
79
+ })
80
+ },
81
+ // 查询
82
+ 'search' () {
83
+ // 关闭详细
84
+ this.showtotal = false
85
+ // 显示列表数据
86
+ this.showData = true
87
+ // 显示分页
88
+ this.$refs.query.$refs.cp.pager = true
89
+ // 调用查询
90
+ this.$refs.query.$refs.cp.$refs.cri.search()
91
+ },
92
+ 'loadPage' () {
93
+ // 关闭详细
94
+ this.showtotal = false
95
+ // 显示列表数据
96
+ this.showData = true
97
+ // 显示分页
98
+ this.$refs.query.$refs.cp.pager = true
99
+ // 调用查询
100
+ this.$refs.query.$refs.cp.loadPage(this.$refs.query.model.pageIndex)
101
+ },
102
+ // 点击功能操作
103
+ 'func' (funcdata, row) {
104
+ this.selectdata = Object.assign({}, funcdata, row)
105
+ this.isupload = funcdata.title === '图纸变更';
106
+ console.log("当前按钮",funcdata.title)
107
+ // 关闭分页
108
+ this.$refs.query.$refs.cp.pager = false
109
+ // 关闭列表数据
110
+ this.showData = false
111
+
112
+ this.$nextTick(() => {
113
+ this.showtotal = true
114
+ })
115
+ }
116
+ }
117
+ }
118
+ </script>
119
+ <style scoped>
120
+ /*清除浮动*/
121
+ .clearfix:after,.clearfix:before{
122
+ display: table;
123
+ }
124
+ .clearfix:after{
125
+ clear: both;
126
+ }
127
+ .head{
128
+ height: auto;
129
+ font-weight: bold;
130
+ color: #000000;
131
+ font-family: 微软雅黑;
132
+ }
133
+ </style>