ÎļþÃû´Ó src/api/AiCentre/Hetask.js ÐÞ¸Ä |
| | |
| | | data: data, |
| | | }); |
| | | } |
| | | // æ°å¢ææ¥è¯¢åä¸ä»»å¡ |
| | | export function Editsingletask(data) { |
| | | return request({ |
| | | url: "/smartor/taskcall/insertOrUpdateTask", |
| | | method: "post", |
| | | data: data, |
| | | }); |
| | | } |
| | |
| | | export * from './publicity' |
| | | export * from './Qtemplate' |
| | | export * from './questionnaire' |
| | | export * from './Hetask' |
| | | export * from './SingleTask' |
| | | |
| | | |
| | |
| | | <el-tag |
| | | :key="crux" |
| | | type="success" |
| | | v-for="crux in dynamiccruxs" |
| | | v-for="crux in item.dynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux)" |
| | | @close="handleClosecrux(crux, item)" |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="inputVisible" |
| | | @change="handleInputConfirm" |
| | | v-if="item.inputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in regular" |
| | | :key="item.label" |
| | | :label="item.label" |
| | | :value="item.label" |
| | | v-for="items in regular" |
| | | :key="items.label" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInput" |
| | | @click="showInput(item)" |
| | | >+ æ°å¢</el-button |
| | | > |
| | | </div> |
| | |
| | | <el-tag |
| | | :key="crux" |
| | | type="warning" |
| | | v-for="crux in nodynamiccruxs" |
| | | v-for="crux in item.nodynamiccruxs" |
| | | closable |
| | | effect="dark" |
| | | :disable-transitions="false" |
| | | @close="handleClosecrux(crux)" |
| | | @close="handleClosecrux(crux, item)" |
| | | > |
| | | {{ crux }} |
| | | </el-tag> |
| | | <el-select |
| | | v-model="inputValue" |
| | | v-if="noinputVisible" |
| | | @change="handleInputConfirm" |
| | | v-if="item.noinputVisible" |
| | | @change="handleInputConfirm(item)" |
| | | filterable |
| | | remote |
| | | allow-create |
| | |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | | v-for="item in noregular" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.label" |
| | | v-for="items in noregular" |
| | | :key="items.value" |
| | | :label="items.label" |
| | | :value="items.label" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | |
| | | v-else |
| | | class="button-new-tag" |
| | | size="small" |
| | | @click="showInputno" |
| | | @click="showInputno(item)" |
| | | >+ æ°å¢</el-button |
| | | > |
| | | </div> |
| | |
| | | > |
| | | <el-col :span="8"> |
| | | <div style="text-align: right; padding-right: 10px"> |
| | | <el-button type="danger" @click="deloption(item)" round |
| | | >å é¤</el-button |
| | | > |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('addoption', item)" |
| | | type="success" |
| | | icon="el-icon-circle-plus-outline" |
| | | circle |
| | | ></el-button> |
| | | <el-button |
| | | type="danger" |
| | | icon="el-icon-delete" |
| | | circle |
| | | @click="$emit('deloption', item)" |
| | | ></el-button> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('syioption', item)" |
| | | type="primary" |
| | | icon="el-icon-top" |
| | | circle |
| | | ></el-button> |
| | | <el-button |
| | | v-if="controlsc" |
| | | @click="$emit('xiayioption', item)" |
| | | type="primary" |
| | | icon="el-icon-bottom" |
| | | circle |
| | | ></el-button> |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | |
| | | loading: false, |
| | | regular: [], |
| | | noregular: [], |
| | | nodynamiccruxs: ["å«"], |
| | | nodynamiccruxs: ["å«", "ä¸"], |
| | | dynamiccruxs: ["好"], |
| | | }; |
| | | }, |
| | |
| | | required: true, |
| | | default: () => [], |
| | | }, |
| | | controlsc: { |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | }, |
| | | |
| | | created() { |
| | | this.regular = store.getters.regular; |
| | | this.noregular = store.getters.noregular; |
| | | |
| | | |
| | | |
| | | }, |
| | | |
| | | methods: { |
| | | // çææ£å |
| | | generateRegex() { |
| | | generateRegex(row) { |
| | | let index = this.TargetoptionList.indexOf(row); |
| | | console.log(index); |
| | | let regex = ""; |
| | | let regexno = ""; |
| | | let hostregex = ""; |
| | | let hostregexno = ""; |
| | | |
| | | for (let i = 0; i < this.dynamiccruxs.length; i++) { |
| | | regex += `${this.dynamiccruxs[i]}|`; |
| | | for ( |
| | | let i = 0; |
| | | i < this.TargetoptionList[index].dynamiccruxs.length; |
| | | i++ |
| | | ) { |
| | | regex += `${this.TargetoptionList[index].dynamiccruxs[i]}|`; |
| | | } |
| | | for (let i = 0; i < this.nodynamiccruxs.length; i++) { |
| | | regexno += `${this.nodynamiccruxs[i]}|`; |
| | | for ( |
| | | let i = 0; |
| | | i < this.TargetoptionList[index].nodynamiccruxs.length; |
| | | i++ |
| | | ) { |
| | | regexno += `${this.TargetoptionList[index].nodynamiccruxs[i]}|`; |
| | | } |
| | | regex = regex.slice(0, -1); |
| | | regexno = regexno.slice(0, -1); |
| | | |
| | | hostregex = "(?=.*(?:" + `${regex}` + ")).*$"; |
| | | hostregexno = "(?=.*(?:" + `${regexno}` + ")).*$"; |
| | | hostregexno = "^(?!.(?:" + `${regexno}` + ")).*$"; |
| | | this.TargetoptionList[index].hostregex = hostregex; |
| | | this.TargetoptionList[index].hostregex2 = hostregexno; |
| | | console.log(hostregex, "ç¡®å®åå¹é
"); |
| | | console.log(hostregexno, "å¦å®åå¹é
"); |
| | | this.handleSelectionChange(); |
| | | }, |
| | | // æ§å¶æä»¶ |
| | | handleChange(file, fileList) { |
| | |
| | | ); |
| | | }, |
| | | |
| | | handleClosecrux(crux) { |
| | | handleClosecrux(crux, item) { |
| | | if (this.whether == 1) { |
| | | this.dynamiccruxs.splice(this.dynamiccruxs.indexOf(crux), 1); |
| | | } else { |
| | | this.nodynamiccruxs.splice(this.nodynamiccruxs.indexOf(crux), 1); |
| | | } |
| | | this.generateRegex(); |
| | | this.generateRegex(item); |
| | | }, |
| | | handleInputConfirm() { |
| | | handleInputConfirm(row) { |
| | | let index = this.TargetoptionList.indexOf(row); |
| | | if (this.whether == 1 && this.inputValue) { |
| | | if (this.dynamiccruxs.indexOf(this.inputValue) == -1) { |
| | | this.dynamiccruxs.push(this.inputValue); |
| | | if ( |
| | | this.TargetoptionList[index].dynamiccruxs.indexOf(this.inputValue) == |
| | | -1 |
| | | ) { |
| | | this.TargetoptionList[index].dynamiccruxs.push(this.inputValue); |
| | | } else { |
| | | this.$message.error("å
³é®åå·²åå¨"); |
| | | } |
| | | this.inputVisible = false; |
| | | // this.inputVisible = false; |
| | | this.TargetoptionList[index].inputVisible = false; |
| | | } else if (this.whether == 2 && this.inputValue) { |
| | | console.log(this.inputValue); |
| | | console.log(this.nodynamiccruxs.indexOf(this.inputValue)); |
| | | if (this.nodynamiccruxs.indexOf(this.inputValue) == -1) { |
| | | this.nodynamiccruxs.push(this.inputValue); |
| | | console.log( |
| | | this.TargetoptionList[index].nodynamiccruxs.indexOf(this.inputValue) |
| | | ); |
| | | if ( |
| | | this.TargetoptionList[index].nodynamiccruxs.indexOf( |
| | | this.inputValue |
| | | ) == -1 |
| | | ) { |
| | | this.TargetoptionList[index].nodynamiccruxs.push(this.inputValue); |
| | | } else { |
| | | this.$message.error("å
³é®åå·²åå¨"); |
| | | } |
| | | this.noinputVisible = false; |
| | | // this.noinputVisible = false; |
| | | this.TargetoptionList[index].noinputVisible = false; |
| | | } |
| | | this.generateRegex(); |
| | | this.generateRegex(row); |
| | | |
| | | this.inputValue = ""; |
| | | }, |
| | | showInput() { |
| | | this.inputVisible = true; |
| | | showInput(row) { |
| | | let index = this.TargetoptionList.indexOf(row); |
| | | // this.TargetoptionList[index].inputVisible = true; |
| | | this.$set(this.TargetoptionList[index], "inputVisible", true); |
| | | this.whether = 1; |
| | | }, |
| | | showInputno() { |
| | | this.noinputVisible = true; |
| | | showInputno(row) { |
| | | let index = this.TargetoptionList.indexOf(row); |
| | | // this.TargetoptionList[index].noinputVisible = true; |
| | | this.$set(this.TargetoptionList[index], "noinputVisible", true); |
| | | this.whether = 2; |
| | | console.log(2); |
| | | }, |
| | | handleSelectionChange(selection) { |
| | | $emit("handleSelectionChange", selection); |
| | | console.log(this.TargetoptionList); |
| | | this.$emit("handleSelectionChange", selection); |
| | | }, |
| | | }, |
| | | }; |
| | |
| | | </div> |
| | | </el-form-item> |
| | | </el-row> |
| | | <el-form-item label="éç¥åé" prop="name"> |
| | | <!-- <el-form-item label="éç¥åé" prop="name"> |
| | | <div style="margin-bottom: 5px" v-for="item in variablelist"> |
| | | <el-row> |
| | | <el-col :span="5"> |
| | |
| | | </div> |
| | | </div> |
| | | </el-col></el-row |
| | | > |
| | | > --> |
| | | </div> |
| | | |
| | | <div class="headline"> |
| | |
| | | > |
| | | <el-button type="primary" @click="laststep()">ä¸ä¸æ¥</el-button> |
| | | <el-button type="info" @click="closeFm('ruleForm')">å
³é</el-button> |
| | | <el-button @click="submitForm('ruleForm')">ä¿åé¢ç®æ°æ®</el-button> |
| | | <el-button @click="Departmenttreatment('ruleForm')">ä¿åé¢ç®æ°æ®</el-button> |
| | | </div> |
| | | <!-- é®å·é¢è§ --> |
| | | <div v-if="Editprogress == 3"> |
| | |
| | | illnessVisible: false, //ææ ç¾ç
å¼¹æ¡ |
| | | deptOptions: [], |
| | | optionsillness: [], |
| | | delScriptVOList: [], |
| | | illnesslistapi: [], |
| | | illnesslist: [], |
| | | tempDetpRelevanceslist: [], |
| | |
| | | Departmenttreatment() { |
| | | this.ruleForm.deptNames = JSON.stringify(this.tempDetpRelevanceslist); |
| | | console.log(this.tempDetpRelevanceslist); |
| | | this.ruleForm.svyLibTopics = this.ruleForm.svyLibTopics.concat( |
| | | this.delScriptVOList |
| | | ); |
| | | console.log(this.ruleForm.svyLibTopics, "this.ruleForm.svyLibTopics"); |
| | | const result = this.tempDetpRelevanceslist.map( |
| | | (subArr) => subArr[subArr.length - 1] |
| | | ); |
| | |
| | | setTimeout(() => { |
| | | this.submitForm(); |
| | | }, 1000); |
| | | // this.submitForm(); |
| | | }, |
| | | // ä¸ä¸æ¥ |
| | | nextstep() { |
| | |
| | | // æ°å¢é¢ç® |
| | | addtopic(row) { |
| | | row.isoperation = 1; |
| | | row.svyLibTopicoptions.forEach((item) => { |
| | | item.isoperation = 1; |
| | | }); |
| | | this.ruleForm.svyLibTopics.push(row); |
| | | }, |
| | | handleDelete(row) { |
| | | let index = this.ruleForm.svyLibTopics.indexOf(row); |
| | | this.ruleForm.svyLibTopics[index].isoperation = 3; |
| | | this.ruleForm.svyLibTopics.splice(index, 1); |
| | | row.isoperation=3; |
| | | this.delScriptVOList.push(row); |
| | | this.sortFn(); |
| | | }, |
| | | handleUpdate(row) { |
| | | getissuelist({ svyid: row.svyid }).then((res) => { |
| | | this.topicobj = res.rows[0]; |
| | | }); |
| | | console.log(row); |
| | | this.topicobj = row; |
| | | // getissuelist({ svyid: row.svyid }).then((res) => { |
| | | // }); |
| | | }, |
| | | syioption(row) { |
| | | const index = this.getIndexInArray(this.ruleForm.svyLibTopics, row); |
| | |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="æä½äººå(é»è®¤ç»é人å¯é)" |
| | | label="æä½äººå" |
| | | align="center" |
| | | key="topicnumberaa" |
| | | prop="topicnumberaa" |
| | | key="operatePerson" |
| | | prop="operatePerson" |
| | | width="120" |
| | | /> |
| | | |
| | | <el-table-column |
| | | label="å°±è¯æ¶é´(缺)" |
| | | label="å°±è¯æ¶é´" |
| | | sortable |
| | | align="center" |
| | | prop="createTime" |
| | | key="visitTime" |
| | | prop="visitTime" |
| | | width="160" |
| | | > |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="å®£ææ¶é´" |
| | | sortable |
| | | align="center" |
| | | prop="sendTime" |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime) }}</span> |
| | | <span>{{ scope.row.heTask.sendTime }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="å®£ææ¶é´ï¼ç¼ºï¼" |
| | | label="æ¥æ¶æ¶é´" |
| | | sortable |
| | | align="center" |
| | | prop="createTime" |
| | | key="receiveTime" |
| | | prop="receiveTime" |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="æ¥æ¶æ¶é´ï¼ç¼ºï¼" |
| | | sortable |
| | | align="center" |
| | | prop="createTime" |
| | | width="160" |
| | | > |
| | | <template slot-scope="scope"> |
| | | <span>{{ parseTime(scope.row.createTime) }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | <el-table-column |
| | | label="éç¥ç¶æï¼ç¼ºï¼" |
| | | label="éç¥ç¶æ" |
| | | fixed="right" |
| | | align="center" |
| | | key="topicnumber" |
| | | prop="topicnumber" |
| | | key="sendStatus" |
| | | prop="sendStatus" |
| | | width="120" |
| | | :show-overflow-tooltip="true" |
| | | > |
| | |
| | | title="宣æå¯¹è±¡" |
| | | description="卿¬é¨éæ©å®£æç
人" |
| | | ></el-step> |
| | | <el-step |
| | | icon="el-icon-user" |
| | | title="模ç确认" |
| | | ></el-step> |
| | | <el-step icon="el-icon-user" title="模ç确认"></el-step> |
| | | </el-steps> |
| | | </div> |
| | | </div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="submitForm('ruleForm')">{{ |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "ç«å³å建" : "ä»»å¡è¯¦æ
设置" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | |
| | | addhetask, |
| | | gethetaskinfo, |
| | | delhetaskinfo, |
| | | Editsingletask, |
| | | } from "@/api/AiCentre/index"; |
| | | import SFtable from "@/components/SFtable"; //è¡¨æ ¼ç»ä»¶ |
| | | |
| | |
| | | |
| | | created() { |
| | | this.id = this.$route.query.id; |
| | | this.form.type = this.$route.query.type; |
| | | this.Addsubtask(); |
| | | this.Getsubtask(); |
| | | this.Acquisitiontype(); |
| | | }, |
| | | |
| | | methods: { |
| | | // { |
| | | // å§å: { "${name}": "é¾å²å¤©" }, |
| | | // å°å: { "${dzz}": "é¾å®«" }, |
| | | // çµè¯: { "${dhh}": "å
«ä¸ªå
«" }, |
| | | // } |
| | | // 对象转æ°ç» |
| | | convertFormat1ToFormat2(data) { |
| | | let result = []; |
| | | for (let key in data) { |
| | | let innerKey = Object.keys(data[key])[0]; |
| | | result.push({ |
| | | name: key, |
| | | value: innerKey, |
| | | fill: data[key][innerKey], |
| | | }); |
| | | } |
| | | return result; |
| | | }, |
| | | // æ°ç»è½¬å¯¹è±¡ |
| | | convertFormat2ToFormat1(data) { |
| | | let result = {}; |
| | | data.forEach((item) => { |
| | | let innerObj = {}; |
| | | innerObj[item.value] = item.fill; |
| | | result[item.name] = innerObj; |
| | | }); |
| | | return result; |
| | | }, |
| | | // è·åå½åç±»å |
| | | Acquisitiontype() { |
| | | let queryParams = { |
| | |
| | | }); |
| | | } |
| | | }, |
| | | // ä¸ä¸æ¥ |
| | | submitForm(formName) { |
| | | nextstep() { |
| | | if (this.Editprogress <= 3) { |
| | | return this.Editprogress++; |
| | | } |
| | | }, |
| | | // ä¸ä¸æ¥ |
| | | submitForm(formName) { |
| | | Editsingletask(this.form).then((response) => { |
| | | if (res.code == 200) { |
| | | this.$router.go(-1); |
| | | } |
| | | }); |
| | | // æäº¤ |
| | | // this.$refs[formName].validate((valid, object) => { |
| | | // if (valid) { |
| | |
| | | <el-divider></el-divider> |
| | | |
| | | <el-table :data="targetList" :row-class-name="tableRowClassName"> |
| | | <el-table-column |
| | | label="åºå·" |
| | | align="center" |
| | | key="id" |
| | | prop="id" |
| | | /> |
| | | <el-table-column label="åºå·" align="center" key="id" prop="id" /> |
| | | <el-table-column |
| | | label="é®é¢ä¸»é¢ï¼ç¼ºï¼" |
| | | align="center" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | <div style="margin: 15px; margin-top: 50px"> |
| | | <div class="leftvlue-jbxx">è¯æ¯ç¼è¾</div> |
| | | <el-divider></el-divider> |
| | | <el-form |
| | | :model="ruleForm" |
| | | :rules="rules" |
| | |
| | | label-width="100px" |
| | | class="demo-ruleForm" |
| | | > |
| | | <div style="margin: 15px; margin-top: 50px"> |
| | | <div class="leftvlue-jbxx">è¯æ¯ç¼è¾</div> |
| | | <el-divider></el-divider> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="模çåç§°" prop="name"> |
| | | <el-input |
| | | v-model="ruleForm.name" |
| | | placeholder="请è¾å
¥" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="模çåç±»" prop="resource"> |
| | | <el-select |
| | | v-model="ruleForm.groupID" |
| | | placeholder="è¯·éæ©åç±»" |
| | | > |
| | | <el-option |
| | | v-for="item in deptOptions" |
| | | :key="item.intertcatid" |
| | | :label="item.categoryname" |
| | | :value="item.intertcatid" |
| | | > |
| | | </el-option> |
| | | </el-select> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | | <el-form-item label="é®é¢ä¸»é¢" prop="name"> |
| | | <el-input v-model="ruleForm.name" placeholder="请è¾å
¥"></el-input> </el-form-item |
| | | <el-input |
| | | v-model="ruleForm.name" |
| | | placeholder="请è¾å
¥" |
| | | ></el-input> </el-form-item |
| | | ></el-col> |
| | | <el-col :span="12"> |
| | | <el-form-item label="æ¯å¦å¯ç¨" prop="resource"> |
| | |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="å¹é
ææ¬" prop="desc"> |
| | | <el-input type="textarea" placeholder="请è¾å
¥å¹é
æ£å" v-model="ruleForm.desc"></el-input> |
| | | <el-input |
| | | type="textarea" |
| | | placeholder="请è¾å
¥å¹é
æ£å" |
| | | v-model="ruleForm.desc" |
| | | ></el-input> |
| | | </el-form-item> |
| | | <el-form-item> |
| | | <el-button type="primary" @click="submitForm('ruleForm')" |
| | |
| | | > |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </el-form-item> |
| | | </el-form> |
| | | </div> |
| | | </el-form> |
| | | </div> |
| | | </el-card> |
| | | </div> |
| | |
| | | editgeneravaluel, |
| | | addgeneravaluel, |
| | | getgeneravaluelinfo, |
| | | getgeneralinfo, |
| | | getgeneralclassify, |
| | | delgeneravaluelinfo, |
| | | getgeneravaluellist, |
| | | } from "@/api/AiCentre/index"; |
| | |
| | | id: null, |
| | | usable: [], |
| | | languagelist: [], |
| | | deptOptions:[], |
| | | mode: [], |
| | | pitchon: "è¿å¥½å", |
| | | targetList: [{ switchText: "è¿å¥½å" }, { switchText: "è¿ä¸é" }], |
| | |
| | | }, |
| | | |
| | | created() { |
| | | // this.getList(); |
| | | this.getList(); |
| | | this.usable = store.getters.usable; |
| | | this.languagelist = store.getters.languagelist; |
| | | this.mode = store.getters.mode; |
| | |
| | | getList() { |
| | | this.loading = true; |
| | | this.id = this.$route.query.id; |
| | | getgeneravaluelinfo({ pid: this.id }).then((res) => { |
| | | getgeneralinfo({ pid: this.id }).then((res) => { |
| | | this.targetList = res.rows; |
| | | console.log(this.targetList); |
| | | this.loading = false; |
| | | }); |
| | | getgeneralclassify({}).then((res) => { |
| | | this.deptOptions = res.rows; |
| | | console.log(res); |
| | | }); |
| | | }, |
| | | /** æ°å¢æé®æä½ */ |
| | | handleAdd() {}, |
| | |
| | | </el-form-item> |
| | | </el-col> |
| | | </el-row> |
| | | <el-card class="box-card" style="margin-bottom: 20px"> |
| | | <!-- <el-card class="box-card" style="margin-bottom: 20px"> |
| | | <el-table v-loading="loading" :data="testuserList"> |
| | | <el-table-column |
| | | label="åºå·" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> |
| | | </el-card> --> |
| | | <el-card class="box-card" style="margin-bottom: 20px"> |
| | | <Regular :TargetoptionList="testuserList" /> |
| | | <Regular |
| | | :TargetoptionList="testuserList" |
| | | @addoption="addoption" |
| | | @deloption="deloption" |
| | | @syioption="syioption" |
| | | @xiayioption="xiayioption" |
| | | /> |
| | | </el-card> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | |
| | | guid: 1, |
| | | id: this.indexform.id, |
| | | targettype: this.indexform.targettype, |
| | | targetvalue: "è´«è¡", |
| | | targetregex: "(?!ä¸.*|没.*|æª.*)^.*([è´«å¹³åè¡]|è´«è¡|è¯å¦|è¯å¦),10", |
| | | targetvalue: "", |
| | | targetregex: "", |
| | | targetregex2: "", |
| | | }; |
| | | this.testuserList.push(objvakue); |
| | | // this.indexform.targetoptionList.push(objvakue); |
| | |
| | | position: relative; |
| | | cursor: default; |
| | | border-radius: 5px; |
| | | background: #EFF8FE; |
| | | background: #eff8fe; |
| | | color: #606266; |
| | | border: 1px solid #bbe1fa; |
| | | // border: 1px solid #dcdfe6; |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | |
| | | -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.12), |
| | | 0 0 6px 0 rgba(0, 0, 0, 0.04); |
| | | } |
| | | ::v-deep .el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content { |
| | | background-color: #7799FB ; |
| | | ::v-deep |
| | | .el-tree--highlight-current |
| | | .el-tree-node.is-current |
| | | > .el-tree-node__content { |
| | | background-color: #7799fb; |
| | | color: #fff; |
| | | } |
| | | ::v-deep .el-button--mini.is-circle { |
| | |
| | | > |
| | | </div> |
| | | </div> |
| | | <div |
| | | <!-- <div |
| | | class="topicxq" |
| | | v-for="item in topicobj.ivrLibaScriptTargetoptionList" |
| | | > |
| | |
| | | > |
| | | </el-input> |
| | | </el-form-item> |
| | | |
| | | <el-row :gutter="10"> |
| | | <el-col :span="16"> |
| | | <el-form-item label="è¯é³æä»¶"> |
| | |
| | | </div> |
| | | </el-col> |
| | | </el-row> |
| | | </div> |
| | | </div> --> |
| | | <Regular |
| | | :TargetoptionList="topicobj.ivrLibaScriptTargetoptionList" |
| | | @deloption="deloption" |
| | | :controlsc="false" |
| | | /> |
| | | <!-- æ å¹é
ç±»å --> |
| | | <div class="topicxq"> |
| | | <el-row :gutter="10"> |
| | |
| | | import { listtag } from "@/api/system/label"; |
| | | import store from "@/store"; |
| | | import { listDept } from "@/api/system/dept"; |
| | | import Regular from "@/components/Regular"; //æ£åç»ä»¶ |
| | | import { |
| | | getFollowupclassify, |
| | | delFollowupclassify, |
| | |
| | | } from "@/api/AiCentre/index"; |
| | | |
| | | export default { |
| | | name: "SpeechTemplates", |
| | | components: { Regular }, |
| | | data() { |
| | | return { |
| | | Editprogress: 1, //ç¼è¾è¿åº¦ |
| | |
| | | }, |
| | | tempDetpRelevanceslist: [], |
| | | delScriptVOList: [], |
| | | optionIndex:'', |
| | | variablelist: [ |
| | | { variatename: "å§å", variate: "${name}", default: 1 }, |
| | | { variatename: "çµè¯", variate: "${phone}", default: 1 }, |
| | |
| | | // ç§å®¤å¤ç |
| | | Departmenttreatment() { |
| | | this.ruleForm.deptNames = JSON.stringify(this.tempDetpRelevanceslist); |
| | | console.log(this.tempDetpRelevanceslist); |
| | | console.log(this.delScriptVOList, "this.delScriptVOList"); |
| | | this.ruleForm.ivrLibaTemplateScriptVOList = |
| | | this.ruleForm.ivrLibaTemplateScriptVOList.concat(this.delScriptVOList); |
| | | const result = this.tempDetpRelevanceslist.map( |
| | |
| | | }); |
| | | }); |
| | | }, |
| | | |
| | | // ä¿®æ¹é¢ç®ä¿¡æ¯ |
| | | Submittopicobj() {}, |
| | | |
| | | // æ§å¶æä»¶ |
| | | handleChange(file, fileList) { |
| | |
| | | }, |
| | | handleUpdate(row) { |
| | | console.log(row); |
| | | this.optionIndex = this.ruleForm.ivrLibaTemplateScriptVOList.indexOf(row); |
| | | if (row.ivrLibaScriptTargetoptionList.length) { |
| | | this.topicobj = row; |
| | | } else { |
| | |
| | | }); |
| | | console.log(this.ruleForm.ivrLibaTemplateScriptVOList); |
| | | }, |
| | | // -----------------------è¯æ¯é项 |
| | | deloption() {}, |
| | | // ä¿®æ¹é¢ç®ä¿¡æ¯ |
| | | Submittopicobj() { |
| | | this.ruleForm.ivrLibaTemplateScriptVOList[this.optionIndex]=this.topicobj; |
| | | this.$modal.msgSuccess("æåé项æå"); |
| | | }, |
| | | |
| | | // --------------------- |
| | | resetForm(formName) { |
| | | this.$refs[formName].resetFields(); |
| | |
| | | </el-col></el-row |
| | | > |
| | | |
| | | <el-card class="box-card" style="margin-bottom: 20px"> |
| | | <!-- <el-card class="box-card" style="margin-bottom: 20px"> |
| | | <el-table |
| | | v-loading="loading" |
| | | :data="indexform.ivrLibaScriptTargetoptionList" |
| | |
| | | </template> |
| | | </el-table-column> |
| | | </el-table> |
| | | </el-card> --> |
| | | <el-card class="box-card" style="margin-bottom: 20px"> |
| | | <Regular |
| | | :TargetoptionList="indexform.ivrLibaScriptTargetoptionList" |
| | | @addoption="addoption" |
| | | @deloption="deloption" |
| | | @syioption="syioption" |
| | | @xiayioption="xiayioption" |
| | | /> |
| | | </el-card> |
| | | <el-row :gutter="20"> |
| | | <el-col :span="12"> |
| | |
| | | gettargetInfolist, |
| | | gettargetInfo, |
| | | } from "@/api/AiCentre/index"; |
| | | import Regular from "@/components/Regular"; //æ£åç»ä»¶ |
| | | import store from "@/store"; |
| | | |
| | | export default { |
| | | name:'Verbalproblem', |
| | | components: { Regular }, |
| | | data() { |
| | | return { |
| | | Editprogress: 1, //ç¼è¾è¿åº¦ |