diff --git a/App.vue b/App.vue
index eb4230c..8279497 100644
--- a/App.vue
+++ b/App.vue
@@ -32,7 +32,7 @@
},
checkLogin() {
if (!getToken()) {
- this.$tab.reLaunch('/pages/login')
+ this.$tab.reLaunch('/pages/switchSystem')
}
}
}
diff --git a/components/zxz-uni-data-select/zxz-uni-data-select.vue b/components/zxz-uni-data-select/zxz-uni-data-select.vue
new file mode 100644
index 0000000..d00f0b5
--- /dev/null
+++ b/components/zxz-uni-data-select/zxz-uni-data-select.vue
@@ -0,0 +1,780 @@
+
+
+
+ {{label + ':'}}
+
+
+
+
+
+ {{item[dataKey]}}
+
+
+
+
+
+ +{{current.length-collapseTagsNum}}
+
+
+
+
+ {{current}}
+
+
+ {{typePlaceholder}}
+
+
+
+
+
+
+
+
+ {{emptyTips}}
+
+
+ {{formatItemName(item)}}
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/config.js b/config.js
index 1b93a6c..2e79c50 100644
--- a/config.js
+++ b/config.js
@@ -1,10 +1,15 @@
// 应用全局配置
module.exports = {
- // baseUrl: 'https://api.xayunmei.com/zhongcaiapi',
- baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
+ // baseUrlZC: 'https://api.xayunmei.com/zhongcaiapi',
+ // baseUrl: 'https://api.xayunmei.com/zhongcaiapitest',
// baseUrl: 'http://121.40.189.20:9001',
- // baseUrl: 'http://121.40.189.20:8001',
- // baseUrl: 'http://192.168.3.77:8080',
+ baseUrlZC:'https://api.xayunmei.com/zhongcaiapi',
+ // baseUrlZC:'https://api.xayunmei.com/zhongcaiapitest',
+ baseUrlTJ:'https://api.xayunmei.com/tiaojieapitest',
+ // baseUrlTJ:'https://api.xayunmei.com/tiaojieapi',
+ // baseUrlZC: 'http://121.40.189.20:8001',
+ // baseUrlTJ: 'http://121.40.189.20:6001',
+ // baseUrl: 'http://172.16.1.24:8001',
// baseUrl: 'http://localhost:8080',
// baseUrl: 'http://192.168.3.18:9001',
// 应用信息
diff --git a/pages.json b/pages.json
index f4db920..d424c41 100644
--- a/pages.json
+++ b/pages.json
@@ -1,8 +1,14 @@
{
- "pages": [{
+ "pages": [
+ {
+ "path": "pages/switchSystem",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ }, {
"path": "pages/login",
"style": {
- "navigationBarTitleText": "登录"
+ "navigationBarTitleText": ""
}
}, {
"path": "pages/register",
diff --git a/pages/expressDelivery/component/list.vue b/pages/expressDelivery/component/list.vue
index a808576..e457ea4 100644
--- a/pages/expressDelivery/component/list.vue
+++ b/pages/expressDelivery/component/list.vue
@@ -16,7 +16,7 @@
{{defalutVal.applicantName}}
-
+
被申请人姓名:
@@ -79,7 +79,6 @@
width: 100%;
display: flex;
height: 50rpx;
-
.lable {
width: 30%;
}
diff --git a/pages/handlecase/component/list.vue b/pages/handlecase/component/list.vue
index cc49bd1..dad4072 100644
--- a/pages/handlecase/component/list.vue
+++ b/pages/handlecase/component/list.vue
@@ -16,8 +16,8 @@
{{defalutVal.applicantName}}
-
-
+
+
被申请人姓名:
@@ -102,14 +102,14 @@
width: 100%;
display: flex;
height: 50rpx;
-
.lable {
width: 30%;
}
.main {
width: 60%;
- }
+ }
+
}
.btn{
margin-top: 20rpx;
diff --git a/pages/handlecase/component/uploadEvidence.vue b/pages/handlecase/component/uploadEvidence.vue
index fb0cbda..6a1e8a0 100644
--- a/pages/handlecase/component/uploadEvidence.vue
+++ b/pages/handlecase/component/uploadEvidence.vue
@@ -1,6 +1,9 @@
-
+
+
+
+
-->
-
@@ -81,7 +84,16 @@
-
+
+
+
+
+
@@ -139,10 +151,10 @@
-
+
-
+
@@ -203,11 +215,15 @@
} from '@/utils/auth'
import moment from 'moment'
import config from '@/config'
- const baseUrl = config.baseUrl
+ const baseUrl = config.baseUrlZC
const app = getApp()
export default {
data() {
return {
+ sysType:null,//默认系统 1.仲裁2.调节
+ selectValue:null,
+ defaultSelected: [], //默认选中项
+ serviceList: ['1','2'],//传递给子组件的数据
current:0,
itemsT:['案件详情','案件资料'],
styleType:'button',
@@ -301,12 +317,40 @@
text: '否',
value: 0
}],
- items: []
+ items: [],
+ selectData: [{
+ value: 0,
+ label: '黄金糕'
+ }, {
+ value: '选项2',
+ label: '双皮奶'
+ }, {
+ value: '选项3',
+ label: '蚵仔煎'
+ }, {
+ value: '选项4',
+ label: '龙须面'
+ }, {
+ value: '选项5',
+ label: '北京烤鸭'
+ }, {
+ value: '选项6',
+ label: '豆腐'
+ }, {
+ value: '选项7',
+ label: '油条'
+ }]
}
- },
+ },
+ mounted() {
+ this.sysType = uni.getStorageSync('sysType')
+ },
methods: {
+ selectTJ(e){
+ // console.log(this.defaultSelected,'11111111')
+ // console.log(e,'2222222222’')
+ },
onClickItem(e){
- console.log()
if (this.current !== e.currentIndex) {
this.current = e.currentIndex
}
@@ -333,8 +377,7 @@
}
},
arbitrationmethod() {},
- uploadEvidenceChange(val) {
- console.log(val)
+ uploadEvidenceChange(val) {
let flag = val.detail.value;
if (flag == 1) {
this.caseFlag = true;
@@ -353,7 +396,6 @@
},
checkboxChange(e) {
let params = parseInt(e.detail.value);
- console.log(params,"LLLLLLLLLL");
let result = "";
this.items.forEach(item=>{
if(item.userId == params){
@@ -361,8 +403,6 @@
}
})
let arbitrators = [{id: params,arbitratorName: result}];
-
- console.log(result,"KKKKKKKKKKKKKKKK");
// let idArr = e.detail.value;
// let numberArray = idArr.map(str => parseInt(str));
// const result = this.items.filter(item => numberArray.includes(item.userId));
@@ -383,8 +423,7 @@
item['fileName'] = names[names.length -1]
item.annexPath = baseUrl + item.annexPath
})
- }
- console.log(res.data.evidenceMaterialList)
+ }
this.formData = res.data
this.formData.loanEndDate = moment(this.formData.loanEndDate).format('YYYY-MM-DD HH:mm:ss');
this.formData.loanStartDate = moment(this.formData.loanStartDate).format(
@@ -444,10 +483,17 @@
title: '提交成功',
icon: 'none',
duration: 1000
- })
- uni.navigateTo({
- url: '/pages/handlecase/index'
- })
+ })
+
+ uni.navigateBack({
+ delta:1
+ })
+ // uni.$tab.redirectTo({
+ // url: '/pages/handlecase/index'
+ // })
+ // uni.navigateTo({
+ // url: '/pages/handlecase/index'
+ // })
})
},
submitImg() {
@@ -461,11 +507,7 @@
evidenceList(){
console.log(this.formData.evidenceMaterialList)
this.$tab.navigateTo(`/pages/handlecase/component/evidenceList?title=证据清单&evidenceList=${encodeURIComponent(JSON.stringify(this.formData.evidenceMaterialList))}`)
- },
- // 仲裁申请书
- applicationArbitration(){
-
- }
+ },
},
onLoad(data) {
this.getData(data.id);
diff --git a/pages/handlecase/index.vue b/pages/handlecase/index.vue
index bc25bc8..22282c3 100644
--- a/pages/handlecase/index.vue
+++ b/pages/handlecase/index.vue
@@ -25,13 +25,17 @@
pageSize: 10,
}
- },
-
+ },
methods: {
getList(parms) {
respondentList(parms).then(res => {
// this.caseList = res.rows;
- this.caseList = res.data;
+ if(res.data){
+ this.caseList = res.data;
+ }else{
+ this.caseList = []
+ }
+
this.caseList.forEach(item => {
switch (item.caseStatus) {
case 0:
@@ -102,15 +106,24 @@
obj.pageNum = obj.pageNum + 1
this.getList(obj)
}
- },
- onLoad() {
- let obj = {
- pageNum: this.pageNum,
+ },
+ onShow() {
+ let obj = {
+ pageNum: this.pageNum,
pageSize: this.pageSize,
- caseStatus:4
- }
- this.getList(obj)
- }
+ caseStatus:4
+ }
+ this.getList(obj)
+ },
+ // onLoad() {
+ // let obj = {
+ // pageNum: this.pageNum,
+ // pageSize: this.pageSize,
+ // caseStatus:4
+ // }
+ // this.getList(obj)
+ // }
+
}
diff --git a/pages/im/component/imList.vue b/pages/im/component/imList.vue
index 4bb2032..dd858a9 100644
--- a/pages/im/component/imList.vue
+++ b/pages/im/component/imList.vue
@@ -16,7 +16,7 @@
{{defalutVal.applicantName}}
-
+
被申请人姓名:
@@ -87,7 +87,6 @@
width: 100%;
display: flex;
height: 50rpx;
-
.lable {
width: 30%;
}
diff --git a/pages/login.vue b/pages/login.vue
index e1ca7d0..6397c08 100644
--- a/pages/login.vue
+++ b/pages/login.vue
@@ -1,9 +1,14 @@
-
+
仲裁平台
+
+
+
+
+ 调解平台
@@ -60,7 +65,7 @@
return {
codeUrl: "",
captchaEnabled: true,
-
+ logSyste:0,
// 用户注册开关
register: true,
globalConfig: getApp().globalData.config,
@@ -112,7 +117,7 @@
},
// 登录方法
async handleLogin() {
- console.log(this.isSelectAgree,'xxxx')
+ const sysType = uni.getStorageSync('sysType')
if (this.loginForm.username === "") {
this.$modal.msgError("请输入您的账号")
}else if(this.isSelectAgree.length < 1){
@@ -144,6 +149,10 @@
this.$tab.reLaunch('/pages/work/index')
})
},
+ onLoad(options){
+ let vals = decodeURIComponent(options.values);
+ this.logSyste = vals
+ }
}
}
diff --git a/pages/personalInfoCollection.vue b/pages/personalInfoCollection.vue
index 6c8075f..a307fe3 100644
--- a/pages/personalInfoCollection.vue
+++ b/pages/personalInfoCollection.vue
@@ -1,5 +1,5 @@
-
+
关于“个人信息收集/使用”的同意书xxxxx公司业务管理系统需要收集与使用用户的个人信息,根据《中华人民共和国网络安全法》等相关法规,特告知如下请仔细阅读并理解文本件全部内容之后,决定是否同意并使用本公司业务管理系统的各项服务;如果您仍决定使用本公司业务管理系统的各项服务,则视为您同意执行本同意书
diff --git a/pages/switchSystem.vue b/pages/switchSystem.vue
new file mode 100644
index 0000000..cbf3dce
--- /dev/null
+++ b/pages/switchSystem.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/permission.js b/permission.js
index 0921d58..543b7d1 100644
--- a/permission.js
+++ b/permission.js
@@ -1,11 +1,12 @@
import { getToken } from '@/utils/auth'
-
+//跳转页面
+const loginPage = "/pages/switchSystem"
// 登录页面
-const loginPage = "/pages/login"
+// const loginPage = "/pages/login"
// 页面白名单
const whiteList = [
- '/pages/login', '/pages/register', '/pages/common/webview/index','/pages/realName','/mp_ecard_sdk/index/index', '/pages/personalInfoCollection'
+'/pages/switchSystem', '/pages/login', '/pages/register', '/pages/common/webview/index','/pages/realName','/mp_ecard_sdk/index/index', '/pages/personalInfoCollection'
]
// 检查地址白名单
diff --git a/utils/request.js b/utils/request.js
index 860f0ef..9344b27 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -5,9 +5,11 @@ import errorCode from '@/utils/errorCode'
import { toast, showConfirm, tansParams } from '@/utils/common'
let timeout = 10000
-const baseUrl = config.baseUrl
-
-const request = config => {
+const baseUrlZC = config.baseUrlZC
+const baseUrlTJ = config.baseUrlTJ
+const request = config => {
+ const sysType = uni.getStorageSync('sysType')
+
// 是否需要设置 token
const isToken = (config.headers || {}).isToken === false
config.header = config.header || {}
@@ -20,11 +22,12 @@ const request = config => {
url = url.slice(0, -1)
config.url = url
}
- return new Promise((resolve, reject) => {
+ return new Promise((resolve, reject) => {
+ const reqURL = sysType == 1 ? baseUrlZC : baseUrlTJ
uni.request({
method: config.method || 'get',
timeout: config.timeout || timeout,
- url: config.baseUrl || baseUrl + config.url,
+ url: config.baseUrl || reqURL + config.url,
data: config.data,
header: config.header,
dataType: 'json'