kpi-indicator-group-service.js 530 B

1234567891011121314151617181920212223
  1. import axios from '@/common/services/axios-instance'
  2. class KpiIndicatorGroupService {
  3. // 获取字典值
  4. getDictValue(key) {
  5. return axios({
  6. url: 'api/xcoa-mobile/v1/iam-law/dictionary?key=' + key,
  7. method: 'get',
  8. })
  9. }
  10. // 判断编号重复
  11. hasGroupNo(id, indiNo) {
  12. return axios({
  13. url: 'api/xcoa-mobile/v1/kpiindigroup/hasGroupNo?id=' + id + '&groupNo=' + indiNo,
  14. method: 'get',
  15. }).then((res) => {
  16. return res.data
  17. })
  18. }
  19. }
  20. export default new KpiIndicatorGroupService()