zkx 4 лет назад
Родитель
Сommit
30e5c75303

+ 0 - 6
README.md

@@ -14,8 +14,6 @@ yarn install
 ```
 yarn jserve [project]
 yarn jserve business
-yarn jserve home
-yarn jserve pension
 
 ```
 
@@ -23,16 +21,12 @@ yarn jserve pension
 ```
 yarn jbuild [project]
 yarn jbuild business
-yarn jbuild home
-yarn jbuild pension
 ```
 
 ### 测试环境打包,其中[project]为不同应用场景标识/src/projects文件夹中
 ```
 yarn jtest [project]
 yarn jtest business
-yarn jtest home
-yarn jtest pension
 ```
 
 ### 更多配置

+ 2 - 250
config/pages.js

@@ -26,7 +26,7 @@ const config = {
 				entry: 'src/projects/business/main.js',
 				template: 'index/business/index.html',
 				filename: 'index.html',
-				title: '小鹏管家' + title,
+				title: '湖北新生源生物工程有限公司' + title,
 			}
 		},
 		outputDir: 'dist/business',
@@ -68,255 +68,6 @@ const config = {
 			config.output.filename = `./static/js/[name].${Timestamp}.js`
 			config.output.chunkFilename = `./static/js/[name].${Timestamp}.js`
 
-			config.performance = {
-				hints: 'warning',
-				//入口起点的最大体积 整数类型(以字节为单位)
-				maxEntrypointSize: 50000000,
-				//生成文件的最大体积 整数类型(以字节为单位 300k)
-				maxAssetSize: 30000000,
-				//只给出 js 文件的性能提示
-				assetFilter: function(assetFilename) {
-					return assetFilename.endsWith('.js');
-				}
-			}
-		},
-	},
-	//住宅小区
-	residence: {
-		pages: {
-			index: {
-				entry: 'src/projects/residence/main.js',
-				template: 'index/residence/index.html',
-				filename: 'index.html',
-				title: '小鹏管家' + title,
-			}
-		},
-		outputDir: 'dist/residence',
-		devServer: {
-			host: '0.0.0.0',
-			port: 8080,
-			//解析缓存
-			disableHostCheck: true,
-			//支持gzip
-			compress: true,
-		},
-		chainWebpack: (config) => {
-			config.entry.app = ['babel-polyfill', '../src/projects/residence/main.js']
-			config.resolve.alias
-				.set('@', resolve('../src/projects/residence/'))
-				.set('$project', resolve('../src/'))
-				.set('$root', resolve('../'))
-
-			config.plugins.delete('preload-index');
-			config.plugins.delete('prefetch-index');
-
-			config.optimization.minimize(true);
-
-			//打包分析添加
-			//config.output.filename('js/[name].[hash].js').end();
-			//config.plugin('webpack-bundle-analyzer').use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
-		},
-		configureWebpack: (config) => {
-			//开启gzip压缩,需要配置Nginx服务器gzip选项开启
-			config.plugins.push(
-				new CompressionWebpackPlugin({
-					algorithm: 'gzip', //开启gzip
-					test: /\.js$|\.html$|.\css/, // 匹配文件名
-					threshold: 10240, // 对超过10k的数据压缩
-					deleteOriginalAssets: false // 不删除源文件
-				})
-			);
-
-			config.output.filename = `./static/js/[name].${Timestamp}.js`
-			config.output.chunkFilename = `./static/js/[name].${Timestamp}.js`
-
-			config.performance = {
-				hints: 'warning',
-				//入口起点的最大体积 整数类型(以字节为单位)
-				maxEntrypointSize: 50000000,
-				//生成文件的最大体积 整数类型(以字节为单位 300k)
-				maxAssetSize: 30000000,
-				//只给出 js 文件的性能提示
-				assetFilter: function(assetFilename) {
-					return assetFilename.endsWith('.js');
-				}
-			}
-		},
-	},
-	//机构/居家养老
-	pension: {
-		pages: {
-			index: {
-				entry: 'src/projects/pension/main.js',
-				template: 'index/pension/index.html',
-				filename: 'index.html',
-				title: '小鹏管家' + title,
-			}
-		},
-		outputDir: 'dist/pension',
-		devServer: {
-			host: '0.0.0.0',
-			port: 8080,
-			//解析缓存
-			disableHostCheck: true,
-			//支持gzip
-			compress: true,
-		},
-		chainWebpack: (config) => {
-			config.entry.app = ['babel-polyfill', '../src/projects/pension/main.js']
-			config.resolve.alias
-				.set('@', resolve('../src/projects/pension/'))
-				.set('$project', resolve('../src/'))
-				.set('$root', resolve('../'))
-
-			config.plugins.delete('preload-index');
-			config.plugins.delete('prefetch-index');
-
-			config.optimization.minimize(true);
-
-			//打包分析添加
-			//config.output.filename('js/[name].[hash].js').end();
-			//config.plugin('webpack-bundle-analyzer').use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
-		},
-		configureWebpack: (config) => {
-			//开启gzip压缩,需要配置Nginx服务器gzip选项开启
-			config.plugins.push(
-				new CompressionWebpackPlugin({
-					algorithm: 'gzip', //开启gzip
-					test: /\.js$|\.html$|.\css/, // 匹配文件名
-					threshold: 10240, // 对超过10k的数据压缩
-					deleteOriginalAssets: false // 不删除源文件
-				})
-			);
-
-			config.output.filename = `./static/js/[name].${Timestamp}.js`
-			config.output.chunkFilename = `./static/js/[name].${Timestamp}.js`
-
-			config.performance = {
-				hints: 'warning',
-				//入口起点的最大体积 整数类型(以字节为单位)
-				maxEntrypointSize: 50000000,
-				//生成文件的最大体积 整数类型(以字节为单位 300k)
-				maxAssetSize: 30000000,
-				//只给出 js 文件的性能提示
-				assetFilter: function(assetFilename) {
-					return assetFilename.endsWith('.js');
-				}
-			}
-		},
-	},
-	//入口
-	home: {
-		pages: {
-			index: {
-				entry: 'src/projects/home/main.js',
-				template: 'index/home/index.html',
-				filename: 'index.html',
-				title: '小鹏管家' + title,
-			}
-		},
-		outputDir: 'dist/home',
-		devServer: {
-			host: '0.0.0.0',
-			port: 8080,
-			//解析缓存
-			disableHostCheck: true,
-			//支持gzip
-			compress: true,
-		},
-		chainWebpack: (config) => {
-			config.entry.app = ['babel-polyfill', '../src/projects/home/main.js']
-			config.resolve.alias
-				.set('@', resolve('../src/projects/home/'))
-				.set('$project', resolve('../src/'))
-				.set('$root', resolve('../'))
-
-			config.plugins.delete('preload-index');
-			config.plugins.delete('prefetch-index');
-
-			config.optimization.minimize(true);
-
-			//打包分析添加
-			//config.output.filename('js/[name].[hash].js').end();
-			//config.plugin('webpack-bundle-analyzer').use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
-		},
-		configureWebpack: (config) => {
-			//开启gzip压缩,需要配置Nginx服务器gzip选项开启
-			config.plugins.push(
-				new CompressionWebpackPlugin({
-					algorithm: 'gzip', //开启gzip
-					test: /\.js$|\.html$|.\css/, // 匹配文件名
-					threshold: 10240, // 对超过10k的数据压缩
-					deleteOriginalAssets: false // 不删除源文件
-				})
-			);
-
-			config.output.filename = `./static/js/[name].${Timestamp}.js`
-			config.output.chunkFilename = `./static/js/[name].${Timestamp}.js`
-
-			config.performance = {
-				hints: 'warning',
-				//入口起点的最大体积 整数类型(以字节为单位)
-				maxEntrypointSize: 50000000,
-				//生成文件的最大体积 整数类型(以字节为单位 300k)
-				maxAssetSize: 30000000,
-				//只给出 js 文件的性能提示
-				assetFilter: function(assetFilename) {
-					return assetFilename.endsWith('.js');
-				}
-			}
-		},
-	},
-
-	//停车收费
-	parking: {
-		pages: {
-			index: {
-				entry: 'src/projects/parking/main.js',
-				template: 'index/parking/index.html',
-				filename: 'index.html',
-				title: '小鹏管家停车收费' + title,
-			}
-		},
-		outputDir: 'dist/parking',
-		devServer: {
-			host: '0.0.0.0',
-			port: 8080,
-			//解析缓存
-			disableHostCheck: true,
-			//支持gzip
-			compress: true,
-		},
-		chainWebpack: (config) => {
-			config.entry.app = ['babel-polyfill', '../src/projects/parking/main.js']
-			config.resolve.alias
-				.set('@', resolve('../src/projects/parking/'))
-				.set('$project', resolve('../src/'))
-				.set('$root', resolve('../'))
-
-			config.plugins.delete('preload-index');
-			config.plugins.delete('prefetch-index');
-
-			config.optimization.minimize(true);
-
-			//打包分析添加
-			//config.output.filename('js/[name].[hash].js').end();
-			//config.plugin('webpack-bundle-analyzer').use(require('webpack-bundle-analyzer').BundleAnalyzerPlugin)
-		},
-		configureWebpack: config => {
-			//开启gzip压缩,需要配置Nginx服务器gzip选项开启
-			config.plugins.push(
-				new CompressionWebpackPlugin({
-					algorithm: 'gzip', //开启gzip
-					test: /\.js$|\.html$|.\css/, // 匹配文件名
-					threshold: 10240, // 对超过10k的数据压缩
-					deleteOriginalAssets: false // 不删除源文件
-				})
-			);
-
-			config.output.filename = `./static/js/[name].${Timestamp}.js`
-			config.output.chunkFilename = `./static/js/[name].${Timestamp}.js`
-
 			config.performance = {
 				hints: 'warning',
 				//入口起点的最大体积 整数类型(以字节为单位)
@@ -330,6 +81,7 @@ const config = {
 			}
 		},
 	}
+
 }
 
 const configObj = config[projectName.name]

