|
@@ -2,8 +2,8 @@
|
|
|
* @Description: 近/同义词管理
|
|
|
* @Author: gaomingxin
|
|
|
* @Date: 2023-05-16 15:30:16
|
|
|
- * @LastEditors: error: git config user.name & please set dead value or install git
|
|
|
- * @LastEditTime: 2023-06-05 18:03:10
|
|
|
+ * @LastEditors: chenbaoxin chenbaoxin
|
|
|
+ * @LastEditTime: 2024-04-01 10:36:18
|
|
|
-->
|
|
|
<template>
|
|
|
<div id="sameWords">
|
|
@@ -32,7 +32,11 @@
|
|
|
<el-button size="small" class="search-butt" @click="smallClick"
|
|
|
>批量导入</el-button
|
|
|
>
|
|
|
- <el-button size="small" class="search-butt" @click="backHome" :disabled="backtrack"
|
|
|
+ <el-button
|
|
|
+ size="small"
|
|
|
+ class="search-butt"
|
|
|
+ @click="backHome"
|
|
|
+ :disabled="backtrack"
|
|
|
>返回</el-button
|
|
|
>
|
|
|
</div>
|
|
@@ -86,6 +90,8 @@
|
|
|
title="新增同/近义词"
|
|
|
:visible.sync="dialog"
|
|
|
width="35%"
|
|
|
+ :close-on-click-modal="false"
|
|
|
+
|
|
|
center
|
|
|
v-if="emptyData"
|
|
|
>
|
|
@@ -99,18 +105,76 @@
|
|
|
class="demo-ruleForm"
|
|
|
>
|
|
|
<el-form-item label="词汇名称1:" prop="words1">
|
|
|
- <el-input v-model="ruleForm.words1" :disabled="disa"></el-input>
|
|
|
+ <!-- <el-input v-model="ruleForm.words1" :disabled="disa"></el-input> -->
|
|
|
+ <el-select
|
|
|
+ v-model="ruleForm.words1"
|
|
|
+ filterable
|
|
|
+ remote
|
|
|
+ clearable
|
|
|
+ :reserve-keyword="true"
|
|
|
+ placeholder="请输入词汇名称"
|
|
|
+ :remote-method="remoteMethod1"
|
|
|
+ :loading="loading1"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in chSelect1"
|
|
|
+ :key="item.name"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.name"
|
|
|
+ >{{item.name}}</el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="同/近义词:" prop="relationName">
|
|
|
- <el-select v-model="ruleForm.relationName" placeholder="请选择词汇关系">
|
|
|
+ <el-select
|
|
|
+ v-model="ruleForm.relationName"
|
|
|
+ placeholder="请选择词汇关系"
|
|
|
+ >
|
|
|
<el-option label="同义词" value="同义词"></el-option>
|
|
|
<el-option label="近义词" value="近义词"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="词汇名称2:" prop="words2">
|
|
|
- <el-input v-model="ruleForm.words2"></el-input>
|
|
|
+ <!-- <el-input v-model="ruleForm.words2"></el-input> -->
|
|
|
+ <el-select
|
|
|
+ v-model="ruleForm.words2"
|
|
|
+ filterable
|
|
|
+ remote
|
|
|
+ clearable
|
|
|
+ :reserve-keyword="true"
|
|
|
+ placeholder="请输入词汇名称"
|
|
|
+ :remote-method="remoteMethod2"
|
|
|
+ :loading="loading2"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in chSelect2"
|
|
|
+ :key="item.name"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.name"
|
|
|
+ >{{item.name}}</el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
+ <el-form-item v-if="ruleForm.relationName=='近义词'" label="是否合并:" prop="status">
|
|
|
+ <el-radio-group style="margin-left:-350px" v-model="ruleForm.status">
|
|
|
+ <el-radio :label="0">否</el-radio>
|
|
|
+ <el-radio :label="1">是</el-radio>
|
|
|
+ </el-radio-group>
|
|
|
+ </el-form-item>
|
|
|
+ <p class="ts" v-if="chMax">
|
|
|
+ 未搜索到该词汇,请先 <span @click="openCh">新增词汇</span>
|
|
|
+ </p>
|
|
|
+ <!-- <p class="ts" v-if="chMax"> 未搜索到该词汇({{chMaxText}}),请先 <span>新增词汇</span></p> -->
|
|
|
</el-form>
|
|
|
+ <general-popup
|
|
|
+ @cancel="cancel"
|
|
|
+ :promptTitle="promptTitle"
|
|
|
+ :stencil="promptTitle"
|
|
|
+ @submitSuccess="submitSuccess"
|
|
|
+ :rowData="{}"
|
|
|
+ v-if="popipIf"
|
|
|
+ :Association="[]"
|
|
|
+ determine="sheet"
|
|
|
+ ref="dropDown"
|
|
|
+ />
|
|
|
</span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="abolishment">取 消</el-button>
|
|
@@ -136,15 +200,30 @@
|
|
|
class="demo-ruleForm"
|
|
|
>
|
|
|
<el-form-item label="词汇名称:" prop="name">
|
|
|
- <el-input v-model="Form.name"></el-input>
|
|
|
+ <!-- <el-input v-model="Form.name"></el-input> -->
|
|
|
+ <el-select
|
|
|
+ v-model="Form.name"
|
|
|
+ filterable
|
|
|
+ remote
|
|
|
+ clearable
|
|
|
+ :reserve-keyword="true"
|
|
|
+ placeholder="请输入词汇名称"
|
|
|
+ :remote-method="remoteMethod2"
|
|
|
+ :loading="loading2"
|
|
|
+ >
|
|
|
+ <el-option
|
|
|
+ v-for="item in chSelect2"
|
|
|
+ :key="item.name"
|
|
|
+ :label="item.name"
|
|
|
+ :value="item.name"
|
|
|
+ >{{item.name}}</el-option>
|
|
|
+ </el-select>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
</span>
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="abolishment">取 消</el-button>
|
|
|
- <el-button type="primary" @click="editFom('Form')"
|
|
|
- >确 定</el-button
|
|
|
- >
|
|
|
+ <el-button type="primary" @click="editFom('Form')">确 定</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
@@ -152,15 +231,24 @@
|
|
|
<script>
|
|
|
import Wordsgraph from "./Wordsgraph.vue";
|
|
|
import d3graph from "../../../components/JumpCanvas/d3graph.vue";
|
|
|
+import GeneralPopup from "@/components/FrontPage/GeneralPopup.vue";
|
|
|
|
|
|
export default {
|
|
|
- components: { Wordsgraph, d3graph },
|
|
|
+ components: { Wordsgraph, d3graph,GeneralPopup },
|
|
|
data() {
|
|
|
return {
|
|
|
+ popipIf:false,
|
|
|
+ promptTitle:1,
|
|
|
+ loading1:false,
|
|
|
+ loading2:false,
|
|
|
+ chSelect1: [],
|
|
|
+ chSelect2: [],
|
|
|
+ chMaxText: "",
|
|
|
+ chMax: false,
|
|
|
contentsKey: "",
|
|
|
graphWidth: null,
|
|
|
graphHeight: null,
|
|
|
- titleName: '修改同/近义词',
|
|
|
+ titleName: "修改同/近义词",
|
|
|
sameSearch: "",
|
|
|
graphData: {},
|
|
|
dialogVisible: false,
|
|
@@ -175,7 +263,8 @@ export default {
|
|
|
ruleForm: {
|
|
|
words1: "",
|
|
|
relationName: "",
|
|
|
- words2: '',
|
|
|
+ words2: "",
|
|
|
+ status: 0,
|
|
|
},
|
|
|
Form: {
|
|
|
name: "",
|
|
@@ -185,9 +274,7 @@ export default {
|
|
|
words1: [
|
|
|
{ required: true, message: "请输入词汇名称", trigger: "blur" },
|
|
|
],
|
|
|
- name: [
|
|
|
- { required: true, message: "请输入词汇名称", trigger: "blur" },
|
|
|
- ],
|
|
|
+ name: [{ required: true, message: "请输入词汇名称", trigger: "blur" }],
|
|
|
relationName: [
|
|
|
{ required: true, message: "请选择词汇关系", trigger: "change" },
|
|
|
],
|
|
@@ -196,18 +283,126 @@ export default {
|
|
|
],
|
|
|
},
|
|
|
rul: {
|
|
|
- name: [
|
|
|
- { required: true, message: "请输入词汇名称", trigger: "blur" },
|
|
|
- ],
|
|
|
+ name: [{ required: true, message: "请输入词汇名称", trigger: "blur" }],
|
|
|
},
|
|
|
};
|
|
|
},
|
|
|
mounted() {
|
|
|
this.wordsLSist();
|
|
|
- this.windowSize()
|
|
|
+ this.windowSize();
|
|
|
},
|
|
|
watch: {},
|
|
|
methods: {
|
|
|
+ cancel(){
|
|
|
+ this.popipIf=false
|
|
|
+ },
|
|
|
+ openCh(){
|
|
|
+ this.popipIf=true
|
|
|
+ this.$nextTick(()=>{
|
|
|
+ this.promptTitle="新增词汇1"
|
|
|
+ this.promptTitle="新增词汇"
|
|
|
+ this.$refs.dropDown.centerDialogVisible=true
|
|
|
+ })
|
|
|
+ },
|
|
|
+ submitSuccess(){
|
|
|
+ this.chMax=false
|
|
|
+ },
|
|
|
+ async remoteMethod1(name) {
|
|
|
+ this.postRequest(
|
|
|
+ "/neo4j/checkAll",
|
|
|
+ {
|
|
|
+ name: name,
|
|
|
+ },
|
|
|
+ "POST"
|
|
|
+ ).then((res) => {
|
|
|
+ console.log(res);
|
|
|
+ if (res.data.code!=0) {
|
|
|
+ this.chMax=true
|
|
|
+ }else{
|
|
|
+ this.chMax=false
|
|
|
+ }
|
|
|
+ });
|
|
|
+ if (!!!name) {
|
|
|
+ this.chSelect2 = [];
|
|
|
+ }
|
|
|
+ this.loading1=true
|
|
|
+ this.chSelect1=[]
|
|
|
+ return this.postRequest(
|
|
|
+ "/neo4j/vocabularyList",
|
|
|
+ {
|
|
|
+ name: name,
|
|
|
+ current: 0,
|
|
|
+ size: 1000,
|
|
|
+ typeId: ""
|
|
|
+ },
|
|
|
+ "POST"
|
|
|
+ ).then((res) => {
|
|
|
+ this.loading1=false
|
|
|
+ this.chSelect1 = res.data.data.data;
|
|
|
+ // if (this.chSelect1.length==0) {
|
|
|
+ // this.chMax=true
|
|
|
+ // }else{
|
|
|
+ // this.chMax=false
|
|
|
+
|
|
|
+ // }
|
|
|
+ });
|
|
|
+
|
|
|
+ },
|
|
|
+ async remoteMethod2(name) {
|
|
|
+ if (!!!name) {
|
|
|
+ this.chSelect2 = [];
|
|
|
+ }
|
|
|
+ this.loading2=true
|
|
|
+ this.chSelect2=[]
|
|
|
+ this.postRequest(
|
|
|
+ "/neo4j/checkAll",
|
|
|
+ {
|
|
|
+ name: name,
|
|
|
+ },
|
|
|
+ "POST"
|
|
|
+ ).then((res) => {
|
|
|
+ if (res.data.code!=0) {
|
|
|
+ this.chMax=true
|
|
|
+ }else{
|
|
|
+ this.chMax=false
|
|
|
+ }
|
|
|
+ });
|
|
|
+ return this.postRequest(
|
|
|
+ "/neo4j/vocabularyList",
|
|
|
+ {
|
|
|
+ name: name,
|
|
|
+ current: 0,
|
|
|
+ size: 1000,
|
|
|
+ typeId: ""
|
|
|
+ },
|
|
|
+ "POST"
|
|
|
+ ).then((res) => {
|
|
|
+ this.loading2=false
|
|
|
+ console.log(res);
|
|
|
+ this.chSelect2 = res.data.data.data;
|
|
|
+ if (this.chSelect2.length==0) {
|
|
|
+ this.chMax=true
|
|
|
+ }else{
|
|
|
+ this.chMax=false
|
|
|
+
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
+ checkChApi(name) {
|
|
|
+ if (!!!name) {
|
|
|
+ return 0;
|
|
|
+ }
|
|
|
+ return this.postRequest(
|
|
|
+ "/neo4j/checkOneVocabulary",
|
|
|
+ {
|
|
|
+ name: name,
|
|
|
+ uri: "",
|
|
|
+ },
|
|
|
+ "POST"
|
|
|
+ ).then((res) => {
|
|
|
+ return res.data.code;
|
|
|
+ });
|
|
|
+ },
|
|
|
smallClick() {
|
|
|
this.dialogVisible = true;
|
|
|
},
|
|
@@ -218,141 +413,161 @@ export default {
|
|
|
},
|
|
|
// 搜索
|
|
|
searchClick(name, relName) {
|
|
|
- this.determine = false
|
|
|
- let Name = {
|
|
|
- words1: typeof name === 'string' ? name : '',
|
|
|
- relationName: typeof relName === 'string' ? relName : ''
|
|
|
- }
|
|
|
+ this.determine = false;
|
|
|
+ let Name = {
|
|
|
+ words1: typeof name === "string" ? name : "",
|
|
|
+ relationName: typeof relName === "string" ? relName : "",
|
|
|
+ };
|
|
|
setTimeout(() => {
|
|
|
- this.determine = true
|
|
|
- this.postRequest("/words/list", Name , "POST").then((res) => {
|
|
|
- if(res.data.code != -1) {
|
|
|
- this.convertData(res.data.data.nodes, res.data.data.links)
|
|
|
- res.data.data.nodes.map(item => {
|
|
|
- if(res.data.data.node.id != null && item.id === res.data.data.node.id) { item.label = '附件'}
|
|
|
- if(item.name === this.sameSearch) { item.label = '附件' }
|
|
|
- })
|
|
|
- this.graphData = res.data.data
|
|
|
- }
|
|
|
- });
|
|
|
- // Name.words1 = ''
|
|
|
- },100)
|
|
|
+ this.determine = true;
|
|
|
+ this.postRequest("/words/list", Name, "POST").then((res) => {
|
|
|
+ if (res.data.code != -1) {
|
|
|
+ this.convertData(res.data.data.nodes, res.data.data.links);
|
|
|
+ res.data.data.nodes.map((item) => {
|
|
|
+ if (
|
|
|
+ res.data.data.node.id != null &&
|
|
|
+ item.id === res.data.data.node.id
|
|
|
+ ) {
|
|
|
+ item.label = "附件";
|
|
|
+ }
|
|
|
+ if (item.name === this.sameSearch) {
|
|
|
+ item.label = "附件";
|
|
|
+ }
|
|
|
+ });
|
|
|
+ this.graphData = res.data.data;
|
|
|
+ }
|
|
|
+ });
|
|
|
+ // Name.words1 = ''
|
|
|
+ }, 100);
|
|
|
},
|
|
|
// 列表
|
|
|
wordsLSist() {
|
|
|
- this.determine = false
|
|
|
+ this.determine = false;
|
|
|
setTimeout(() => {
|
|
|
- this.determine = true
|
|
|
+ this.determine = true;
|
|
|
this.postRequest("/words/list", { words1: "" }, "POST").then((res) => {
|
|
|
- if(res.data.code != -1) {
|
|
|
- this.convertData(res.data.data.nodes, res.data.data.links)
|
|
|
- this.graphData = res.data.data
|
|
|
+ if (res.data.code != -1) {
|
|
|
+ this.convertData(res.data.data.nodes, res.data.data.links);
|
|
|
+ this.graphData = res.data.data;
|
|
|
}
|
|
|
});
|
|
|
- },100)
|
|
|
+ }, 100);
|
|
|
},
|
|
|
// 搜索返回
|
|
|
backHome() {
|
|
|
- this.wordsLSist()
|
|
|
- this.backtrack = true
|
|
|
+ this.wordsLSist();
|
|
|
+ this.backtrack = true;
|
|
|
},
|
|
|
// 数据转化
|
|
|
- convertData(nodes, links){
|
|
|
- let arr = []
|
|
|
- links.map(item => {
|
|
|
- item.target = item.endId
|
|
|
- delete item.endId
|
|
|
- item.source = item.startId
|
|
|
- delete item.startId
|
|
|
- item.value = item.type
|
|
|
- delete item.type
|
|
|
- if(item.value === '同义词') {
|
|
|
- arr.push(item.target)
|
|
|
+ convertData(nodes, links) {
|
|
|
+ let arr = [];
|
|
|
+ links.map((item) => {
|
|
|
+ item.target = item.endId;
|
|
|
+ delete item.endId;
|
|
|
+ item.source = item.startId;
|
|
|
+ delete item.startId;
|
|
|
+ item.value = item.type;
|
|
|
+ delete item.type;
|
|
|
+ if (item.value === "同义词") {
|
|
|
+ arr.push(item.target);
|
|
|
}
|
|
|
- return
|
|
|
- })
|
|
|
- let strData = JSON.stringify(arr).replace('[', ',').replace(']', ',')
|
|
|
- nodes.map(item => {
|
|
|
- item.label = '近义词'
|
|
|
- if(strData.indexOf(`,${item.id},`) !== -1) {
|
|
|
- item.label = '同义词'
|
|
|
+ return;
|
|
|
+ });
|
|
|
+ let strData = JSON.stringify(arr).replace("[", ",").replace("]", ",");
|
|
|
+ nodes.map((item) => {
|
|
|
+ item.label = "近义词";
|
|
|
+ if (strData.indexOf(`,${item.id},`) !== -1) {
|
|
|
+ item.label = "同义词";
|
|
|
}
|
|
|
- return
|
|
|
- })
|
|
|
+ return;
|
|
|
+ });
|
|
|
},
|
|
|
// 新增
|
|
|
addClick() {
|
|
|
- this.dialog = true
|
|
|
+ this.dialog = true;
|
|
|
},
|
|
|
getAdd(msg) {
|
|
|
- if(msg.name) {
|
|
|
- this.dialog = true
|
|
|
- this.ruleForm.words1 = msg.name
|
|
|
- this.disa = true
|
|
|
+ if (msg.name) {
|
|
|
+ this.dialog = true;
|
|
|
+ this.ruleForm.words1 = msg.name;
|
|
|
+ this.disa = true;
|
|
|
}
|
|
|
},
|
|
|
getRevise(msg) {
|
|
|
- if(msg.name) {
|
|
|
- this.dialogs = true
|
|
|
- this.Form.name = msg.name
|
|
|
- this.Form.id = msg.id
|
|
|
+ if (msg.name) {
|
|
|
+ this.dialogs = true;
|
|
|
+ this.Form.name = msg.name;
|
|
|
+ this.Form.id = msg.id;
|
|
|
}
|
|
|
},
|
|
|
// 同义词
|
|
|
getSame(msg) {
|
|
|
- this.searchClick(msg.name, '同义词')
|
|
|
- this.backtrack = false
|
|
|
+ this.searchClick(msg.name, "同义词");
|
|
|
+ this.backtrack = false;
|
|
|
},
|
|
|
// 近义词
|
|
|
getClose(msg) {
|
|
|
- this.searchClick(msg.name, '近义词')
|
|
|
- this.backtrack = false
|
|
|
+ this.searchClick(msg.name, "近义词");
|
|
|
+ this.backtrack = false;
|
|
|
},
|
|
|
- uploadfom(formName){
|
|
|
+ uploadfom(formName) {
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
- this.postRequest('/words/add', this.ruleForm, 'POST').then(res => {
|
|
|
- if (res.data.code != -1 && res.data.data === 'Success') {
|
|
|
+ if (this.ruleForm.relationName=='同义词') {
|
|
|
+ this.ruleForm.status=1
|
|
|
+ }
|
|
|
+ this.postRequest("/words/add", this.ruleForm, "POST").then((res) => {
|
|
|
+ // if (res.data.code ==-2) {
|
|
|
+ // this.chMax=true
|
|
|
+ // this.chMaxText=res.data.message
|
|
|
+ // return false
|
|
|
+ // }
|
|
|
+ if (res.data.code != -1 && res.data.data === "Success") {
|
|
|
this.$message({ message: res.data.message, type: "success" });
|
|
|
- this.wordsLSist()
|
|
|
- } else {
|
|
|
- this.$message.error(typeof res.data.data === 'object' ? res.data.data : res.data.message)
|
|
|
- if(typeof res.data.data === 'object') {
|
|
|
- this.titleName = '修改同义词'
|
|
|
+ this.wordsLSist();
|
|
|
+ this.abolishment();
|
|
|
+ } else {
|
|
|
+ this.$message.error(
|
|
|
+ typeof res.data.data === "object"
|
|
|
+ ? res.data.data
|
|
|
+ : res.data.message
|
|
|
+ );
|
|
|
+ if (typeof res.data.data === "object") {
|
|
|
+ this.titleName = "修改同义词";
|
|
|
let msg = {
|
|
|
id: res.data.data.id,
|
|
|
name: res.data.data.name,
|
|
|
- }
|
|
|
- this.getRevise(msg)
|
|
|
+ };
|
|
|
+ this.getRevise(msg);
|
|
|
+ this.abolishment();
|
|
|
}
|
|
|
}
|
|
|
- })
|
|
|
- this.abolishment();
|
|
|
+ });
|
|
|
+
|
|
|
} else {
|
|
|
return false;
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
},
|
|
|
editFom(formName) {
|
|
|
this.$refs[formName].validate((valid) => {
|
|
|
if (valid) {
|
|
|
- this.postRequest('/words/edit', this.Form, 'POST').then(res => {
|
|
|
+ this.postRequest("/words/edit", this.Form, "POST").then((res) => {
|
|
|
if (res.data.code != -1) {
|
|
|
this.$message({ message: res.data.message, type: "success" });
|
|
|
- this.titleName = '修改同/近义词'
|
|
|
- this.wordsLSist()
|
|
|
+ this.titleName = "修改同/近义词";
|
|
|
+ this.wordsLSist();
|
|
|
} else return this.$message.error(res.data);
|
|
|
- })
|
|
|
+ });
|
|
|
this.abolishment();
|
|
|
} else {
|
|
|
return false;
|
|
|
}
|
|
|
- })
|
|
|
+ });
|
|
|
},
|
|
|
// 下载模版
|
|
|
stencil() {
|
|
|
- let url =
|
|
|
- "/api/xzzs/words/downloadWordsTemplate";
|
|
|
+ let url = "/api/xzzs/words/downloadWordsTemplate";
|
|
|
const a = document.createElement("a");
|
|
|
a.href = url;
|
|
|
a.download = "近/同义词模版"; // 下载后文件名
|
|
@@ -379,7 +594,7 @@ export default {
|
|
|
).then((res) => {
|
|
|
if (res.data.code != -1) {
|
|
|
this.$message({ message: res.data.message, type: "success" });
|
|
|
- this.wordsLSist()
|
|
|
+ this.wordsLSist();
|
|
|
} else return this.$message.error(res.data.message);
|
|
|
});
|
|
|
this.abolishment();
|
|
@@ -389,11 +604,14 @@ export default {
|
|
|
this.ruleForm = {
|
|
|
words1: "",
|
|
|
relationName: "",
|
|
|
- words2: '',
|
|
|
- }
|
|
|
- this.dialogs = false
|
|
|
+ words2: "",
|
|
|
+ };
|
|
|
+ this.dialogs = false;
|
|
|
this.emptyData = false;
|
|
|
- this.dialog = false
|
|
|
+ this.dialog = false;
|
|
|
+ this.chMax=false
|
|
|
+ this.chSelect2=[]
|
|
|
+ this.chSelect1=[]
|
|
|
this.dialogVisible = false;
|
|
|
setTimeout(() => {
|
|
|
this.emptyData = true;
|
|
@@ -404,6 +622,16 @@ export default {
|
|
|
</script>
|
|
|
<style src="@/assets/css/same.css" scoped></style>
|
|
|
<style lang="less" scoped>
|
|
|
+.ts {
|
|
|
+ width: 100%;
|
|
|
+ text-align: left;
|
|
|
+ padding-left: 100px;
|
|
|
+ color: #fff;
|
|
|
+ span {
|
|
|
+ cursor: pointer;
|
|
|
+ color: #4ff;
|
|
|
+ }
|
|
|
+}
|
|
|
#sameWords {
|
|
|
// background: rgba(158, 158, 158, 0.1);
|
|
|
.upper {
|
|
@@ -459,7 +687,7 @@ export default {
|
|
|
::v-deep .el-upload {
|
|
|
width: 100%;
|
|
|
}
|
|
|
-::v-deep .el-form-item__label{
|
|
|
+::v-deep .el-form-item__label {
|
|
|
color: #fff;
|
|
|
font-size: 13px;
|
|
|
font-weight: 500;
|
|
@@ -470,4 +698,4 @@ export default {
|
|
|
::v-deep .el-input.is-disabled .el-input__inner {
|
|
|
background-color: #282828;
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|