+
+
+
+
+
+
-
+
{{ $t('deleteBatch') }}
- {{ $t('export') }}
-
+ {{ $t('export') }}
+
+
@@ -130,7 +141,9 @@ export default {
id: ''
},
meetTypeArr: [],
- dailyTypeArr: []
+ dailyTypeArr: [],
+ ids: [],
+ options: []
}
},
components: {
@@ -139,8 +152,29 @@ export default {
created: function () {
this.getDailyTypeArrInfo('0')
this.getDataList()
+ this.getOptions()
+ },
+ watch: {
+ ids: function (val) {
+ if (val.length === 0) {
+ this.dataForm.deptId = ''
+ } else {
+ this.dataForm.deptId = this.ids[val.length - 1]
+ }
+ }
},
methods: {
+ getOptions () {
+ this.$http
+ .get(`/sys/user/deptOptions/getByLoginUser`)
+ .then(({ data: res }) => {
+ if (res.code !== 0) {
+ return this.$message.error(res.msg)
+ }
+ this.options = res.data.options
+ })
+ .catch(() => {})
+ },
getDataListOverWrite () {
this.page = 1
this.getDataList()