Commit e33c8909 authored by obt's avatar obt

行业类别页面代码更新

parent 16096425
/* /*
* @Author: Jenkins * @Author: Jenkins
* @Date: 2020-12-02 09:20:18 * @Date: 2020-12-02 09:20:18
* @LastEditTime: 2020-12-02 10:53:27 * @LastEditTime: 2020-12-08 14:59:18
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 行业应用页请求接口 * @Description: 行业应用页请求接口
* @FilePath: \rs-cloud-platform-ui\src\api\wsmanagement\industryApplication\index.js * @FilePath: \rs-cloud-platform-ui\src\api\wsmanagement\industryApplication\index.js
...@@ -13,11 +13,11 @@ import fetch from 'utils/fetch'; ...@@ -13,11 +13,11 @@ import fetch from 'utils/fetch';
* 获取所有行业应用类型 * 获取所有行业应用类型
* @param {Object} indexShow * @param {Object} indexShow
*/ */
export function getAllApplicationType(indexShow){ export function getAllApplicationType(obj){
return fetch({ return fetch({
url: '/api/website/industryApplicationType/getAll', url: '/api/website/industryApplicationType/app/unauth/getAll',
method: 'get', method: 'get',
param: {indexShow:indexShow} param: obj
}); });
} }
......
<!-- <!--
* @Author: your name * @Author: your name
* @Date: 2020-12-02 10:27:53 * @Date: 2020-12-02 10:27:53
* @LastEditTime: 2020-12-04 09:13:31 * @LastEditTime: 2020-12-08 14:32:42
* @LastEditors: your name * @LastEditors: Please set LastEditors
* @Description: In User Settings Edit * @Description: 应用详情
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\industryApplication\applicationList\index.vue * @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\industryApplication\applicationList\index.vue
--> -->
<template> <template>
......
<!-- <!--
* @Author: Jenkins * @Author: Jenkins
* @Date: 2020-12-02 14:49:10 * @Date: 2020-12-02 14:49:10
* @LastEditTime: 2020-12-08 14:18:46 * @LastEditTime: 2020-12-08 15:20:39
* @LastEditors: Please set LastEditors * @LastEditors: Please set LastEditors
* @Description: 创建新闻 * @Description: 创建新闻
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\newsCreator\index.vue * @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\newsCreator\index.vue
...@@ -146,7 +146,7 @@ export default { ...@@ -146,7 +146,7 @@ export default {
newsDate: timestamp2Date((new Date()).getTime()), newsDate: timestamp2Date((new Date()).getTime()),
typeId: this.form.region, typeId: this.form.region,
isDel: 0,// 0为未被删除,1为已删除 isDel: 0,// 0为未被删除,1为已删除
status: 0, // 默认上传即为下架状态 status: 2, // 默认上传即为下架状态(1为上架2为下架)
indexShow: 1, indexShow: 1,
typeName: (this.types.find(ele => ele.value == this.form.region)).label, typeName: (this.types.find(ele => ele.value == this.form.region)).label,
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment