|
|
@@ -65,7 +65,7 @@
|
|
|
<span>
|
|
|
<em v-for="(item, documentIndex) in document.list" :key="documentIndex">{{
|
|
|
item.title
|
|
|
- }}</em>
|
|
|
+ }}</em>
|
|
|
</span>
|
|
|
<icon-caret-down size="12" v-if="documentKey === menuList[key].documentOpenIndex" />
|
|
|
<icon-caret-right size="12" v-else />
|
|
|
@@ -76,7 +76,7 @@
|
|
|
<a-typography-paragraph :ellipsis="{ rows: 3, css: true }" :style="{ flex: 1, margin: '0' }">
|
|
|
<span style="color: rgba(153, 153, 153, 1); font-size: 12px">{{
|
|
|
item.content
|
|
|
- }}</span>
|
|
|
+ }}</span>
|
|
|
</a-typography-paragraph>
|
|
|
</p>
|
|
|
</div>
|
|
|
@@ -478,14 +478,23 @@ export default defineComponent({
|
|
|
const question = props.type === "report" ? value.inputs.report_name : value;
|
|
|
const data = addQuestion(question);
|
|
|
loadingData.value = addLoading(data);
|
|
|
- const sendData =
|
|
|
+ let sendData =
|
|
|
props.type === "report" || props.type === "excel"
|
|
|
? value
|
|
|
: {
|
|
|
message: value
|
|
|
};
|
|
|
+ console.log('sendData', sendData)
|
|
|
if (props.type === 'doc') {
|
|
|
- sendData.doc_ids = [helper.read('docId')];
|
|
|
+
|
|
|
+ // sendData.doc_ids = [helper.read('docId')];
|
|
|
+ // 以下为判断是毕生还是regflow
|
|
|
+ // TODO 判断是毕生还是regflow
|
|
|
+ // 以下为毕生
|
|
|
+
|
|
|
+ sendData = helper.read('sendData')
|
|
|
+ sendData.message = value
|
|
|
+ console.log('sendData', sendData)
|
|
|
}
|
|
|
helper.webSocket.send(JSON.stringify(sendData));
|
|
|
});
|