BIN
index/home/favicon.ico


+ 0 - 137
index/home/index.html

@@ -1,137 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh-cn">
-	<head>
-		<script>
-			//加载开始时间
-			var start_time = (new Date()).getTime();
-			var route_path = window.location.href.split("#")[1].replace(/\?.*/, '')
-		</script>
-
-		<meta charset="utf-8">
-		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
-		<meta http-equiv="X-UA-Compatible" content="IE=edge,IE=IE9">
-		<meta http-equiv="X-UA-Compatible" content="IE=edge">
-		<meta name="apple-mobile-web-app-capable" content="yes">
-		<meta name="apple-touch-fullscreen" content="yes">
-		<meta name="aformat-detection" content="telephone=no,email=no">
-		<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no,viewport-fit=cover">
-		<link rel="icon" href="<%= BASE_URL %>favicon.ico">
-		<title>
-			<%= htmlWebpackPlugin.options.title %>
-		</title>
-
-		<style>
-			body{-webkit-text-size-adjust: 100% !important;}
-			#z-loading-2 .index-title{
-				padding:60% 0 0;
-				text-align: center;
-				font-size: 30px;
-				color: #666;
-			}
-			#z-loading-2 .index-xxd{
-				color:#666;
-				text-align: center;
-				font-size: 15px;
-				margin-top: 15px;
-			}
-			#z-loading-2 .index-load{
-				text-align: center;
-				color:#666;
-				/* border-radius: 50%; */
-				font-size: 12px;
-				position: absolute;
-				bottom: 30px;
-				right: 30px;
-				/* width: 20px;
-				height: 20px;
-				background: #ddd; */
-			}
-		</style>
-	</head>
-	<body>
-		<noscript>
-			<strong>
-				We're sorry but
-				<%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to
-				continue.
-			</strong>
-		</noscript>
-
-		<div id="z-loading-2" style="display: block;position:fixed;left:0px;top:0px;bottom:0px;right:0px;z-index: 999;background-color: #fff;">
-			<div style="width:100%;text-align: center;height: 100%;">
-				<img src="http://oss.xiaoxinda.com/jp_housekeeper/img/%E5%B0%8F%E9%B9%8F%E7%AE%A1%E5%AE%B6loadingBgMaxRed-tuya.webp" style="width: 100%;height: 100%;"
-				 id="qdt" />
-				<div class="index-load" id="index-load" style="display:block"></div>
-			</div>
-		</div>
-		<script>
-			var indexSetInval;
-			var indexStartNum = 1;
-			indexSetInval = setInterval(function() {
-				indexStartNum++;
-				var str = '加载中' + ((indexStartNum % 2 == 0) ? '…' : '……');
-				document.getElementById('index-load').innerHTML = str;
-			}, 1000)
-		</script>
-
-		<div id="app"></div>
-
-
-		<script>
-			document.onreadystatechange = function() {
-				if (document.readyState == "complete") {
-					clearInterval(indexSetInval);
-					//removeLoading()
-					var end_time = (new Date()).getTime();
-					var loading_time = end_time - start_time;
-					console.log(((loading_time) / 1000).toString() + '秒');
-					if (loading_time < 2000) {
-						setTimeout(function() {
-							removeLoading();
-						}, 2000 - (loading_time));
-					} else {
-						removeLoading()
-					}
-				}
-			}
-
-			function removeLoading() {
-				if (document.getElementById('z-loading-2').style.display != 'none') {
-					var loading = document.getElementById('z-loading-2');
-				}
-				document.body.removeChild(loading);
-			}
-		</script>
-
-
-		<script type="text/javascript">
-			(function() {
-				if (typeof WeixinJSBridge == "object" && typeof WeixinJSBridge.invoke == "function") {
-					handleFontSize();
-				} else {
-					if (document.addEventListener) {
-						document.addEventListener("WeixinJSBridgeReady", handleFontSize, false);
-					} else if (document.attachEvent) {
-						document.attachEvent("WeixinJSBridgeReady", handleFontSize);
-						document.attachEvent("onWeixinJSBridgeReady", handleFontSize);
-					}
-				}
-
-				function handleFontSize() {
-					/*设置网页字体为默认大小*/
-					WeixinJSBridge.invoke('setFontSizeCallback', {
-						'fontSize': 0
-					});
-					/*重写设置网页字体大小的事件*/
-					WeixinJSBridge.on('menu:setfont', function() {
-						WeixinJSBridge.invoke('setFontSizeCallback', {
-							'fontSize': 0
-						});
-					});
-				}
-			})();
-		</script>
-
-		<script src="https://hm.baidu.com/hm.js?70f1b4bfc1d017e50a488b34b9dcc02c"></script>
-	</body>
-</html>

