apply-clients 3.4.1 → 3.4.2

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.
Files changed (40) hide show
  1. package/build/css-loaders.js +34 -0
  2. package/build/dev-android.js +101 -0
  3. package/build/dev-client.js +8 -0
  4. package/build/dev-server-app.js +76 -0
  5. package/build/dev-server.js +119 -0
  6. package/build/example-server.js +80 -0
  7. package/build/release.sh +28 -0
  8. package/build/utils.js +80 -0
  9. package/build/webpack.base.conf.js +84 -0
  10. package/build/webpack.baseandroid.conf.js +84 -0
  11. package/build/webpack.dev.conf.js +39 -0
  12. package/build/webpack.devandroid.conf.js +34 -0
  13. package/build/webpack.example.conf.js +49 -0
  14. package/build/webpack.prod.conf.js +60 -0
  15. package/build/webpack.prodandroid.conf.js +60 -0
  16. package/build/webpack.test.conf.js +31 -0
  17. package/package.json +1 -1
  18. package/src/AndroidApp.vue +2 -2
  19. package/src/applyAndroid.js +1 -0
  20. package/src/components/android/AppSign.vue +3 -3
  21. package/src/components/build/Install/ExplorationUser.vue +304 -0
  22. package/src/components/build/Install/Process/zhongran/ZR_Design.vue +537 -0
  23. package/src/components/product/Process/Service/ServiceControl.vue +10 -10
  24. package/src/filiale/yuchuan/android/Process/AppServiceControl.vue +221 -38
  25. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetails.vue +85 -15
  26. package/src/filiale/yuchuan/android/Process/Processes/AppInstallationDetailsCivil.vue +650 -0
  27. package/src/filiale/yuchuan/android/Sign/AppSignTask.vue +182 -0
  28. package/src/filiale/yuchuan/android/Sign/BuildSign.vue +50 -0
  29. package/src/filiale/yuchuan/android/Sign/ConstructSign.vue +50 -0
  30. package/src/filiale/yuchuan/android/Sign/DesignSign.vue +50 -0
  31. package/src/filiale/yuchuan/android/Sign/SupervisorSign.vue +50 -0
  32. package/src/filiale/yuchuan/android/Task/Build/BuildTsak.vue +60 -0
  33. package/src/filiale/yuchuan/android/Task/Survey/SurveyTsak.vue +1 -1
  34. package/src/filiale/yuchuan/android.js +8 -1
  35. package/src/filiale/yuchuan/pc/Process/ExplorationUser.vue +3 -1
  36. package/src/filiale/yuchuan/pc/Process/Processes/ApplyMapCom.vue +1 -0
  37. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetails.vue +60 -10
  38. package/src/filiale/yuchuan/pc/Process/Processes/InstallationDetailsCivil.vue +595 -0
  39. package/src/filiale/yuchuan/pc/Process/Service/ServiceControl.vue +208 -13
  40. package/src/filiale/yuchuan/pc.js +2 -1
