更新数据
This commit is contained in:
@ -73,7 +73,7 @@
|
||||
</div>
|
||||
<!-- 编辑详情 -->
|
||||
<EditAddForm ref="detailDiloag" @updateDate="getList" />
|
||||
<Detail ref="detailForm" v-if="isShow" :dic="{D_BZ_SF,D_BZ_XB,D_GS_XS_LY,D_BZ_SSZT,D_GS_XS_LX ,D_GS_XS_QTLX}" />
|
||||
<Detail ref="detailForm" @change="getjxListR" v-if="isShow" :dic="{D_BZ_SF,D_BZ_XB,D_GS_XS_LY,D_BZ_SSZT,D_GS_XS_LX ,D_GS_XS_QTLX}" />
|
||||
<!-- 文字解析 -->
|
||||
<ExtractionText v-model="showText" @change="getText"></ExtractionText>
|
||||
</div>
|
||||
@ -106,8 +106,8 @@ const searchConfiger = ref([
|
||||
{
|
||||
label: "要素类型",
|
||||
prop: "yslx",
|
||||
placeholder: "请选择要素类型",
|
||||
showType: "select"
|
||||
placeholder: "请输入要素类型",
|
||||
showType: "input"
|
||||
},
|
||||
{
|
||||
label: "要素名称",
|
||||
@ -206,9 +206,11 @@ const onSearchR = (val) => {
|
||||
getjxListR();
|
||||
};
|
||||
|
||||
// 获取数据
|
||||
const getjxListR = () => {
|
||||
pageData.tableConfigerR.loading = true;
|
||||
qcckGet(queryFromR.value,'/mosty-gsxt/qbcj/selectPage').then((res)=>{
|
||||
let params = { ...queryFromR.value, cjLx:2, }
|
||||
qcckGet(params,'/mosty-gsxt/qbcj/selectPage').then((res)=>{
|
||||
pageData.tableDataR = res.records || [];
|
||||
pageData.pageConfigerR.total = res.total;
|
||||
pageData.tableConfigerR.loading = false;
|
||||
@ -284,7 +286,9 @@ const getText = (val) =>{
|
||||
let xslx = '线索类型是一个字典,字典内容包括:' + (D_GS_XS_LX.value.map(item=>item.dm+':'+item.zdmc).join(','))+'\n'
|
||||
let qbLy = '情报来源是一个字典,字典内容包括:' + (D_GS_XS_LY.value.map(item=>item.dm+':'+item.zdmc).join(','))+'\n'
|
||||
let sszt = '所属专题是一个字典,字典内容包括:' + (D_BZ_SSZT.value.map(item=>item.dm+':'+item.zdmc).join(','))+'\n'
|
||||
obj.messages[0].content = obj.messages[0].content + xslx + qbLy + sszt;
|
||||
let time = '时间必须按照 YYYY-MM-DD HH:mm:ss 的格式 \n'
|
||||
|
||||
obj.messages[0].content = obj.messages[0].content + xslx + qbLy + sszt + time;
|
||||
// *********************
|
||||
obj.messages[1].content = obj.messages[1].content + val.text;
|
||||
prsentText.value = obj;
|
||||
@ -312,9 +316,9 @@ const handleFx = () => {
|
||||
qbid:qbid.value,
|
||||
...message.jbxx[0],
|
||||
ryList:message.ryList,
|
||||
cjLx:2,
|
||||
}
|
||||
qcckPost(params,'/mosty-gsxt/qbcj/add').then((res)=>{
|
||||
console.log(res,'============');
|
||||
getjxListR()
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user