BIN
src/assets/img/fx01.jpg


BIN
src/assets/img/huodo.png


+ 1 - 1
src/components/Common.vue

@@ -176,7 +176,7 @@
 				if (this.projectCheck && this.$route.query.exchange != '1' && this.person_popedom && this.person_popedom.sceneId) {
 					let project = Dictionaries.getProject(this.person_popedom.sceneId);
 					if (projectName.name != project ) {
-						window.location.href = '/#/master';
+						window.location.href = '#/master';
 					}
 				}
 			},

+ 1 - 1
src/projects/business/main.js

@@ -9,7 +9,7 @@ import {
 } from '$project/utils/storage'
 
 //引入mui
-import mui from '$project/assets/js/mui.js'
+import mui from '$project/assets/js/mui.min.js'
 import '$project/assets/css/mui.min.css'
 import Vconsole from 'vconsole'
 

+ 1 - 59
src/projects/business/router/other.js

@@ -1,63 +1,5 @@
 const routesOther = [
-	//监管监测页面
-	{
-		path: '/other',
-		component: () => import('../views/Layout.vue'),
-		children: [
-			//返乡调查
-			{
-				path: 'return',
-				component: () => import('../views/Layout.vue'),
-				children: [
-					//返乡调查问卷
-					{
-						path: 'questionnaire',
-						name: 'OtherReturnQuestionnaire',
-						component: () => import('../views/Other/Return/Questionnaire.vue'),
-						meta: {
-							requireAuth: false,
-							role: [],
-							title: '返乡调查问卷',
-						},
-					},
-					//返乡调查问卷成功页面
-					{
-						path: 'success',
-						name: 'OtherReturnSuccess',
-						component: () => import('../views/Other/Return/Success.vue'),
-						meta: {
-							requireAuth: false,
-							role: [],
-							title: '返乡调查问卷成功页面',
-						},
-					},
-					//返乡调查管理列表
-					{
-						path: 'list',
-						name: 'OtherReturnList',
-						component: () => import('../views/Other/Return/List.vue'),
-						meta: {
-							requireAuth: true,
-							role: [],
-							title: '返乡调查管理列表',
-							mode: true
-						},
-					},
-					//返乡调查管理详情
-					{
-						path: 'info',
-						name: 'OtherReturnInfo',
-						component: () => import('../views/Other/Return/Info.vue'),
-						meta: {
-							requireAuth: false,
-							role: [],
-							title: '返乡调查管理详情',
-						},
-					},
-				]
-			},
-		],
-	},
+	
 ]
 
 export default routesOther

+ 1 - 1
src/projects/business/views/Guest/From/Add.vue

@@ -86,7 +86,7 @@
 
 
 <script>
-	require('$project/assets/js/mui.js');
+	require('$project/assets/js/mui.min.js');
 
 	require('$project/assets/js/mui.picker.min.js');
 

+ 1 - 1
src/projects/business/views/Master/Activity/Template.vue

@@ -10,7 +10,7 @@
 			</div>
 			<div class="vongi-hddat-text">
 				<div class="vongi-hddat-cont">
-					<p><img src="~$project/assets/img/huodo.png" width="100%" /></p>
+				
 					<p>名都喜欢羽毛球的业主朋友们,快快投入组织的怀抱吧——名都业主“羽你同行”俱乐部欢迎你!</p>
 					<p>扫码入群,为健康动起来 ↓</p>
 				</div>

+ 0 - 262
src/projects/business/views/Other/Return/Info.vue

