| | |
| | | update, |
| | | add, |
| | | getRotation |
| | | } from "@/api/rotation/rotation" |
| | | } from "@/ssoapi/rotation/rotation" |
| | | import { |
| | | getDistrictTree |
| | | } from "@/api/district/index" |
| | | } from "@/ssoapi/district/index" |
| | | import { |
| | | mapGetters |
| | | } from "vuex" |
| | |
| | | addDisplay: false, |
| | | editDisplay: false, |
| | | type: "tree", |
| | | dicUrl: "/api/blade-system/region/tree?deptNature={{type}}", |
| | | dicUrl: "/ssoapi/blade-system/region/tree?deptNature={{type}}", |
| | | props: { |
| | | label: "name", |
| | | value: "id" |
| | |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | cascader: ['articleId'], |
| | | dicUrl: "/api/blade-district/district/getDistrictTree?filterFlag=1", |
| | | dicUrl: "/ssoapi/blade-district/district/getDistrictTree?filterFlag=1", |
| | | rules: [{ |
| | | required: true, |
| | | message: "请选择范围", |
| | |
| | | editDisplay: false, |
| | | addDisplay: false, |
| | | type: 'select', |
| | | dicUrl: `/api/blade-article/article/getArticleByDistrictId?type=4&publish=1&eventType=1&districtId={{rotationRange}}`, |
| | | dicUrl: `/ssoapi/blade-article/article/getArticleByDistrictId?type=4&publish=1&eventType=1&districtId={{rotationRange}}`, |
| | | formslot: true, |
| | | // cascader: ['vote'], |
| | | props: { |
| | |
| | | prop: "url", |
| | | type: "upload", |
| | | listType: "picture-img", |
| | | action: "/api/blade-resource/oss/endpoint/put-file", |
| | | action: "/ssoapi/blade-resource/oss/endpoint/put-file", |
| | | propsHttp: { |
| | | res: "data", |
| | | name: 'name', |