Commit e33c8909 authored by obt's avatar obt

行业类别页面代码更新

parent 16096425
/*
* @Author: Jenkins
* @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
* @Description: 行业应用页请求接口
* @FilePath: \rs-cloud-platform-ui\src\api\wsmanagement\industryApplication\index.js
......@@ -13,11 +13,11 @@ import fetch from 'utils/fetch';
* 获取所有行业应用类型
* @param {Object} indexShow
*/
export function getAllApplicationType(indexShow){
export function getAllApplicationType(obj){
return fetch({
url: '/api/website/industryApplicationType/getAll',
url: '/api/website/industryApplicationType/app/unauth/getAll',
method: 'get',
param: {indexShow:indexShow}
param: obj
});
}
......
<!--
* @Author: your name
* @Date: 2020-12-02 10:27:53
* @LastEditTime: 2020-12-04 09:13:31
* @LastEditors: your name
* @Description: In User Settings Edit
* @LastEditTime: 2020-12-08 14:32:42
* @LastEditors: Please set LastEditors
* @Description: 应用详情
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\industryApplication\applicationList\index.vue
-->
<template>
......
<!--
* @Author: Jenkins
* @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
* @Description: 创建新闻
* @FilePath: \rs-cloud-platform-ui\src\views\webSiteManagement\newsCategory\newsCreator\index.vue
......@@ -146,7 +146,7 @@ export default {
newsDate: timestamp2Date((new Date()).getTime()),
typeId: this.form.region,
isDel: 0,// 0为未被删除,1为已删除
status: 0, // 默认上传即为下架状态
status: 2, // 默认上传即为下架状态(1为上架2为下架)
indexShow: 1,
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