@@ -1,262 +0,0 @@
-<template>
-	<div>
-		<common @asynCallBack="asynCallBack"></common>
-		<top-header :pageTitle="pageTitle"></top-header>
-
-		<div class="mui-content vongi-fx-dat">
-			<div class="vongi-fx-dattop">
-				<div class="vongi-fx-card">
-					<h1>{{detail.name}} {{detail.sex=='1'?'男':'女'}}</h1>
-					<h4 class="flew-items"><span class="iconfont icon-shouji"></span>{{detail.phone}}</h4>
-					<h4 class="flew-items"><span class="iconfont icon-zhengjian"></span>{{detail.idCard}}</h4>
-					<h4 class=""><span class="iconfont icon-shouye"></span>{{liveRegionIdName}} {{detail.liveDetailAddress}}</h4>
-				</div>
-				<a @click="tel(detail.phone)">
-					<span class="iconfont icon-dianhua3"></span>
-					<div class="mui-media-body">拨打电话</div>
-				</a>
-			</div>
-			<div class="mui-content-padded vongi-editme vongi-qingjiadt">
-				<form class="mui-input-group">
-					<div class="mui-input-row ">
-						<label style="width:35%">返乡类型</label>
-						<span style="width:65%" v-text="typeName"></span>
-					</div>
-					<div class="mui-input-row">
-						<label>始发地</label>
-						<span class="vongi-span" v-text="originIdName+detail.originDetailAddress"></span>
-					</div>
-					<div class="mui-input-row">
-						<label>途径地</label>
-						<span class="vongi-span" v-text="detail.avenuePlace"></span>
-					</div>
-					<div class="mui-input-row">
-						<label>返乡乘坐交通工具情况</label>
-						<span class="vongi-span" v-text="detail.vehicle"></span>
-					</div>
-					<div class="mui-input-row">
-						<label style="width:70%">返乡时间(已到/预计)</label>
-						<span style="width:30%" v-text="detail.arriveTime"></span>
-					</div>
-					<div class="mui-input-row ">
-						<label style="width:70%">是否有7日内核酸检测阴性证明</label>
-						<span style="width:30%" v-text="detail.haveCheck?'是':'否'"></span>
-					</div>
-					<div v-if="detail.remark" class="mui-input-row">
-						<label>备注</label>
-						<span class="vongi-span" v-text="detail.remark"></span>
-					</div>
-				</form>
-			</div>
-			<div v-if="detail.checkImageUrl || detail.travelImageUrl || detail.healthCodeUrl" class="mui-content-padded vongi-fx-datpot">
-				<h4>相关证明图片</h4>
-				<ul class="mui-table-view mui-grid-view mui-grid-9">
-					<li v-if="detail.checkImageUrl" class="mui-table-view-cell mui-media mui-col-xs-4">
-						<a>
-							<div class="mui-media-object">
-								<img :src="detail.checkImageUrl">
-							</div>
-							<div class="mui-media-body">7日内核酸检测阴性证明</div>
-						</a>
-					</li>
-					<li v-if="detail.travelImageUrl" class="mui-table-view-cell mui-media mui-col-xs-4">
-						<a>
-							<div class="mui-media-object">
-								<img :src="detail.travelImageUrl">
-							</div>
-							<div class="mui-media-body">“行程卡”截图</div>
-						</a>
-					</li>
-					<li v-if="detail.healthCodeUrl" class="mui-table-view-cell mui-media mui-col-xs-4">
-						<a>
-							<div class="mui-media-object">
-								<img :src="detail.healthCodeUrl">
-							</div>
-							<div class="mui-media-body">本人健康码截图</div>
-						</a>
-					</li>
-				</ul>
-			</div>
-		</div>
-
-		<loading :visible="isLoading"></loading>
-	</div>
-</template>
-
-<script>
-	import * as API_return from '@/apis/Other/return'
-	import Common from '$project/components/Common.vue'
-	import Loading from '$project/components/Loading.vue'
-	import TopHeader from '$project/components/TopHeader.vue'
-	import {
-		mapGetters,
-		mapMutations
-	} from 'vuex'
-	export default {
-		name: 'OtherReturnInfo',
-		components: {
-			Common,
-			Loading,
-			TopHeader
-		},
-		data() {
-			return {
-				isLoading: false,
-
-				pageTitle: '返乡人员登记详情',
-
-				id: this.$route.query.id,
-
-				detail: {},
-
-				typeList: [{
-						value: '1',
-						text: '境外返乡',
-						dec: '',
-					},
-					{
-						value: '2',
-						text: '国内中高风险地区',
-						dec: '',
-					},
-					{
-						value: '3',
-						text: '省内从事冷链行业',
-						dec: '注:包含进口冷链食品从业人员、口岸直接接触进口货物从业人员、隔离场所工作人员、交通运输工具从业人员等重点人群。',
-					},
-					{
-						value: '4',
-						text: '其他',
-						dec: '',
-					},
-				],
-
-				liveRegionIdList: [],
-				originIdList: [],
-			}
-		},
-		created() {},
-		methods: {
-			//获取详情
-			getInfo() {
-				this.isLoading = true;
-				API_return.commissionerReturnInfoDetail(this.id).then(response => {
-					this.isLoading = false;
-
-					this.detail = response;
-
-				}).catch(error => {
-					this.isLoading = false;
-					mui.toast(error);
-				})
-			},
-			//获取地区列表
-			getregionList(name, fun) {
-				this.isLoading = true;
-				API_return.regionList(name).then(response => {
-					this.isLoading = false;
-
-					fun(response.list)
-				}).catch(error => {
-					this.isLoading = false;
-					mui.toast(error);
-				})
-			},
-			//播打电话
-			tel(phone) {
-				window.top.location.href = 'tel:' + phone;
-			},
-			asynCallBack() {
-				//获取详情
-				this.getInfo();
-				var _this = this;
-				//获取居住地
-				this.getregionList('1', function(list) {
-					_this.liveRegionIdList = list;
-				})
-				//获取始发地
-				this.getregionList('2', function(list) {
-					_this.originIdList = list;
-				})
-			},
-		},
-		mounted() {
-
-		},
-		destroyed() {},
-		computed: {
-			liveRegionIdName: function() {
-				var nameArr = [];
-				for (var i = 0; i < this.liveRegionIdList.length; i++) {
-					nameArr[0] = this.liveRegionIdList[i]['text'];
-					if (this.liveRegionIdList[i]['value'] == this.detail.liveRegionId) {
-						//return this.liveRegionIdList[i]['text'];
-						return nameArr.join('/');
-					}
-					for (var j = 0; j < this.liveRegionIdList[i]['children'].length; j++) {
-						nameArr[1] = this.liveRegionIdList[i]['children'][j]['text'];
-						if (this.liveRegionIdList[i]['children'][j]['value'] == this.detail.liveRegionId) {
-							//return this.liveRegionIdList[i]['children'][j]['text'];
-							return nameArr.join('/');
-						}
-						for (var s = 0; s < this.liveRegionIdList[i]['children'][j]['children'].length; s++) {
-							nameArr[2] = this.liveRegionIdList[i]['children'][j]['children'][s]['text'];
-							if (this.liveRegionIdList[i]['children'][j]['children'][s]['value'] == this.detail.liveRegionId) {
-								//return this.liveRegionIdList[i]['children'][j]['children'][s]['text'];
-								return nameArr.join('/');
-							}
-						}
-					}
-				}
-				return '';
-			},
-			originIdName: function() {
-				var nameArr = [];
-				for (var i = 0; i < this.originIdList.length; i++) {
-					nameArr[0] = this.originIdList[i]['text'];
-					if (this.originIdList[i]['value'] == this.detail.originId) {
-						//return this.originIdList[i]['text'];
-						return nameArr.join('/');
-					}
-					for (var j = 0; j < this.originIdList[i]['children'].length; j++) {
-						nameArr[1] = this.originIdList[i]['children'][j]['text'];
-						if (this.originIdList[i]['children'][j]['value'] == this.detail.originId) {
-							//return this.originIdList[i]['children'][j]['text'];
-							return nameArr.join('/');
-						}
-						for (var s = 0; s < this.originIdList[i]['children'][j]['children'].length; s++) {
-							nameArr[2] = this.originIdList[i]['children'][j]['children'][s]['text'];
-							if (this.originIdList[i]['children'][j]['children'][s]['value'] == this.detail.originId) {
-								//return this.originIdList[i]['children'][j]['children'][s]['text'];
-								return nameArr.join('/');
-							}
-						}
-					}
-				}
-				return '';
-			},
-			typeName: function() {
-				for (var i = 0; i < this.typeList.length; i++) {
-					if (this.typeList[i]['value'] == this.detail.type) {
-						return this.typeList[i]['text'];
-					}
-				}
-				return '';
-			},
-			...mapGetters({
-				openId: 'wx_openid',
-				token: 'token',
-				person_data: 'person_data',
-				person_popedom: 'person_popedom',
-				menu_list: 'menu_list',
-				common_menu_list: 'common_menu_list',
-			})
-		}
-	}
-</script>
-
-<style scoped src="$project/assets/css/xpwyfyy.css"></style>
-<style src="$project/assets/css/iconfont.css"></style>
-<style src="$project/assets/css/mui.picker.min.css"></style>
-<style>
-</style>

+ 0 - 138
src/projects/business/views/Other/Return/List.vue