@@ -0,0 +1,39 @@
1
+ var webpack = require('webpack')
2
+ var merge = require('webpack-merge')
3
+ var baseConfig = require('./webpack.base.conf')
4
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
5
+
6
+ // add hot-reload related code to entry chunks
7
+ Object.keys(baseConfig.entry).forEach(function (name) {
8
+ baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
9
+ })
10
+
11
+ module.exports = merge(baseConfig, {
12
+ // eval-source-map is faster for development
13
+ devtool: '#eval-source-map',
14
+ output: {
15
+ // necessary for the html plugin to work properly
16
+ // when serving the html from in-memory
17
+ publicPath: '/'
18
+ },
19
+ plugins: [
20
+ // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
21
+ new webpack.optimize.OccurenceOrderPlugin(),
22
+ new webpack.HotModuleReplacementPlugin(),
23
+ new webpack.NoErrorsPlugin(),
24
+ // https://github.com/ampedandwired/html-webpack-plugin
25
+ new HtmlWebpackPlugin({
26
+ filename: 'index.html',
27
+ template: 'index.html',
28
+ inject: true,
29
+ chunks: ['app']
30
+ }),
31
+ // 安卓模拟页面
32
+ new HtmlWebpackPlugin({
33
+ filename: 'android.html',
34
+ template: 'android.html',
35
+ inject: true,
36
+ chunks: ['android-app']
37
+ })
38
+ ]
39
+ })
@@ -0,0 +1,34 @@
1
+ var webpack = require('webpack')
2
+ var merge = require('webpack-merge')
3
+ var baseConfig = require('./webpack.baseandroid.conf')
4
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
5
+
6
+ // add hot-reload related code to entry chunks
7
+ Object.keys(baseConfig.entry).forEach(function (name) {
8
+ baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
9
+ })
10
+
11
+ module.exports = merge(baseConfig, {
12
+ // eval-source-map is faster for development
13
+ devtool: 'source-map',
14
+ //devtool: '#eval-source-map',
15
+ output: {
16
+ // necessary for the html plugin to work properly
17
+ // when serving the html from in-memory
18
+ publicPath: '/'
19
+ },
20
+ plugins: [
21
+ // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
22
+ new webpack.optimize.OccurenceOrderPlugin(),
23
+ new webpack.HotModuleReplacementPlugin(),
24
+ new webpack.NoErrorsPlugin(),
25
+ // https://github.com/ampedandwired/html-webpack-plugin
26
+ //plugin trick
27
+ new HtmlWebpackPlugin({
28
+ filename: 'android.html',
29
+ template: 'android.html',
30
+ inject: true,
31
+ chunks: ['android-app']
32
+ })
33
+ ]
34
+ })
@@ -0,0 +1,49 @@
1
+ var fs = require('fs')
2
+ var webpack = require('webpack')
3
+ var merge = require('webpack-merge')
4
+ var baseConfig = require('./webpack.base.conf')
5
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
6
+
7
+ // add hot-reload related code to entry chunks
8
+ Object.keys(baseConfig.entry).forEach(function (name) {
9
+ baseConfig.entry[name] = ['./build/dev-client'].concat(baseConfig.entry[name])
10
+ })
11
+
12
+ // 把examples下所有index.html转换成测试例子.html
13
+ fs.readdirSync('./examples').forEach((file) => {
14
+ baseConfig.plugins.push(
15
+ // https://github.com/ampedandwired/html-webpack-plugin
16
+ new HtmlWebpackPlugin({
17
+ filename: file + '.html',
18
+ template: `examples/${file}/index.html`,
19
+ inject: false
20
+ })
21
+ )
22
+ })
23
+
24
+ // 把examples下子目录里的main.js打包成对应组件名的App.js
25
+ fs.readdirSync('./examples').forEach((file) => {
26
+ baseConfig.entry[file + 'App'] = `./examples/${file}/main.js`
27
+ })
28
+
29
+ module.exports = merge(baseConfig, {
30
+ // eval-source-map is faster for development
31
+ devtool: '#eval-source-map',
32
+ output: {
33
+ // necessary for the html plugin to work properly
34
+ // when serving the html from in-memory
35
+ publicPath: '/'
36
+ },
37
+ plugins: [
38
+ // https://github.com/glenjamin/webpack-hot-middleware#installation--usage
39
+ new webpack.optimize.OccurenceOrderPlugin(),
40
+ new webpack.HotModuleReplacementPlugin(),
41
+ new webpack.NoErrorsPlugin(),
42
+ // https://github.com/ampedandwired/html-webpack-plugin
43
+ new HtmlWebpackPlugin({
44
+ filename: 'index.html',
45
+ template: 'index.html',
46
+ inject: true
47
+ })
48
+ ]
49
+ })
@@ -0,0 +1,60 @@
1
+ var webpack = require('webpack')
2
+ var merge = require('webpack-merge')
3
+ var baseConfig = require('./webpack.base.conf')
4
+ var cssLoaders = require('./css-loaders')
5
+ var ExtractTextPlugin = require('extract-text-webpack-plugin')
6
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
7
+
8
+ // whether to generate source map for production files.
9
+ // disabling this can speed up the build.
10
+ var SOURCE_MAP = true
11
+
12
+ module.exports = merge(baseConfig, {
13
+ stats: {
14
+ children: false
15
+ },
16
+ devtool: SOURCE_MAP ? '#source-map' : false,
17
+ output: {
18
+ // naming output files with hashes for better caching.
19
+ // dist/index.html will be auto-generated with correct URLs.
20
+ filename: '[name][chunkhash].js',
21
+ chunkFilename: '[id].[chunkhash].js'
22
+ },
23
+ vue: {
24
+ loaders: cssLoaders({
25
+ sourceMap: SOURCE_MAP,
26
+ extract: true
27
+ })
28
+ },
29
+ plugins: [
30
+ // http://vuejs.github.io/vue-loader/workflow/production.html
31
+ new webpack.DefinePlugin({
32
+ 'process.env': {
33
+ NODE_ENV: '"production"'
34
+ }
35
+ }),
36
+ new webpack.optimize.UglifyJsPlugin({
37
+ compress: {
38
+ warnings: false
39
+ }
40
+ }),
41
+ new webpack.optimize.OccurenceOrderPlugin(),
42
+ // extract css into its own file
43
+ new ExtractTextPlugin('[name].css'),
44
+ // generate dist index.html with correct asset hash for caching.
45
+ // you can customize output by editing /index.html
46
+ // see https://github.com/ampedandwired/html-webpack-plugin
47
+ new HtmlWebpackPlugin({
48
+ filename: '../index.html',
49
+ template: 'index.html',
50
+ inject: true,
51
+ minify: {
52
+ removeComments: true,
53
+ collapseWhitespace: true,
54
+ removeAttributeQuotes: true
55
+ // more options:
56
+ // https://github.com/kangax/html-minifier#options-quick-reference
57
+ }
58
+ })
59
+ ]
60
+ })
@@ -0,0 +1,60 @@
1
+ var webpack = require('webpack')
2
+ var merge = require('webpack-merge')
3
+ var baseConfig = require('./webpack.baseandroid.conf')
4
+ var cssLoaders = require('./css-loaders')
5
+ var ExtractTextPlugin = require('extract-text-webpack-plugin')
6
+ var HtmlWebpackPlugin = require('html-webpack-plugin')
7
+
8
+ // whether to generate source map for production files.
9
+ // disabling this can speed up the build.
10
+ var SOURCE_MAP = true
11
+
12
+ module.exports = merge(baseConfig, {
13
+ stats: {
14
+ children: false
15
+ },
16
+ devtool: SOURCE_MAP ? '#source-map' : false,
17
+ output: {
18
+ // naming output files with hashes for better caching.
19
+ // dist/index.html will be auto-generated with correct URLs.
20
+ filename: '[name].js',
21
+ chunkFilename: '[id].js'
22
+ },
23
+ vue: {
24
+ loaders: cssLoaders({
25
+ sourceMap: SOURCE_MAP,
26
+ extract: true
27
+ })
28
+ },
29
+ plugins: [
30
+ // http://vuejs.github.io/vue-loader/workflow/production.html
31
+ new webpack.DefinePlugin({
32
+ 'process.env': {
33
+ NODE_ENV: '"production"'
34
+ }
35
+ }),
36
+ new webpack.optimize.UglifyJsPlugin({
37
+ compress: {
38
+ warnings: false
39
+ }
40
+ }),
41
+ new webpack.optimize.OccurenceOrderPlugin(),
42
+ // extract css into its own file
43
+ new ExtractTextPlugin('[name].css'),
44
+ // generate dist index.html with correct asset hash for caching.
45
+ // you can customize output by editing /index.html
46
+ // see https://github.com/ampedandwired/html-webpack-plugin
47
+ new HtmlWebpackPlugin({
48
+ filename: '../index.html',
49
+ template: 'android.html',
50
+ inject: true,
51
+ minify: {
52
+ removeComments: true,
53
+ collapseWhitespace: true,
54
+ removeAttributeQuotes: true
55
+ // more options:
56
+ // https://github.com/kangax/html-minifier#options-quick-reference
57
+ }
58
+ })
59
+ ]
60
+ })
@@ -0,0 +1,31 @@
1
+ // This is the webpack config used for unit tests.
2
+
3
+ var utils = require('./utils')
4
+ var webpack = require('webpack')
5
+ var merge = require('webpack-merge')
6
+ var baseConfig = require('./webpack.base.conf')
7
+
8
+ var webpackConfig = merge(baseConfig, {
9
+ module: {
10
+ rules: utils.styleLoaders()
11
+ },
12
+ // use inline sourcemap for karma-sourcemap-loader
13
+ devtool: '#inline-source-map',
14
+ resolveLoader: {
15
+ alias: {
16
+ // necessary to to make lang="scss" work in test when using vue-loader's ?inject option
17
+ // see discussion at https://github.com/vuejs/vue-loader/issues/724
18
+ 'scss-loader': 'sass-loader'
19
+ }
20
+ },
21
+ plugins: [
22
+ new webpack.DefinePlugin({
23
+ 'process.env': require('../config/test.env')
24
+ })
25
+ ]
26
+ })
27
+
28
+ // no need for app entry during tests
29
+ delete webpackConfig.entry
30
+
31
+ module.exports = webpackConfig
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apply-clients",
3
- "version": "3.4.1",
3
+ "version": "3.4.2",
4
4
  "description": "报建前端模块",
