|
@@ -10,7 +10,6 @@
|
|
|
import { typeOptions, intePropLawStatus } from '../../utils/variables';
|
|
import { typeOptions, intePropLawStatus } from '../../utils/variables';
|
|
|
import SortList from '../../components/page/SortList.vue';
|
|
import SortList from '../../components/page/SortList.vue';
|
|
|
import ManageGride from '../../components/list/ExpertGride.vue';
|
|
import ManageGride from '../../components/list/ExpertGride.vue';
|
|
|
-import { affiliationOptions } from '../../utils/variables';
|
|
|
|
|
export default {
|
|
export default {
|
|
|
components: { SortList, ManageGride },
|
|
components: { SortList, ManageGride },
|
|
|
created() {
|
|
created() {
|
|
@@ -25,7 +24,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
typeOptions,
|
|
typeOptions,
|
|
|
intePropLawStatus,
|
|
intePropLawStatus,
|
|
|
- affiliationOptions
|
|
|
|
|
|
|
+ affiliationOptions: []
|
|
|
};
|
|
};
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
@@ -54,7 +53,16 @@ export default {
|
|
|
methods: {
|
|
methods: {
|
|
|
init() {
|
|
init() {
|
|
|
this.$http
|
|
this.$http
|
|
|
- .post('/setting/byFlag', { flag: 1 })
|
|
|
|
|
|
|
+ .post('/setting/byFlag', { flag: 15 })
|
|
|
|
|
+ .then(res => {
|
|
|
|
|
+ this.affiliationOptions = res.map(item => {
|
|
|
|
|
+ return {
|
|
|
|
|
+ label: item.name,
|
|
|
|
|
+ value: item.id
|
|
|
|
|
+ };
|
|
|
|
|
+ });
|
|
|
|
|
+ return this.$http.post('/setting/byFlag', { flag: 1 });
|
|
|
|
|
+ })
|
|
|
.then(res => {
|
|
.then(res => {
|
|
|
if (res.length > 0) {
|
|
if (res.length > 0) {
|
|
|
this.fieldOptions = res.map(item => {
|
|
this.fieldOptions = res.map(item => {
|