@@ -1,138 +0,0 @@
-<template>
-	<div>
-		<common @asynCallBack="asynCallBack"></common>
-		<top-header :pageTitle="pageTitle"></top-header>
-
-		<div class="mui-content vongi-zctj">
-			<div class="vongi-bagfff margin10">
-				<div class="vongi-xzdw-search">
-					<input v-model="listForm.name" @keyup.enter="reloadList" type="search" placeholder="搜索姓名">
-					<span class="mui-icon mui-icon-search"></span>
-				</div>
-			</div>
-			<div class="vongi-fx-list">
-				<ul class="mui-table-view">
-					<li v-for="(item,index) in recordList" class="mui-table-view-cell">
-						<router-link :to="{name:'OtherReturnInfo',query:{id:item.id}}" class="mui-navigate-right">
-							<div class="mui-pull-left">
-								{{item.name}}<span :class="item.sex=='1'?'color4fc5f7':'colorfe616c'" v-text="item.sex=='1'?'男':'女'"></span>{{item.phone}}
-							</div>
-							<span v-if="item.newFlag" class="mui-pull-right mui-badge mui-badge-danger">NEW</span>
-						</router-link>
-					</li>
-				</ul>
-			</div>
-		</div>
-
-		<loading :visible="isLoading"></loading>
-	</div>
-</template>
-
-<script>
-	import * as API_return from '@/apis/Other/return'
-	import Common from '$project/components/Common.vue'
-	import Loading from '$project/components/Loading.vue'
-	import TopHeader from '$project/components/TopHeader.vue'
-	import isReachBottom from '$project/utils/isReachBottom'
-	import {
-		mapGetters,
-		mapMutations
-	} from 'vuex'
-	export default {
-		name: 'OtherReturnList',
-		components: {
-			Common,
-			Loading,
-			TopHeader
-		},
-		data() {
-			return {
-				isLoading: false,
-
-				pageTitle: '返乡人员登记信息',
-
-				listForm: {
-					name: '',
-					pageIndex: '',
-					pageSize: 20,
-					totalPage: 1,
-				},
-				recordList: [],
-			}
-		},
-		created() {},
-		methods: {
-			//重新搜索加载
-			reloadList() {
-				this.listForm.pageIndex = 1;
-				this.getList();
-			},
-			//获取列表
-			getList() {
-				this.isLoading = true;
-				API_return.commissionerReturnInfoList(this.listForm).then(response => {
-					this.isLoading = false;
-
-					if (response) {
-						if (this.listForm.pageIndex == 1) {
-							this.recordList = response.data;
-							this.listForm.pageIndex = response.pageNumber;
-							this.listForm.totalPage = response.totalPage;
-						} else {
-							this.recordList = [
-								...this.recordList,
-								...response.data
-							];
-						}
-					}
-					this.listForm.pageIndex++;
-
-				}).catch(error => {
-					this.isLoading = false;
-					mui.toast(error);
-				})
-			},
-			//下拉事件
-			handleScrool() {
-				if (isReachBottom()) {
-					console.log('到达底部')
-					if (this.listForm.pageIndex <= this.listForm.totalPage && this.isLoading == false) {
-						this.getList();
-					} else {
-						return;
-					}
-				}
-			},
-			asynCallBack() {
-				//从外部进入可能
-				this.getList();
-			},
-		},
-		mounted() {
-			//监控下拉加载事件
-			var _this = this;
-			window.addEventListener('scroll', _this.handleScrool);
-		},
-		destroyed() {
-			//销毁监听事件
-			var _this = this;
-			window.removeEventListener('scroll', _this.handleScrool);
-		},
-		computed: {
-			...mapGetters({
-				openId: 'wx_openid',
-				token: 'token',
-				person_data: 'person_data',
-				person_popedom: 'person_popedom',
-				menu_list: 'menu_list',
-				common_menu_list: 'common_menu_list',
-			})
-		}
-	}
-</script>
-
-<style scoped src="$project/assets/css/xpwyfyy.css"></style>
-<style src="$project/assets/css/iconfont.css"></style>
-<style src="$project/assets/css/mui.picker.min.css"></style>
-<style>
-</style>

+ 0 - 654
src/projects/business/views/Other/Return/Questionnaire.vue

