diff --git a/api/tort.js b/api/tort.js index beb1f02..ed3eb50 100644 --- a/api/tort.js +++ b/api/tort.js @@ -5,6 +5,8 @@ const URL_REPEAT = BASE_URL + '/webserver/reportInfos/websiteUrlRepeat.do' const UPLOAD_PICTURE = BASE_URL + 'webserver/fileUploadController/uploadToLocal' const WEB_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' +const OTHER_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' +const SPECIAL_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' const GET_CODE_URL = BASE_URL + '/webserver/captchaController/generateVerifyCodeOfReport.do' /** * 生成网址、网址转换 @@ -23,7 +25,14 @@ export function webReport(data) { return fetch.get(WEB_REPORT, data).then(res => res); } - +// 其他类型举报 +export function otherReport(data) { + return fetch.get(OTHER_REPORT, data).then(res => res); +} +// 专项举报 +export function specialReport(data) { + return fetch.get(SPECIAL_REPORT, data).then(res => res); +} // 获取验证码 export function getCodeURl() { const data = { diff --git a/api/tort.js b/api/tort.js index beb1f02..ed3eb50 100644 --- a/api/tort.js +++ b/api/tort.js @@ -5,6 +5,8 @@ const URL_REPEAT = BASE_URL + '/webserver/reportInfos/websiteUrlRepeat.do' const UPLOAD_PICTURE = BASE_URL + 'webserver/fileUploadController/uploadToLocal' const WEB_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' +const OTHER_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' +const SPECIAL_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' const GET_CODE_URL = BASE_URL + '/webserver/captchaController/generateVerifyCodeOfReport.do' /** * 生成网址、网址转换 @@ -23,7 +25,14 @@ export function webReport(data) { return fetch.get(WEB_REPORT, data).then(res => res); } - +// 其他类型举报 +export function otherReport(data) { + return fetch.get(OTHER_REPORT, data).then(res => res); +} +// 专项举报 +export function specialReport(data) { + return fetch.get(SPECIAL_REPORT, data).then(res => res); +} // 获取验证码 export function getCodeURl() { const data = { diff --git a/packageB/center/center.vue b/packageB/center/center.vue index 3610dd8..596e0cf 100644 --- a/packageB/center/center.vue +++ b/packageB/center/center.vue @@ -85,19 +85,19 @@ id: '1', type: 'web', label: '涉领导人类', - icon: 'http://111.198.10.15:11604/png/reportIcon7.png' + icon: 'http://111.198.10.15:11404/imgs/xj/涉领导人类.png' }, { id: '2', type: 'web', label: '涉党军政类', - icon: 'http://111.198.10.15:11604/png/reportIcon5.png' + icon: 'http://111.198.10.15:11404/imgs/xj/涉党军政类.png' }, { id: '3', type: 'web', - label: '涉爆涉恐类', - icon: 'http://111.198.10.15:11604/png/reportIcon4.png' + label: '涉暴涉恐类', + icon: 'http://111.198.10.15:11404/imgs/xj/涉暴涉恐类.png' }, ], TypeList2: [ @@ -105,19 +105,19 @@ id: '4', type: 'web', label: '民族宗教类', - icon: 'http://111.198.10.15:11604/png/reportIcon1.png' + icon: 'http://111.198.10.15:11404/imgs/xj/民族宗教类.png' }, { id: '5', type: 'web', label: '治疆政策类', - icon: 'http://111.198.10.15:11604/png/reportIcon10.png' + icon: 'http://111.198.10.15:11404/imgs/xj/治疆政策类.png' }, { id: '6', type: 'web', label: '涉疆案(事)件类', - icon: 'http://111.198.10.15:11604/png/reportIcon3.png' + icon: 'http://111.198.10.15:11404/imgs/xj/涉疆案件类.png' }, ], TypeList3: [ @@ -125,19 +125,19 @@ id: '7', type: 'web', label: '公共安全类', - icon: 'http://111.198.10.15:11604/png/reportIcon7.png' + icon: 'http://111.198.10.15:11404/imgs/xj/公共安全类.png' }, { id: '8', type: 'web', label: '组织人事类', - icon: 'http://111.198.10.15:11604/png/reportIcon8.png' + icon: 'http://111.198.10.15:11404/imgs/xj/组织人事类.png' }, { id: '9', type: 'web', label: '社会民生类', - icon: 'http://111.198.10.15:11604/png/reportIcon9.png' + icon: 'http://111.198.10.15:11404/imgs/xj/社会民生类.png' }, ], TypeList4: [ @@ -145,7 +145,7 @@ id: '10', type: 'other', label: '其他类', - icon: 'http://111.198.10.15:11604/png/reportIcon10.png' + icon: 'http://111.198.10.15:11404/imgs/xj/其他.png' }, ], tabList: [ @@ -162,7 +162,7 @@ title: '专项举报', type: 'special', dec: '扫黑除恶专题举报', - icon: '../../static/index/status.png', + icon: 'http://111.198.10.15:11404/imgs/xj/工作动态.png', span: '6', style: 'width: 62px;height: 62px;' }, diff --git a/api/tort.js b/api/tort.js index beb1f02..ed3eb50 100644 --- a/api/tort.js +++ b/api/tort.js @@ -5,6 +5,8 @@ const URL_REPEAT = BASE_URL + '/webserver/reportInfos/websiteUrlRepeat.do' const UPLOAD_PICTURE = BASE_URL + 'webserver/fileUploadController/uploadToLocal' const WEB_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' +const OTHER_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' +const SPECIAL_REPORT = BASE_URL + '/webserver/reportInfos/submitReportInfos.do' const GET_CODE_URL = BASE_URL + '/webserver/captchaController/generateVerifyCodeOfReport.do' /** * 生成网址、网址转换 @@ -23,7 +25,14 @@ export function webReport(data) { return fetch.get(WEB_REPORT, data).then(res => res); } - +// 其他类型举报 +export function otherReport(data) { + return fetch.get(OTHER_REPORT, data).then(res => res); +} +// 专项举报 +export function specialReport(data) { + return fetch.get(SPECIAL_REPORT, data).then(res => res); +} // 获取验证码 export function getCodeURl() { const data = { diff --git a/packageB/center/center.vue b/packageB/center/center.vue index 3610dd8..596e0cf 100644 --- a/packageB/center/center.vue +++ b/packageB/center/center.vue @@ -85,19 +85,19 @@ id: '1', type: 'web', label: '涉领导人类', - icon: 'http://111.198.10.15:11604/png/reportIcon7.png' + icon: 'http://111.198.10.15:11404/imgs/xj/涉领导人类.png' }, { id: '2', type: 'web', label: '涉党军政类', - icon: 'http://111.198.10.15:11604/png/reportIcon5.png' + icon: 'http://111.198.10.15:11404/imgs/xj/涉党军政类.png' }, { id: '3', type: 'web', - label: '涉爆涉恐类', - icon: 'http://111.198.10.15:11604/png/reportIcon4.png' + label: '涉暴涉恐类', + icon: 'http://111.198.10.15:11404/imgs/xj/涉暴涉恐类.png' }, ], TypeList2: [ @@ -105,19 +105,19 @@ id: '4', type: 'web', label: '民族宗教类', - icon: 'http://111.198.10.15:11604/png/reportIcon1.png' + icon: 'http://111.198.10.15:11404/imgs/xj/民族宗教类.png' }, { id: '5', type: 'web', label: '治疆政策类', - icon: 'http://111.198.10.15:11604/png/reportIcon10.png' + icon: 'http://111.198.10.15:11404/imgs/xj/治疆政策类.png' }, { id: '6', type: 'web', label: '涉疆案(事)件类', - icon: 'http://111.198.10.15:11604/png/reportIcon3.png' + icon: 'http://111.198.10.15:11404/imgs/xj/涉疆案件类.png' }, ], TypeList3: [ @@ -125,19 +125,19 @@ id: '7', type: 'web', label: '公共安全类', - icon: 'http://111.198.10.15:11604/png/reportIcon7.png' + icon: 'http://111.198.10.15:11404/imgs/xj/公共安全类.png' }, { id: '8', type: 'web', label: '组织人事类', - icon: 'http://111.198.10.15:11604/png/reportIcon8.png' + icon: 'http://111.198.10.15:11404/imgs/xj/组织人事类.png' }, { id: '9', type: 'web', label: '社会民生类', - icon: 'http://111.198.10.15:11604/png/reportIcon9.png' + icon: 'http://111.198.10.15:11404/imgs/xj/社会民生类.png' }, ], TypeList4: [ @@ -145,7 +145,7 @@ id: '10', type: 'other', label: '其他类', - icon: 'http://111.198.10.15:11604/png/reportIcon10.png' + icon: 'http://111.198.10.15:11404/imgs/xj/其他.png' }, ], tabList: [ @@ -162,7 +162,7 @@ title: '专项举报', type: 'special', dec: '扫黑除恶专题举报', - icon: '../../static/index/status.png', + icon: 'http://111.198.10.15:11404/imgs/xj/工作动态.png', span: '6', style: 'width: 62px;height: 62px;' }, diff --git a/packageB/report/report.vue b/packageB/report/report.vue index 020b2fe..d08fc67 100644 --- a/packageB/report/report.vue +++ b/packageB/report/report.vue @@ -2,7 +2,7 @@