diff --git a/src/components/MarkdownEdit/index.vue b/src/components/MarkdownEdit/index.vue new file mode 100644 index 0000000..cb4973c --- /dev/null +++ b/src/components/MarkdownEdit/index.vue @@ -0,0 +1,125 @@ + + + + + \ No newline at end of file diff --git a/src/components/ypModel/index.vue b/src/components/ypModel/index.vue new file mode 100644 index 0000000..900f96c --- /dev/null +++ b/src/components/ypModel/index.vue @@ -0,0 +1,114 @@ + + + + + \ No newline at end of file diff --git a/src/utils/tools.js b/src/utils/tools.js index 8ce4e4e..0ceb19e 100644 --- a/src/utils/tools.js +++ b/src/utils/tools.js @@ -1,6 +1,6 @@ - +import ImageCompressor from "image-compressor.js"; // 随机颜色 - 把16进制的颜色换成rgba格式 export function choseRbgb(color,opcity) { if(color){ @@ -23,6 +23,26 @@ export function randomHexColor() { // 随机生成十六进制颜色 return '#' + hex; } +/** + * 压缩图片 + * @param {*} file + * @param {*} quality 压缩比 + */ +export function compressImage(file, quality = 0.6) { + return new Promise((resolve, reject) => { + new ImageCompressor(file, { + quality, //压缩质量 + success(res) { + let fileData = new File([res], res.name, { type: res.type }); + resolve(fileData); + }, + error(e) { + reject("图片压缩失败,请稍后再试"); + }, + }); + }); +}; + // 今天周几 export function weekValidate() { let week = new Date().getDay() diff --git a/src/views/KeyPopulations/model/importantPerson.vue b/src/views/KeyPopulations/model/importantPerson.vue index bd38063..00e0b53 100644 --- a/src/views/KeyPopulations/model/importantPerson.vue +++ b/src/views/KeyPopulations/model/importantPerson.vue @@ -2,8 +2,8 @@
- 重点人信息统计 - {{ it }} + 重点人信息统计 + {{ it }}
@@ -15,6 +15,11 @@ + @@ -34,10 +39,7 @@ const keywords = ref(''); // 搜索关键字 const { proxy } = getCurrentInstance(); const { D_GS_ZDQT_ZT,D_BZ_RYBQ,D_GS_ZDQT_FXDJ } = proxy.$dict('D_GS_ZDQT_ZT','D_BZ_RYBQ','D_GS_ZDQT_FXDJ') //获取字典数据 const pageData = reactive({ - tableData: [ - { ryXm: "王五", rySfzh: "330102199505057890", bq: "吸毒人员" }, - { ryXm: "王五", rySfzh: "330102199505057890", bq: "吸毒人员" }, - ], + tableData: [], keyCount: 0, tableConfiger: { loading: false, @@ -54,7 +56,7 @@ const pageData = reactive({ tableColumn: [ { label: "姓名", prop: "ryXm", showOverflowTooltip: true }, { label: "身份证号码", prop: "rySfzh",showOverflowTooltip: true }, - { label: "标签", prop: "bq",showOverflowTooltip: true }, + { label: "标签", prop: "bqList",showOverflowTooltip: true,showSolt:true }, { label: "所属线索", prop: "xsmc",showOverflowTooltip: true }, ] }); diff --git a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/detail.vue b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/detail.vue deleted file mode 100644 index 48e82f5..0000000 --- a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/components/detail.vue +++ /dev/null @@ -1,19 +0,0 @@ - - - - - \ No newline at end of file diff --git a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue index ac35bc3..96e49a4 100644 --- a/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/ResearchHome/index.vue @@ -28,7 +28,7 @@ 专题研判 - 研判报告 + 研判报告
@@ -62,23 +62,24 @@
- - + + - - \ No newline at end of file diff --git a/src/views/backOfficeSystem/JudgmentHome/tsypHome/index.vue b/src/views/backOfficeSystem/JudgmentHome/tsypHome/index.vue index 11da62a..e29329b 100644 --- a/src/views/backOfficeSystem/JudgmentHome/tsypHome/index.vue +++ b/src/views/backOfficeSystem/JudgmentHome/tsypHome/index.vue @@ -15,13 +15,13 @@ + - -