@@ -1,654 +0,0 @@
-<template>
-	<div>
-		<common @asynCallBack="asynCallBack"></common>
-
-		<div class="mui-content vongi-fx">
-			<div class="mui-content-padded">
-				<h1 class="mui-text-center color4fc5f7">返乡人员登记</h1>
-				<p>目前,疫情防控形势仍严峻复杂,您家或亲戚朋友家有亲人欲返荆过春节,请您尽量劝其减少流动风险、留在原地过春节。请您出行一定记得戴口罩、与他人保持安全距离(1米以上)
-					:非必要不出境、不去国内中、高风险区域若邻居家有外地返荆人员,请帮忙提醒他与社区联系报备。请您记住:少聚集、少聚餐、勤洗手、红事缓办、白事简办,聚会不办。
-				</p>
-			</div>
-			<form class="mui-input-group vongi-editme margin10">
-				<div class="mui-input-row">
-					<label><i class="colorfe616c">*</i>&nbsp;您的姓名</label>
-					<input v-model="subForm.name" name="name" type="text" class="mui-input-clear" placeholder="请填写您的姓名" autocomplete="off">
-				</div>
-				<div class="mui-input-row">
-					<label><i class="colorfe616c">*</i>&nbsp;身份证号码</label>
-					<input v-model="subForm.idCard" name="idCard" type="text" class="mui-input-clear" placeholder="请填写身份证号码 "
-					 autocomplete="off" maxlength="18">
-				</div>
-				<div class="mui-input-row">
-					<label><i class="colorfe616c">*</i>&nbsp;手机号码</label>
-					<input v-model="subForm.phone" name="phone" type="number" maxlength="11" class="mui-input-clear" placeholder="请输入手机号码  "
-					 autocomplete="off">
-				</div>
-				<div class="mui-input-row vongi-fx-yzm">
-					<label><i class="colorfe616c">*</i>&nbsp;验证码</label>
-					<input v-model="subForm.code" name="code" type="text" class="mui-input-clear" placeholder="请填写验证码  " autocomplete="off">
-					<a @click="sendMsg" v-text="sendMsgWz"></a>
-				</div>
-				<div @click="selectLiveRegionId" class="mui-input-row">
-					<label style="width:50%"><i class="colorfe616c">*</i>&nbsp;居住所在地</label>
-					<button v-text="liveRegionIdName" class="mui-btn mui-btn-block mui-navigate-right" type='button' style="width:50%">
-					</button>
-				</div>
-				<div class="mui-input-row">
-					<label style="width:100%"><i class="colorfe616c">*</i>&nbsp;详细地址</label>
-					<textarea v-model="subForm.liveDetailAddress" name="liveDetailAddress" rows="2" placeholder="请填写详细地址信息"
-					 autocomplete="off"></textarea>
-				</div>
-			</form>
-			<form class="mui-input-group vongi-editme margin10">
-				<div @click="selectType" class="mui-input-row" style="margin-top: 10px;">
-					<label><i class="colorfe616c">*</i>&nbsp;返乡类型</label>
-					<button v-text="typeName" class="mui-btn mui-btn-block mui-navigate-right" type='button' style="width:65%">
-					</button>
-				</div>
-				<div v-if="subForm.type=='3'" class="mui-content-padded color4fc5f7 mui-h5" v-text="typeDec"></div>
-			</form>
-			<form class="mui-input-group vongi-editme margin10">
-				<div @click="selectOriginId" class="mui-input-row">
-					<label><i class="colorfe616c">*</i>&nbsp;始发地</label>
-					<button v-text="originIdName" class="mui-btn mui-btn-block mui-navigate-right" type='button' style="width:65%">
-					</button>
-				</div>
-				<div class="mui-input-row">
-					<label style="width:100%"><i class="colorfe616c">*</i>&nbsp;始发地详细地址</label>
-					<textarea v-model="subForm.originDetailAddress" name="originDetailAddress" rows="2" placeholder="请填写始发地详细地址"
-					 autocomplete="off"></textarea>
-				</div>
-				<div class="mui-input-row">
-					<label><i class="colorfe616c">*</i>&nbsp;途径地</label>
-					<textarea v-model="subForm.avenuePlace" name="avenuePlace" rows="2" placeholder="请填写详细途径地信息" autocomplete="off"></textarea>
-				</div>
-				<div class="mui-input-row">
-					<label style="width:100%"><i class="colorfe616c">*</i>&nbsp;返乡乘坐(或使用)交通工具情况(飞机航班、动车车次、汽车车牌号)</label>
-					<textarea v-model="subForm.vehicle" name="vehicle" rows="2" placeholder="请填写详细返乡交通工具信息" autocomplete="off"></textarea>
-				</div>
-				<div @click="selectDate" class="mui-input-row">
-					<label style="width:60%"><i class="colorfe616c">*</i>&nbsp;返乡时间(已到/预计)</label>
-					<button v-text="subForm.arriveTime?subForm.arriveTime:'请选择'" class="mui-btn mui-btn-block mui-navigate-right" type='button'
-					 style="width:40%"></button>
-				</div>
-				<div class="mui-input-row vongi-fx-yzm">
-					<label style="width:70%;padding:11px 0 11px 15px"><i class="colorfe616c">*</i>&nbsp;是否有7日内核酸检测阴性证明</label>
-					<div class="mui-radio mui-left">
-						<label>是</label>
-						<input v-model="subForm.haveCheckStr" name="haveCheckStr" type="radio" value="1">
-					</div>
-					<div class="mui-radio mui-left" style="margin-right:15px">
-						<label>否</label>
-						<input v-model="subForm.haveCheckStr" name="haveCheckStr" type="radio" value="0">
-					</div>
-				</div>
-				<div class="mui-input-row">
-					<label>备注</label>
-					<textarea v-model="subForm.remark" name="remark" rows="2" placeholder="可输入备注" autocomplete="off"></textarea>
-				</div>
-				<div class="mui-input-row">
-					<label style="width:70%;padding:11px 0 11px 15px"><i v-if="subForm.type!='4'" class="colorfe616c">*&nbsp;</i>上传7日内核酸检测报告照片</label>
-					<button @click="chooseImage('checkImageUrl')" class="mui-btn mui-btn-block mui-navigate-right" type='button' style="width:30%">
-						<img v-if="subForm.checkImageUrl" :src="subForm.checkImageUrl" />
-						<span v-else>点击上传</span>
-					</button>
-				</div>
-				<div class="mui-input-row">
-					<label style="width:70%"><i v-if="subForm.type!='4'" class="colorfe616c">*&nbsp;</i>上传“行程卡”截图</label>
-					<button @click="chooseImage('travelImageUrl')" class="mui-btn mui-btn-block mui-navigate-right" type='button'
-					 style="width:30%">
-						<img v-if="subForm.travelImageUrl" :src="subForm.travelImageUrl" />
-						<span v-else>点击上传</span>
-					</button>
-				</div>
-				<div class="mui-input-row">
-					<label style="width:70%"><i v-if="subForm.type!='4'" class="colorfe616c">*&nbsp;</i>上传本人健康码截图</label>
-					<button @click="chooseImage('healthCodeUrl')" class="mui-btn mui-btn-block mui-navigate-right" type='button' style="width:30%">
-						<img v-if="subForm.healthCodeUrl" :src="subForm.healthCodeUrl" />
-						<span v-else>点击上传</span>
-					</button>
-				</div>
-			</form>
-			<div class="vongi-btn vongi-login-btn">
-				<button v-text="submitButtonText" @click="submit" :class="'mui-btn '+(subForm.enableUpdate?'mui-btn-primary':'mui-btn-grey')"
-				 style="border-radius: 30px;" :disabled="!subForm.enableUpdate">
-					保存
-				</button>
-			</div>
-		</div>
-
-		<loading :visible="isLoading"></loading>
-	</div>
-</template>
-
-<script>
-	require('$project/assets/js/mui.picker.min.js');
-	import * as API_WeiXin from '$project/apis/weixin'
-	import * as API_return from '@/apis/Other/return'
-	import Common from '$project/components/Common.vue'
-	import Loading from '$project/components/Loading.vue'
-	import TopHeader from '$project/components/TopHeader.vue'
-	import * as API_Common from '$project/apis/common'
-	import {
-		mapGetters,
-		mapMutations
-	} from 'vuex'
-	import {
-		checkPhone,
-		checkIdCard
-	} from '$project/utils'
-	import * as WxJsApi from '$project/utils/wxJsApi'
-	export default {
-		name: 'OtherReturnQuestionnaire',
-		components: {
-			Common,
-			Loading,
-			TopHeader
-		},
-		data() {
-			return {
-				isLoading: false,
-
-				//pageTitle: '填写问卷',
-
-				subForm: {
-					openId: '',
-					name: '',
-					idCard: '',
-					phone: '',
-					liveRegionId: '',
-					liveDetailAddress: '',
-					type: '',
-					originId: '',
-					originDetailAddress: '',
-					avenuePlace: '',
-					vehicle: '',
-					arriveTime: '',
-					haveCheckStr: '1',
-					code: '',
-					remark: '',
-					checkImageUrl: '',
-					travelImageUrl: '',
-					healthCodeUrl: '',
-					//是否可以提交更新
-					enableUpdate: true,
-				},
-
-				liveRegionIdCheckArr: [],
-				originIdCheckArr: [],
-
-
-				sendMsgWz: '发送验证码',
-
-				liveRegionIdList: [],
-				originIdList: [],
-				typeList: [{
-						value: '1',
-						text: '境外返乡',
-						dec: '',
-					},
-					{
-						value: '2',
-						text: '国内中高风险地区',
-						dec: '',
-					},
-					{
-						value: '3',
-						text: '省内从事冷链行业',
-						dec: '注:包含进口冷链食品从业人员、口岸直接接触进口货物从业人员、隔离场所工作人员、交通运输工具从业人员等重点人群。',
-					},
-					{
-						value: '4',
-						text: '其他',
-						dec: '',
-					},
-				],
-
-				submitButtonText: '保存',
-				//是否在提交确认过程中,0未保存1已保存确认中2已确认
-				isSubmitSureIng: 0,
-				sureForm: {
-					openId: '',
-					id: ''
-				}
-
-			}
-		},
-		created() {},
-		methods: {
-			//选择时间
-			selectDate() {
-				var _this = this;
-				var picker = new mui.DtPicker({
-					"type": "date",
-					"beginYear": new Date().getFullYear(),
-					"endYear": 2021,
-					"startDate": new Date(),
-					"value": _this.subForm.arriveTime
-				});
-				picker.show(function(rs) {
-					_this.subForm.arriveTime = rs.text;
-					picker.dispose();
-				});
-			},
-			//微信选择图片
-			chooseImage(field) {
-				WxJsApi.chooseImage().then(res => {
-					var localData = res.localData;
-
-					if (localData.indexOf('data:image') != 0) {
-						//判断是否有这样的头部
-						localData = 'data:image/jpeg;base64,' + localData
-					}
-					localData = localData.replace(/\r|\n/g, '').replace('data:image/jgp', 'data:image/jpeg')
-					this.imgBase64 = localData;
-
-					this.uploadpic(field);
-				}).catch(error => {
-					mui.toast(error);
-				})
-			},
-			//上传图片
-			uploadpic(field) {
-				this.isLoading = true;
-				WxJsApi.uploadPic(this.imgBase64).then(response => {
-					this.isLoading = false;
-
-					this.subForm[field] = response;
-				}).catch(error => {
-					this.isLoading = false;
-					mui.toast(error);
-				})
-			},
-			//发送验证码检测手机号
-			checkPhone() {
-				let phoneResult = checkPhone(this.subForm.phone);
-				if (typeof phoneResult == 'string') {
-					mui.toast(phoneResult);
-					return false;
-				} else {
-					return true;
-				}
-			},
-			//发送验证码
-			sendMsg() {
-				if (this.checkPhone()) {
-					this.isLoading = true;
-					API_Common.sendMsg({
-						telephone: this.subForm.phone,
-					}).then(response => {
-						//倒计时
-						this.msgTimeInterval();
-						this.isLoading = false;
-					}).catch(error => {
-						this.isLoading = false;
-						mui.toast(error);
-					})
-				}
-			},
-			//倒计时
-			msgTimeInterval() {
-				var time = 60;
-				var _this = this;
-				this.timer = setInterval(() => {
-					if (time > 0) {
-						_this.sendMsgWz = time-- + '秒';
-					} else {
-						_this.isSendMsg = true;
-						_this.sendMsgWz = '发送验证码';
-						clearInterval(_this.timer)
-					}
-				}, 1000)
-			},
-			//获取地区列表
-			getregionList(name, fun) {
-				this.isLoading = true;
-				API_return.regionList(name).then(response => {
-					this.isLoading = false;
-
-					fun(response.list)
-				}).catch(error => {
-					this.isLoading = false;
-					mui.toast(error);
-				})
-			},
-			//检测表单
-			checkForm() {
-				let phoneResult = checkPhone(this.subForm.phone);
-				let idCardResult = checkIdCard(this.subForm.idCard);
-				if (!this.subForm.openId) {
-					mui.toast('未获取您的微信授权');
-					return false;
-				} else if (!this.subForm.name) {
-					mui.toast('请输入姓名');
-					return false;
-				} else if (typeof idCardResult == 'string') {
-					mui.toast(idCardResult);
-					return false;
-				} else if (typeof phoneResult == 'string') {
-					mui.toast(phoneResult);
-					return false;
-				} else if (!this.subForm.code) {
-					mui.toast('请输入手机验证码');
-					return false;
-				} else if (!this.subForm.liveRegionId) {
-					mui.toast('请选择居住所在地');
-					return false;
-				} else if (!this.subForm.liveDetailAddress) {
-					mui.toast('请填写居住所在地详情地址');
-					return false;
-				} else if (!this.subForm.originId) {
-					mui.toast('请选择始发地');
-					return false;
-				} else if (!this.subForm.originDetailAddress) {
-					mui.toast('请填写始发地详情地址');
-					return false;
-				} else if (!this.subForm.avenuePlace) {
-					mui.toast('请填写途经地');
-					return false;
-				} else if (!this.subForm.vehicle) {
-					mui.toast('请填写返乡乘坐(或使用)交通工具情况');
-					return false;
-				} else if (!this.subForm.arriveTime) {
-					mui.toast('请选择返乡时间');
-					return false;
-				} else if (this.subForm.type != '4') {
-					if (!this.subForm.checkImageUrl) {
-						mui.toast('请上传7日内核酸检测报告');
-						return false;
-					} else if (!this.subForm.travelImageUrl) {
-						mui.toast('请上传“行程卡”截图');
-						return false;
-					} else if (!this.subForm.healthCodeUrl) {
-						mui.toast('请上传本人健康码截图');
-						return false;
-					} else {
-						return true;
-					}
-				} else {
-					return true;
-				}
-			},
-			//提交
-			submit() {
-				if (this.isSubmitSureIng == 0) {
-					if (this.checkForm()) {
-						this.isLoading = true;
-						API_return.submitReturnInfo(this.subForm).then(response => {
-							this.isLoading = false;
-
-							this.sureForm.id = response.id;
-
-							var _this = this;
-							mui.alert('保存成功,请重新查看并确认数据是否正确,确认后请再次点击提交按钮上传数据', '提示', function() {
-								_this.isSubmitSureIng = 1;
-								_this.subForm.enableUpdate = false;
-								//提交倒计时
-								_this.submitInterval();
-							});
-
-						}).catch(error => {
-							this.isLoading = false;
-							mui.toast(error);
-						})
-					}
-				} else if (this.isSubmitSureIng == 2) {
-					this.sureSubmit();
-				}
-			},
-			//确认提交
-			sureSubmit() {
-				this.isLoading = true;
-				API_return.sureSubmitReturnInfo(this.sureForm).then(response => {
-					this.isLoading = false;
-
-					//恢复初始值
-					this.isSubmitSureIng == 0;
-
-					var _this = this;
-					mui.alert('提交成功', '提示', function() {
-						_this.$router.push({
-							name: 'OtherReturnSuccess'
-						});
-					});
-
-				}).catch(error => {
-					this.isLoading = false;
-					mui.toast(error);
-				})
-			},
-			//提交倒计时
-			submitInterval() {
-				var time = 5;
-				var _this = this;
-				this.sub_timer = setInterval(() => {
-					if (time > 0) {
-						_this.submitButtonText = '提交(' + time-- + ')';
-					} else {
-						_this.subForm.enableUpdate = true;
-						_this.isSubmitSureIng = 2;
-						_this.submitButtonText = '提交';
-						clearInterval(_this.sub_timer)
-					}
-				}, 1000)
-			},
-			//获取详情
-			getInfo() {
-				this.isLoading = true;
-				API_return.returnInfoDetail(this.subForm.openId).then(response => {
-					this.isLoading = false;
-
-					if (response) {
-						for (let key in this.subForm) {
-							if (response[key] != null) {
-								this.$set(this.subForm, key, response[key]);
-							}
-						}
-					}
-
-				}).catch(error => {
-					this.isLoading = false;
-					mui.toast(error);
-				})
-			},
-			//选择居住地
-			selectLiveRegionId() {
-				var _this = this;
-				var picker = new mui.PopPicker({
-					layer: 3
-				});
-				picker.setData(this.liveRegionIdList);
-
-				//多级筛选设置默认值
-				picker.pickers[0].setSelectedValue(this.liveRegionIdCheckArr[0], 0, function() {
-					setTimeout(function() {
-						picker.pickers[1].setSelectedValue(_this.liveRegionIdCheckArr[1], 0, function() {
-							setTimeout(function() {
-								picker.pickers[2].setSelectedValue(_this.liveRegionIdCheckArr[2]);
-							}, 100);
-						});
-					}, 100);
-				});
-
-				picker.show(function(selectItems) {
-					//重置数据集
-					_this.liveRegionIdCheckArr = [];
-					for (var i = 0; i < 3; i++) {
-						if (selectItems[i].value) {
-							_this.liveRegionIdCheckArr.push(selectItems[i].value);
-							_this.subForm.liveRegionId = selectItems[i].value;
-						}
-					}
-				})
-			},
-			//选择始发地
-			selectOriginId() {
-				var _this = this;
-				var picker = new mui.PopPicker({
-					layer: 3
-				});
-				picker.setData(this.originIdList);
-
-				//多级筛选设置默认值
-				picker.pickers[0].setSelectedValue(this.originIdCheckArr[0], 0, function() {
-					setTimeout(function() {
-						picker.pickers[1].setSelectedValue(_this.originIdCheckArr[1], 0, function() {
-							setTimeout(function() {
-								picker.pickers[2].setSelectedValue(_this.originIdCheckArr[2]);
-							}, 100);
-						});
-					}, 100);
-				});
-
-				picker.show(function(selectItems) {
-					//重置数据集
-					_this.originIdCheckArr = [];
-					for (var i = 0; i < 3; i++) {
-						if (selectItems[i].value) {
-							_this.originIdCheckArr.push(selectItems[i].value);
-							_this.subForm.originId = selectItems[i].value;
-						}
-					}
-				})
-			},
-			//选择返乡类型
-			selectType() {
-				var _this = this;
-				var picker = new mui.PopPicker();
-				picker.setData(this.typeList);
-				picker.pickers[0].setSelectedValue(_this.subForm.type);
-				picker.show(function(selectItems) {
-					_this.subForm.type = selectItems[0].value;
-				})
-			},
-			asynCallBack() {
-				//赋值
-				this.subForm.openId = this.openId;
-				this.sureForm.openId = this.openId;
-				//获取详情
-				this.getInfo();
-			},
-		},
-		mounted() {
-			//获取微信配置
-			WxJsApi.getWxConfig();
-			var _this = this;
-			//获取居住地
-			this.getregionList('1', function(list) {
-				_this.liveRegionIdList = list;
-			})
-			//获取始发地
-			this.getregionList('2', function(list) {
-				_this.originIdList = list;
-			})
-		},
-		destroyed() {},
-		computed: {
-			liveRegionIdName: function() {
-				var nameArr = [];
-				for (var i = 0; i < this.liveRegionIdList.length; i++) {
-					nameArr[0] = this.liveRegionIdList[i]['text'];
-					if (this.liveRegionIdList[i]['value'] == this.subForm.liveRegionId) {
-						//return this.liveRegionIdList[i]['text'];
-						return nameArr.join('/');
-					}
-					for (var j = 0; j < this.liveRegionIdList[i]['children'].length; j++) {
-						nameArr[1] = this.liveRegionIdList[i]['children'][j]['text'];
-						if (this.liveRegionIdList[i]['children'][j]['value'] == this.subForm.liveRegionId) {
-							//return this.liveRegionIdList[i]['children'][j]['text'];
-							return nameArr.join('/');
-						}
-						for (var s = 0; s < this.liveRegionIdList[i]['children'][j]['children'].length; s++) {
-							nameArr[2] = this.liveRegionIdList[i]['children'][j]['children'][s]['text'];
-							if (this.liveRegionIdList[i]['children'][j]['children'][s]['value'] == this.subForm.liveRegionId) {
-								//return this.liveRegionIdList[i]['children'][j]['children'][s]['text'];
-								return nameArr.join('/');
-							}
-						}
-					}
-				}
-				return '点击选择';
-			},
-			originIdName: function() {
-				var nameArr = [];
-				for (var i = 0; i < this.originIdList.length; i++) {
-					nameArr[0] = this.originIdList[i]['text'];
-					if (this.originIdList[i]['value'] == this.subForm.originId) {
-						//return this.originIdList[i]['text'];
-						return nameArr.join('/');
-					}
-					for (var j = 0; j < this.originIdList[i]['children'].length; j++) {
-						nameArr[1] = this.originIdList[i]['children'][j]['text'];
-						if (this.originIdList[i]['children'][j]['value'] == this.subForm.originId) {
-							//return this.originIdList[i]['children'][j]['text'];
-							return nameArr.join('/');
-						}
-						for (var s = 0; s < this.originIdList[i]['children'][j]['children'].length; s++) {
-							nameArr[2] = this.originIdList[i]['children'][j]['children'][s]['text'];
-							if (this.originIdList[i]['children'][j]['children'][s]['value'] == this.subForm.originId) {
-								//return this.originIdList[i]['children'][j]['children'][s]['text'];
-								return nameArr.join('/');
-							}
-						}
-					}
-				}
-				return '点击选择';
-			},
-			typeName: function() {
-				for (var i = 0; i < this.typeList.length; i++) {
-					if (this.typeList[i]['value'] == this.subForm.type) {
-						return this.typeList[i]['text'];
-					}
-				}
-				return '点击选择';
-			},
-			typeDec: function() {
-				for (var i = 0; i < this.typeList.length; i++) {
-					if (this.typeList[i]['value'] == this.subForm.type) {
-						return this.typeList[i]['dec'];
-					}
-				}
-				return '';
-			},
-			...mapGetters({
-				openId: 'wx_openid',
-				token: 'token',
-				person_data: 'person_data',
-				person_popedom: 'person_popedom',
-				menu_list: 'menu_list',
-				common_menu_list: 'common_menu_list',
-			})
-		},
-		watch: {
-			'subForm.type': {
-				handler(newValue, oldValue) {
-					if (newValue == '1') {
-						this.subForm.originId = '100000';
-					} else if (newValue != '' && this.subForm.originId == '100000') {
-						this.subForm.originId = '';
-					}
-				},
-				immediate: true,
-				deep: true
-			},
-			'subForm.originId': {
-				handler(newValue, oldValue) {
-					if (newValue == '100000') {
-						this.subForm.type = '1';
-					} else if (newValue != '' && this.subForm.type == '1') {
-						this.subForm.type = '';
-					}
-				},
-				immediate: true,
-				deep: true
-			}
-		}
-	}
-</script>
-
-<style scoped src="$project/assets/css/xpwyfyy.css"></style>
-<style src="$project/assets/css/iconfont.css"></style>
-<style src="$project/assets/css/mui.picker.min.css"></style>
-<style>
-</style>