5
5
  "main": "src/index.js",
6
6
  "directories": {
@@ -2,12 +2,12 @@
2
2
  <!-- <app-base> -->
3
3
  <div id="android-app">
4
4
  <article>
5
- <route :comp="{name: 'app-exploration-user'}" name="root"></route>
5
+ <!-- <route :comp="{name: 'build-tsak'}" name="root"></route>-->
6
6
  <!-- <route :comp="{name: 'app-process-supervisory'}" name="root"></route>-->
7
7
  <!-- <route :comp="{name: 'apply-reserve'}" name="root"></route>-->
8
8
  <!-- <route :comp="{name: 'task-graph'}" name="root"></route>-->
9
9
  <!-- <route :comp="{name: 'app-istall-function'}" name="root"></route>-->
10
- <!-- <route :comp="{name: 'login-app'}" name="root"></route>-->
10
+ <route :comp="{name: 'login-app'}" name="root"></route>
11
11
  </article>
12
12
  <time-out></time-out>
13
13
  <message-box></message-box>
@@ -19,6 +19,7 @@ export default function (filiale) {
19
19
  Vue.component('app-service-view', (resolve) => { require(['./components/android/AppServiceView'], resolve) })
20
20
  Vue.component('app-onetomany', (resolve) => { require(['./components/android/AppOnetomany'], resolve) })
21
21
  Vue.component('task-graph', (resolve) => { require(['./components/android/TaskGraph'], resolve) })
22
+ Vue.component('app-sign', (resolve) => { require(['./components/android/AppSign'], resolve) })
22
23
 
23
24
  Vue.component('app-installation-details', (resolve) => { require(['./components/android/Process/Processes/AppInstallationDetails'], resolve) })
24
25
 
@@ -5,8 +5,8 @@
5
5
  <img :src="f_sign_path" width="100%" height="100%" />
6
6
  </div>
7
7
  <div class="row text-right form-group">
8
- <button class="btn" style="background-color: #f1e404;border-radius: 5px;margin-right: 10px" @click="clean">清除</button>
9
- <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign">签名</button>
8
+ <button class="btn" style="background-color: #f1e404;border-radius: 5px;margin-right: 10px" @click="clean" v-if="isclean">清除</button>
9
+ <button class="btn" style="background-color: #7dc1f4;border-radius: 5px;margin-right: 10px" @click="sign" v-if="issign">签名</button>
10
10
  </div>
11
11
  </div>
12
12
  </div>
@@ -20,7 +20,7 @@ import Vue from "vue";
20
20
 
21
21
  export default {
22
22
  title: '签字',
23
- props: ['filePath'],
23
+ props: ['filePath', 'isclean', 'issign'],
24
24
  data () {
25
25
  return {
26
26
  f_sign_path: null,
@@ -0,0 +1,304 @@
1
+ <template>
2
+ <div class="col-sm-12" style="overflow:auto;">
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 }">
8
+ <div class="col-sm-3" v-show="showbasic" v-if="!this.$login.f.f_fengongsi.includes('中燃')">
9
+ <basicinfo v-ref:binfo :basic="selectdata"></basicinfo>
10
+ <placeprocessinfo v-ref:pinfo :palceinfo="selectdata"></placeprocessinfo >
11
+ <projeterprocessinfo v-ref:jinfo :projeterinfo="selectdata"></projeterprocessinfo>
12
+ <feenormeinfo v-ref:finfo :feen="selectdata"></feenormeinfo>
13
+ <contratprocessinfo v-ref:cinfo :contrat="selectdata"></contratprocessinfo>
14
+ <feeverifierinfo v-ref:fvinfo :feev="selectdata"></feeverifierinfo>
15
+ <meterprocessinfo v-ref:minfo :meter="selectdata"></meterprocessinfo>
16
+ <dispatchinginfo v-ref:dinfo :dispatch="selectdata"></dispatchinginfo>
17
+ <buildinfo v-ref:buinfo :build="selectdata"></buildinfo>
18
+ <receivinginfo v-ref:ninfo :note="selectdata"></receivinginfo>
19
+ <ignitioninfo v-ref:iinfo :ignition="selectdata"></ignitioninfo>
20
+ </div>
21
+ <div class="col-sm-3" v-show="showbasic" v-if="this.$login.f.f_fengongsi.includes('中燃')">
22
+ <zr_basicinfo v-ref:binfo :basic="selectdata"></zr_basicinfo>
23
+ <zr_placeprocessinfo v-ref:pinfo :palceinfo="selectdata"></zr_placeprocessinfo>
24
+ <zr_feenormeinfo v-ref:finfo :feen="selectdata"></zr_feenormeinfo>
25
+ <zr_contratprocessinfo v-ref:cinfo :contrat="selectdata"></zr_contratprocessinfo>
26
+ <zr_materialplan_info v-ref:minfo :materialplan="selectdata"></zr_materialplan_info>
27
+ <zr_buildinfo v-ref:buinfo :build="selectdata"></zr_buildinfo>
28
+ <zr_dispatchinginfo v-ref:dinfo :dispatch="selectdata"></zr_dispatchinginfo>
29
+ <zr_receivinginfo v-ref:rinfo :note="selectdata"></zr_receivinginfo>
30
+ <zr_ignition_transfer_info v-ref:igntrinfo :transfer="selectdata"></zr_ignition_transfer_info>
31
+ <zr_ignitioninfo v-ref:iginfo :ignition="selectdata"></zr_ignitioninfo>
32
+
33
+ </div>
34
+ <div class="col-sm-9">
35
+ <tabset v-ref:tabs :close="false">
36
+ <tab :header='header'>
37
+ <route v-ref:route></route>
38
+ <route :comp="{name: 'customer-essential-info'}" v-if = "r1"></route>
39
+ </tab>
40
+ <tab header='户档案管理'>
41
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle1"
42
+ :edit = "true">
43
+ </customer-record-message>
44
+ </tab>
45
+ <tab header='表档案管理'>
46
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle2"
47
+ :edit = "true">
48
+ </customer-record-message>
49
+ </tab>
50
+ <tab header='材料信息'>
51
+ <customer-material-message v-ref:material :selectdata="selectdata"
52
+ :edit = "true">
53
+ </customer-material-message>
54
+ </tab>
55
+ <tab header='附件'>
56
+ <upload v-ref:file :blodid = "selectdata.f_process_id" :isusetype = "true" :isremark = "true" :defname="selectdata.defname"></upload>
57
+ <!--<customer-file v-ref:file :selectdata="selectdata"></customer-file>-->
58
+ </tab>
59
+ <tab header='设备新增' v-if="flagg">
60
+ <customer-equipment-message v-ref:equipment :selectdata="selectdata"
61
+ :edit = "true">
62
+ </customer-equipment-message>
63
+ </tab>
64
+ <!-- <tab header='设备管理' v-if="flagg">
65
+ <customer-record-message v-ref:record :selectdata="selectdata" :key="tittle3"></customer-record-message>
66
+ </tab>-->
67
+ </tabset>
68
+ </div>
69
+ </div>
70
+ </div>
71
+ </template>
72
+ <script>
73
+ export default {
74
+ title: '报建流程',
75
+ data() {
76
+ return {
77
+ flagg: false,
78
+ show: true,
79
+ showbasic: false,
80
+ showtotal: false,
81
+ header: null,
82
+ selectdata: {},
83
+ botheight: '0%',
84
+ topheight: '100%',
85
+ tittle1:'户档案管理',
86
+ tittle2:'表档案管理',
87
+ tittle3:'设备管理'
88
+ }
89
+ },
90
+ events: {
91
+ 'addactive'() {
92
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
93
+ this.hidden()
94
+ this.showbasic = true
95
+ this.topheight = '20%'
96
+ this.botheight = '80%'
97
+ },
98
+ 'changeheight'() {
99
+ this.show = true
100
+ this.botheight = '0%'
101
+ if(this.$login.f.f_fengongsi.includes('中燃')){
102
+ if (this.$refs.binfo) {
103
+ this.$refs.binfo.flush()
104
+ this.$refs.pinfo.flush()
105
+ this.$refs.finfo.flush()
106
+ this.$refs.cinfo.flush()
107
+ this.$refs.minfo.flush()
108
+ this.$refs.buinfo.flush()
109
+ this.$refs.dinfo.flush()
110
+ this.$refs.rinfo.flush()
111
+ this.$refs.rinfo.flush()
112
+ this.$refs.igntrinfo.flush()
113
+ this.$refs.iginfo.flush()
114
+ }
115
+ }else{
116
+ if (this.$refs.binfo) {
117
+ this.$refs.pinfo.flush()
118
+ this.$refs.jinfo.flush()
119
+ this.$refs.binfo.flush()
120
+ this.$refs.finfo.flush()
121
+ this.$refs.cinfo.flush()
122
+ this.$refs.fvinfo.flush()
123
+ this.$refs.minfo.flush()
124
+ this.$refs.dinfo.flush()
125
+ this.$refs.buinfo.flush()
126
+ this.$refs.ninfo.flush()
127
+ this.$refs.iinfo.flush()
128
+ }
129
+ }
130
+ },
131
+ 'check'(val) {
132
+ this.selectdata = ''
133
+ this.selectdata = val
134
+ console.log("节点编号:"+this.selectdata.actdefid,"节点名称:"+this.selectdata.defname)
135
+ this.topheight = '20%'
136
+ this.botheight = '80%'
137
+ this.$refs.queryuser.$refs.cp.$refs.grid.model.rows = [val]
138
+ this.$refs.queryuser.$refs.cp.pager = false
139
+ this.showbasic = true
140
+ let msg = val.defname
141
+ this.header = msg
142
+ this.hidden()
143
+ // 青白江博能燃气
144
+ if(this.$login.f.f_fengongsi.includes("博能")){
145
+ if(msg === '勘察登记'||msg === '方案材料预算'||msg === '方案材料预算审核'||msg === '方案材料预算经理审核'){
146
+ this.$refs.route.init('qbj_placecontroler', {selectdata: this.selectdata})
147
+ }
148
+ if (msg === '设计出图') {
149
+ this.$refs.route.init('projeterfigure', {selectdata: this.selectdata})
150
+ }
151
+ if (msg === '收费标准') {
152
+ this.$refs.route.init('feenorme', {selectdata: this.selectdata})
153
+ }
154
+ if (msg === '合同签订'
155
+ ||msg === '合同审核'
156
+ ||msg === '合同签订'
157
+ ||msg === '录入材料'
158
+ ||msg === '材料审核'
159
+ ||msg === '材料申购'
160
+ ) {
161
+ this.$refs.route.init('contratsigne', {selectdata: this.selectdata})
162
+ }
163
+ if (msg === '项目报价') {
164
+ this.$refs.route.init('feenormeandcontratsigne', {selectdata: this.selectdata})
165
+ }
166
+ if (msg === '收费审核') {
167
+ this.$refs.route.init('feeverifier', {selectdata: this.selectdata})
168
+ }
169
+ if (msg === '定表型'||msg === '现场勘察并项目初设'||msg === '方案审核') {
170
+ this.$refs.route.init('metertype', {selectdata: this.selectdata})
171
+ }
172
+ if (msg === '派工单'||msg === '工程派工并启动内验') {
173
+ this.$refs.route.init('dispatchingjob', {selectdata: this.selectdata})
174
+ }
175
+ if (msg === '施工') {
176
+ this.$refs.route.init('buildjob', {selectdata: this.selectdata})
177
+ }
178
+ if (msg === '竣工验收单'||msg ==='内部验收') {
179
+ this.$refs.route.init('receivingnote', {selectdata: this.selectdata})
180
+ }
181
+ if (msg === '通气点火'||msg === '停气碰口并外验通气'||msg === '工程结算'||msg === '资料归档') {
182
+ this.$refs.route.init('ignitionventilation', {selectdata: this.selectdata})
183
+ }
184
+ }else if(this.$login.f.f_fengongsi.includes("中燃")){
185
+ if(msg === '测绘设计申请'){
186
+ this.$refs.route.init('zr_placecontroler', {selectdata: this.selectdata,edit : true})
187
+ }
188
+ if(msg === '测试设计'){
189
+ this.$refs.route.init('zr_design', {selectdata: this.selectdata,edit : true})
190
+ }
191
+ if (msg === '报建登记') {
192
+ console.log(this.selectdata)
193
+ this.$refs.route.init('zr_customeressentialinfo', {selectdata: this.selectdata,edit : true})
194
+ console.log(this.$refs.record)
195
+ }
196
+ if (msg === '收费标准制定') {
197
+ this.$refs.route.init('zr_feenorme', {selectdata: this.selectdata,edit : true})
198
+ }
199
+ if (msg === '合同签订') {
200
+ this.$refs.route.init('zr_contratsigne', {selectdata: this.selectdata,edit : true})
201
+ }
202
+ if (msg === '材料计划') {
203
+ this.$refs.route.init('zr_materialplan', {selectdata: this.selectdata,edit : true})
204
+ }
205
+ if (msg === '施工报建') {
206
+ this.$refs.route.init('zr_construction', {selectdata: this.selectdata,edit : true})
207
+ }
208
+ if (msg === '工程施工任务书') {
209
+ this.$refs.route.init('zr_dispatchingjob', {selectdata: this.selectdata,edit : true})
210
+ }
211
+ if (msg === '竣工验收') {
212
+ this.$refs.route.init('zr_receivingnote', {selectdata: this.selectdata,edit : true})
213
+ }
214
+ if (msg === '资料移交') {
215
+ this.$refs.route.init('zr_ignitionventilation_transfer', {selectdata: this.selectdata,edit : true})
216
+ }
217
+ if (msg === '通气点火') {
218
+ this.$refs.route.init('zr_ignitionventilation', {selectdata: this.selectdata,edit : true})
219
+ }
220
+ } else {
221
+ if(msg === '勘探登记'){
222
+ this.$refs.route.init('qbj_placecontroler', {selectdata: this.selectdata})
223
+ }
224
+ if (msg === '报建登记') {
225
+ console.log(this.selectdata)
226
+ this.$refs.route.init('customer-essential-info', {selectdata: this.selectdata})
227
+ console.log(this.$refs.record)
228
+ }
229
+ if (msg === '现场勘探') {
230
+ this.$refs.route.init('placecontroler', {selectdata: this.selectdata})
231
+ }
232
+ if (msg === '设计出图') {
233
+ this.$refs.route.init('projeterfigure', {selectdata: this.selectdata})
234
+ }
235
+ if (msg === '收费标准') {
236
+ this.$refs.route.init('feenorme', {selectdata: this.selectdata})
237
+ }
238
+ if (msg === '合同签订'
239
+ ||msg === '合同审核'
240
+ ||msg === '合同签订'
241
+ ||msg === '录入材料'
242
+ ||msg === '材料审核'
243
+ ||msg === '材料申购'
244
+ ) {
245
+ this.$refs.route.init('contratsigne', {selectdata: this.selectdata})
246
+ }
247
+ if (msg === '项目报价并录入合同价格') {
248
+ this.$refs.route.init('feenormeandcontratsigne', {selectdata: this.selectdata})
249
+ }
250
+ if (msg === '收费审核') {
251
+ this.$refs.route.init('feeverifier', {selectdata: this.selectdata})
252
+ }
253
+ if (msg === '定表型'||msg === '现场勘察并项目初设'||msg === '方案审核') {
254
+ this.$refs.route.init('metertype', {selectdata: this.selectdata})
255
+ }
256
+ if (msg === '派工单'||msg === '工程派工并启动内验') {
257
+ this.$refs.route.init('dispatchingjob', {selectdata: this.selectdata})
258
+ }
259
+ if (msg === '施工') {
260
+ this.$refs.route.init('buildjob', {selectdata: this.selectdata})
261
+ }
262
+ if (msg === '竣工验收单'||msg ==='内部验收') {
263
+ this.$refs.route.init('receivingnote', {selectdata: this.selectdata})
264
+ }
265
+ if (msg === '通气点火'||msg === '停气碰口并外验通气'||msg === '工程结算'||msg === '资料归档') {
266
+ this.$refs.route.init('ignitionventilation', {selectdata: this.selectdata})
267
+ }
268
+ }
269
+ },
270
+ 'selfsearch'() {
271
+ this.$refs.queryuser.$refs.cp.$refs.cri.search()
272
+ },
273
+ 'close'() {
274
+ // this.selectdata = ''
275
+ this.hidden()
276
+ this.showtotal = false
277
+ this.topheight = '100%'
278
+ this.botheight = '0%'
279
+ this.$refs.queryuser.$refs.cp.pager = true
280
+ }
281
+ },
282
+ methods: {
283
+ hidden() {
284
+ this.showtotal = true
285
+ },
286
+ close() {
287
+ this.hidden()
288
+ this.topheight = '100%'
289
+ this.botheight = '0%'
290
+ }
291
+ },
292
+ watch: {
293
+ 'selectdata'(val) {
294
+ console.log('selectdata:', val)
295
+ },
296
+ 'selectdata.f_customer_type'() {
297
+ if (this.selectdata.f_customer_type == '企业') {
298
+ this.flagg = true
299
+ }
300
+ }
301
+ },
302
+
303
+ }
304
+ </script>