diff --git a/pages.json b/pages.json
index 0c59f36..4df438c 100644
--- a/pages.json
+++ b/pages.json
@@ -599,11 +599,6 @@
"selectedIconPath": "static/icons/tabs_show_02.png",
"pagePath": "pages/work/index",
"text": "工作台"
- },{
- "iconPath": "static/icons/tabs_icon_04.png",
- "selectedIconPath": "static/icons/tabs_icon_04.png",
- "pagePath": "pages/im/msg",
- "text": "消息"
}, {
"iconPath": "static/icons/tabs_icon_03.png",
"selectedIconPath": "static/icons/tabs_show_03.png",
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 763a428..ee95bd2 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -110,13 +110,6 @@
-
-
-
@@ -126,18 +119,6 @@
export default {
data() {
return {
- jgArr : [
- { name: '中信' },
- { name: '哈尔滨' },
- { name: '广州' },
- { name: '发展银行' },
- { name: '其他机构' },
- { name: '中信' },
- { name: '哈尔滨' },
- { name: '广州' },
- { name: '发展银行' },
- { name: '其他机构' }
- ],
theTabs : [
{ category_id: '', title: '全部' }
],
@@ -165,9 +146,6 @@
this.getZf()
},
methods: {
- onOpen(){
- this.$refs.MecanisPicker.open()
- },
// 获取金法列表
getJf(){
let params = {
diff --git a/pages/work/generate.vue b/pages/work/generate.vue
index 17b5e06..f8a0864 100644
--- a/pages/work/generate.vue
+++ b/pages/work/generate.vue
@@ -11,12 +11,16 @@
-
+
+
+ {{item.institution[item.institutionIndex].title}}
+
+
@@ -103,6 +107,13 @@
+
+
@@ -113,9 +124,12 @@
components: { octpicker },
data() {
return {
+ columns : [],
businessArr: [],
serviceUser: '',
serviceArr : [],
+ old : {},
+ cIndex : 0
};
},
created() {
@@ -125,6 +139,13 @@
this.serviceUser = serviceUser
},
methods: {
+ // 显示选择机构
+ onShowInstitution(e, item, index){
+ this.columns = e
+ this.old = item
+ this.cIndex = index
+ this.$refs.institutionPicker.open()
+ },
// 移出选项
onRemove(index){
this.serviceArr.splice(index, 1)
@@ -202,10 +223,12 @@
})
},
// 机构变更更新业务
- institutionChange(e, old, index){
- let { value } = e.detail;
+ institutionChange(e){
+ let index = this.cIndex
+ let old = this.old
+ let value = old.institution.findIndex(val => val.institution_id === e.val.institution_id);
let businessId = old.subVal.business_id
-
+
// 获取机构的子业务类型
let forms = this.getForms(old.institution[value].institution_id)
forms.then(institutionVal => {
diff --git a/uni_modules/oct-mechanism-picker/components/oct-mechanism-picker/oct-mechanism-picker.vue b/uni_modules/oct-mechanism-picker/components/oct-mechanism-picker/oct-mechanism-picker.vue
index 2785aea..7c78794 100644
--- a/uni_modules/oct-mechanism-picker/components/oct-mechanism-picker/oct-mechanism-picker.vue
+++ b/uni_modules/oct-mechanism-picker/components/oct-mechanism-picker/oct-mechanism-picker.vue
@@ -3,16 +3,42 @@
{{title}}
+
+
+
+
+
+
- {{item.name}}
+
+
+ {{item.title}}
+
+
+
+ 暂无与[{{searchValue}}]相关的搜索结果
+
+
+
+
+ {{item.title}}
+
+
+
-
+