+ 0 - 55
src/projects/business/views/Other/Return/Success.vue

@@ -1,55 +0,0 @@
-<template>
-	<div>
-		<common @asynCallBack="asynCallBack"></common>
-
-		<div class="von-fx-content">
-			<img src="http://rccs.oss-cn-hangzhou.aliyuncs.com/jp_housekeeper/img/fx01.jpg">
-			<router-link :to="{name:'MasterHealthWorkerReport',query:{from:'return'}}"><img src="~$project/assets/img/fx02.jpg"></router-link>
-		</div>
-
-		<loading :visible="isLoading"></loading>
-	</div>
-</template>
-
-<script>
-	import Common from '$project/components/Common.vue'
-	import Loading from '$project/components/Loading.vue'
-	import {
-		mapGetters,
-		mapMutations
-	} from 'vuex'
-	export default {
-		name: 'OtherReturnSuccess',
-		components: {
-			Common,
-			Loading
-		},
-		data() {
-			return {
-				isLoading: false,
-
-				pageTitle: '填报成功',
-			}
-		},
-		created() {},
-		methods: {
-			asynCallBack() {},
-		},
-		mounted() {},
-		destroyed() {},
-		computed: {
-			...mapGetters({
-				openId: 'wx_openid',
-				token: 'token',
-				person_data: 'person_data',
-				person_popedom: 'person_popedom',
-				menu_list: 'menu_list',
-				common_menu_list: 'common_menu_list',
-			})
-		}
-	}
-</script>
-
-<style scoped src="$project/assets/css/xpwyfyy.css"></style>
-<style>
-</style>