{
@@ -145,6 +145,11 @@
console.log(this.queItem);
uni.$http.post('/gunshiApp/xyt/inspect/detail/handle', this.queItem).then(res => {
uni.$showMsg(res.data.description);
+ if(res.data.code == 200){
+ uni.redirectTo({
+ url:'/pages/wtcl/index'
+ })
+ }
})
}
},
diff --git a/pages/wxyh/formZdy/formTop.vue b/pages/wxyh/formZdy/formTop.vue
index d517183..9c32fd5 100644
--- a/pages/wxyh/formZdy/formTop.vue
+++ b/pages/wxyh/formZdy/formTop.vue
@@ -18,7 +18,7 @@ export default {
data() {
return {
formData: {
- reportUserName:uni.getStorageSync('value').userName,
+ reportUserName:uni.getStorageSync('value').nickName,
reportTime:moment().format('YYYY-MM-DD HH:mm:ss'),
userId:uni.getStorageSync('value').userId
},
@@ -27,7 +27,7 @@ export default {
onShow() {
const userList=uni.getStorageSync('value')
console.log(userList,'3456789045678945678');
- this.formData.reportUserName = uni.getStorageSync('value').userName
+ this.formData.reportUserName = uni.getStorageSync('value').nickName
this.formData.userId = uni.getStorageSync('value').userId
},
};
diff --git a/pages/wxyh/index.vue b/pages/wxyh/index.vue
index 22edb17..2855764 100644
--- a/pages/wxyh/index.vue
+++ b/pages/wxyh/index.vue
@@ -53,7 +53,9 @@ export default {
uni.$http.post('/gunshiApp/xyt/maintain/service/insert',{...params,...this.formData}).then(res=>{
if(res.data.code == 200){
uni.$u.toast('新增成功')
- uni.navigateBack()
+ uni.switchTab({
+ url: '/pages/homeIndex/index'
+ });
}
})
},
diff --git a/pages/xcrw/detail/dbForm.vue b/pages/xcrw/detail/dbForm.vue
index 8151d5d..d0237cc 100644
--- a/pages/xcrw/detail/dbForm.vue
+++ b/pages/xcrw/detail/dbForm.vue
@@ -14,11 +14,11 @@
{{o.itemDesc}}
-
+
change(e,o,index,i,'isNormal')"
- style="width:200px;margin-left: 10px">
+ style="width:150px">
@@ -39,7 +39,7 @@
change(e,o,index,i,'isHandle')"
- style="width:200px;margin-left: 10px">
+ style="width:150px">
@@ -63,7 +63,18 @@
+ v-slot:default="{data, error, options}"
+ >
+
+ {{error}}
+
+
+ {{data[data.length-1].text}}
+
+
+ 请选择
+
+
@@ -196,7 +207,7 @@
},
async getTreeList (){
const res = await uni.$http.get('/gunshiApp/xyt/system/dept/list')
- const resUser = await uni.$http.get('/gunshiApp/xyt/system/user/list?pageNum=1&pageSize=9999User')
+ const resUser = await uni.$http.get('/gunshiApp/xyt/system/user/list?pageNum=1&pageSize=9999')
this.deptUserList = resUser.data.rows
if (res.data.data?.length > 0 && resUser.data.rows?.length > 0) {
// return this.handleTreeList(res.data.data,res.data.rows)
@@ -250,7 +261,7 @@
console.log(data,'2121');
if(data.code==200){
uni.$showMsg('提交成功');
- uni.navigateTo({
+ uni.redirectTo({
url:'/pages/xcrw/index'
})
}
@@ -405,6 +416,7 @@
.xj-text {
margin-left: 10%;
+ margin-right: 10%;
margin-top: 2%;
}