-
-
-
-
-
-
+
+
-
-
-
+
+
+
- {{$t('page.business.study.study.statusCg')}}
- {{$t('page.business.study.study.statusSyz')}}
- {{$t('page.business.study.study.statusYsd')}}
- {{$t('page.business.study.study.statusDgd')}}
- {{$t('page.business.study.study.statusGd')}}
- {{$t('page.business.study.study.statusDjd')}}
+ {{
+ $t('page.business.study.study.statusCg') }}
+ {{
+ $t('page.business.study.study.statusSyz') }}
+ {{
+ $t('page.business.study.study.statusYsd') }}
+ {{
+ $t('page.business.study.study.statusDgd') }}
+ {{
+ $t('page.business.study.study.statusGd') }}
+ {{
+ $t('page.business.study.study.statusDjd') }}
-
+
+ {{
+ $t('page.business.study.study.other') }}
+
@@ -60,14 +66,18 @@ import { public_studyList } from "@/api/business/public/public";
import SelectDeptUser from '@/views/business/comps/select/SelectDeptUser';
export default {
name: "SelectStudyDialog",
- components: {SelectDeptUser },
+ components: { SelectDeptUser },
props: {
},
watch: {
},
data() {
return {
+ checkedOther: false,
+ others: '',
selectedId: null,
+ selectedName: null,
+ selectList: [],
loading: false,
open: false,
total: 0,
@@ -85,18 +95,35 @@ export default {
mounted() {
},
methods: {
- handleRadioClick(row) {
- this.selectedId = row.id
+ checkedOtherChange() {
+ if (!this.checkedOther) {
+ this.others = ''
+ }
+ },
+ handleSelectionChange(selection) {
+ this.single = selection.length !== 1
+ this.multiple = !selection.length
+ this.selectList = selection
+ this.selectedId = _.map(this.selectList, 'id').join(',')
+ this.selectedName = _.map(this.selectList, 'name').join(',')
},
show(val) {
- this.searchForm=_.merge({}, this.searchForm, val)
- this.selectedId=null
+ this.searchForm = _.merge({}, this.searchForm, val)
+ this.selectedId = null
+ this.selectedName = null
+ this.checkedOther = false
+ this.others = null
+ this.$emit('callback', { id: '', name: '', other: '' })
this.search()
},
search() {
this.searchForm.pageNum = 1;
this.open = true
- this.selectedId=null
+ this.selectedId = null
+ this.selectedName = null
+ this.checkedOther = false
+ this.others = null
+ this.$emit('callback', { id: '', name: '', other: '' })
this.getList();
},
reset() {
@@ -118,10 +145,13 @@ export default {
})
},
handleSelect() {
- let that = this
- let _index = _.findIndex(this.list, function (item) { return item.id == that.selectedId })
- debugger
- this.$emit('callback', this.list[_index]);
+ let name=''
+ if(this.selectedName!=''&&this.others!=''){
+ name=this.selectedName+','+this.others
+ }else{
+ name=this.selectedName+this.others
+ }
+ this.$emit('callback', { id: this.selectedId, name: name, other: this.others })
this.open = false
}
}
@@ -129,7 +159,5 @@ export default {
\ No newline at end of file
diff --git a/src/views/business/resource/gyzj/comps/ffjl/Xq.vue b/src/views/business/resource/gyzj/comps/ffjl/Xq.vue
index 605f234..66ba655 100644
--- a/src/views/business/resource/gyzj/comps/ffjl/Xq.vue
+++ b/src/views/business/resource/gyzj/comps/ffjl/Xq.vue
@@ -75,7 +75,8 @@
{{ $t('page.business.resource.gyzj.md') }}
-
+
+
diff --git a/src/views/business/resource/gyzj/comps/ffjlList.vue b/src/views/business/resource/gyzj/comps/ffjlList.vue
index bf85370..afdb76e 100644
--- a/src/views/business/resource/gyzj/comps/ffjlList.vue
+++ b/src/views/business/resource/gyzj/comps/ffjlList.vue
@@ -86,13 +86,17 @@
-
+
-
+
+
+ {{ scope.row.mdMcs }}{{ scope.row.mdOther }}
+ {{ scope.row.mdMcs }},{{ scope.row.mdOther }}
+
+
@@ -141,9 +145,9 @@
-
- {{
+
+ {{
$t('page.business.resource.gyzj.jiaqian') }}
{{
$t('page.business.resource.gyzj.jiedang') }}
- {{
$t('page.business.resource.gyzj.jieyue') }}
@@ -186,7 +190,7 @@
-
+
@@ -212,7 +216,7 @@ export default {
daterangeCk: [],
daterangeRk: [],
loading: true,
- showDetail:false,
+ showDetail: false,
single: true,
multiple: true,
total: 0,
@@ -263,15 +267,15 @@ export default {
handlePlsd() {
this.$refs.Sd.showBatch(this.selectList)
},
- closeXq(){
- this.showDetail=false
- this.$emit('showDetail',this.showDetail)
+ closeXq() {
+ this.showDetail = false
+ this.$emit('showDetail', this.showDetail)
this.handleQuery()
},
//详情
handleXq(row) {
- this.showDetail=true
- this.$emit('showDetail',this.showDetail)
+ this.showDetail = true
+ this.$emit('showDetail', this.showDetail)
this.$refs.Xq.show(row)
},
//归档
diff --git a/src/views/business/resource/gyzj/comps/gyzj/Ff.vue b/src/views/business/resource/gyzj/comps/gyzj/Ff.vue
index 8c10dba..e935124 100644
--- a/src/views/business/resource/gyzj/comps/gyzj/Ff.vue
+++ b/src/views/business/resource/gyzj/comps/gyzj/Ff.vue
@@ -44,7 +44,7 @@
-->
-
@@ -121,7 +121,7 @@
-
+