瀏覽代碼

reactor:对接案例库;

zhangchong 3 月之前
父節點
當前提交
6e9a1dabb5

+ 0 - 1
src/views/case/index/components/Select-knowledge.vue

@@ -70,7 +70,6 @@ const state = reactive({
 		PageIndex: 1, // 当前页
 		PageSize: 10, // 每页条数
 		Keyword: null, // 关键字
-		Attribution: '中心知识库',
 		RetrievalType: '1', // 标题
 	},
 	tableRadio: '', // 选择的ID

+ 0 - 1
src/views/case/index/edit.vue

@@ -290,7 +290,6 @@ const { userInfos } = storeToRefs(stores); // 用户信息
 const state = reactive<any>({
 	dialogVisible: false,
 	ruleForm: {
-		attribution: '中心案例库', // 案例归属
 		files: [], // 附件
 		content: '', // 内容
 		title: null, // 标题

+ 2 - 4
src/views/case/index/index.vue

@@ -307,8 +307,6 @@ const state = reactive<any>({
 		Keyword: null, //关键字
 		Status: 3, //状态 默认已上架
 		Title: null, //标题
-		ModuleCode: '',
-		Attribution: '中心案例库',
 		sjTime: [], // 上架时间
 		StartOnShelfTime: null,
 		EndOnShelfTime: null,
@@ -334,7 +332,7 @@ const state = reactive<any>({
 });
 // 切换tab 查询列表
 const handleClick = () => {
-	state.queryParams.ModuleCode = '';
+	state.queryParams.PageIndex = 1;
 	queryList();
 };
 /** 搜索按钮操作 节流操作 */
@@ -346,7 +344,7 @@ const handleQuery = () => {
 const getCaseType = async () => {
 	state.typeLoading = true;
 	try {
-		const { result } = await caseTreeList({ IsEnable: true, Attribution: state.queryParams.Attribution });
+		const { result } = await caseTreeList({ IsEnable: true });
 		state.typeOptions = result ?? [];
 		state.typeLoading = false;
 	} catch (error) {

+ 1 - 2
src/views/case/retrieval/index.vue

@@ -133,7 +133,6 @@ const state = reactive<any>({
 		// 查询条件
 		PageIndex: 1, // 当前页
 		PageSize: 10, // 每页条数
-		Attribution: '中心案例库',
 		text: null, // 关键词
 		RetrievalType: '0', // 检索类型 默认全文
 		OrderByType: 1, // 排序类型  降序
@@ -150,7 +149,7 @@ const topList = ref<EmptyArrayType>([]); // 常用案例前10
 const getType = async () => {
 	state.typeLoading = true;
 	try {
-		const { result } = await caseTreeList({ IsEnable: true, Attribution: state.queryParams.Attribution });
+		const { result } = await caseTreeList({ IsEnable: true });
 		state.typeOptions = result ?? [];
 		state.typeLoading = false;
 	} catch (error) {

+ 1 - 2
src/views/plan/index/index.vue

@@ -291,7 +291,6 @@ const state = reactive<any>({
 		Keyword: null, //关键字
 		Status: 3, //状态 默认已上架
 		Title: null, //标题
-		ModuleCode: '',
 		Attribution: '中心预案库',
 		sjTime: [], // 上架时间
 		StartOnShelfTime: null,
@@ -317,7 +316,7 @@ const state = reactive<any>({
 });
 // 切换tab 查询列表
 const handleClick = () => {
-	state.queryParams.ModuleCode = '';
+	state.queryParams.PageIndex = 1;
 	queryList();
 };
 /** 搜索按钮操作 节流操作 */

+ 1 - 1
src/views/snapshot/centerMark/log.vue

@@ -146,7 +146,7 @@ const gridOptions = reactive<any>({
 			},
 		},
 		{
-			field: 'no',
+			field: 'sourceChannel',
 			title: '来源渠道',
 			width: 110,
 		},