瀏覽代碼

是否公开放到项目下面

sunsheng 3 月之前
父節點
當前提交
115015b8b3
共有 2 個文件被更改,包括 23 次插入24 次删除
  1. 6 6
      src/pages/deepseek/audit/index.tsx
  2. 17 18
      src/pages/deepseek/questionAnswer/info/index.tsx

+ 6 - 6
src/pages/deepseek/audit/index.tsx

@@ -128,22 +128,22 @@ const KnowledgeLibList: React.FC = () => {
                         <a
                             style={{ marginRight: 16 }}
                             onClick={() => {
-                                onClickModify(record.appId);
+                                // onClickfetchTakaiApplicationDetail(record.appId);
+                                setDrawerFlag(true)
+                                setDrawerData(record)
                             }}
                             title='审核'
                         >
-                            <StepForwardOutlined />审核
+                            查看
                         </a >
                         <a
                             style={{ marginRight: 16 }}
                             onClick={() => {
-                                // onClickfetchTakaiApplicationDetail(record.appId);
-                                setDrawerFlag(true)
-                                setDrawerData(record)
+                                onClickModify(record.appId);
                             }}
                             title='审核'
                         >
-                            查看
+                            <StepForwardOutlined />审核
                         </a >
                     </>
                 )

+ 17 - 18
src/pages/deepseek/questionAnswer/info/index.tsx

@@ -562,6 +562,23 @@ const QuestionAnswerInfo: React.FC = () => {
                                 }
                             </Select>
                         </FormItem>
+                        {
+                            isAppPro &&
+                            <>
+                                <FormItem
+                                    label='项目'
+                                    name='appProId'
+                                    rules={[{ required: true, message: '项目不能为空' }]}
+                                >
+                                    <Cascader
+                                        options={appProjectList}
+                                        placeholder="请选择项目"
+                                        showSearch
+                                        className="questionAnswerInfo-content-title"
+                                    />
+                                </FormItem>
+                            </>
+                        }
                         <FormItem
                             label='是否公开'
                             name='visible'
@@ -580,24 +597,6 @@ const QuestionAnswerInfo: React.FC = () => {
                                 }
                             </Select>
                         </FormItem>
-                        {
-                            isAppPro &&
-                            <>
-                                <FormItem
-                                    label='项目'
-                                    name='appProId'
-                                    rules={[{ required: true, message: '项目不能为空' }]}
-                                >
-                                    <Cascader
-                                        options={appProjectList}
-                                        placeholder="请选择项目"
-                                        showSearch
-                                        className="questionAnswerInfo-content-title"
-                                    />
-                                </FormItem>
-                            </>
-                        }
-
                         <FormItem
                             label='问答应用描述'
                             name='desc'