| | |
| | | </el-input> </el-form-item |
| | | ></el-col> |
| | | </el-row> |
| | | <el-form-item label="å
³é®å(å«)" prop="desc"> |
| | | <el-form-item label="å
³é®å(å«)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | |
| | | > |
| | | </div> |
| | | </el-form-item> |
| | | <el-form-item label="å
³é®å(é)" prop="desc"> |
| | | <el-form-item label="å
³é®å(é)" prop="desc" v-if="hasValue"> |
| | | <div class="xinz-inf"> |
| | | <el-tag |
| | | :key="crux" |
| | |
| | | class="upload-demo" |
| | | style="display: flex" |
| | | action="https://jsonplaceholder.typicode.com/posts/" |
| | | :on-change="handleChange" |
| | | :file-list="fileList" |
| | | :limit="1" |
| | | :on-exceed="handleExceed" |
| | |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | hasValue: { |
| | | type: Boolean, |
| | | default: true, |
| | | }, |
| | | }, |
| | | |
| | | created() { |
| | |
| | | this.handleSelectionChange(); |
| | | }, |
| | | // æ§å¶æä»¶ |
| | | handleChange(file, fileList) { |
| | | this.fileList = fileList.slice(-3); |
| | | }, |
| | | // handleChange(file, fileList) { |
| | | // this.fileList = fileList.slice(-3); |
| | | // }, |
| | | // æä»¶è¶
åºä¸ªæ°éå¶æ¶çé©å |
| | | handleExceed(files, fileList) { |
| | | this.$message.warning( |
| | |
| | | }, |
| | | // é项æä»¶ä¸ä¼ |
| | | handleChange(item, response, file, fileList) { |
| | | console.log(response, "response"); |
| | | console.log(item, "item"); |
| | | console.log(this.TargetoptionList, "this.TargetoptionList"); |
| | | let index = this.TargetoptionList.findIndex( |
| | | (obj) => obj.id == item.id && obj.name == item.name |
| | | (obj) => obj.guid == item.guid && obj.name == item.name |
| | | ); |
| | | this.TargetoptionList[index].picturePath = response.url; |
| | | }, |
| | |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | { |
| | | value: "3", |
| | | label: "人工çµè¯", |
| | | raw: { |
| | | cssClass: "", |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | { |
| | | value: "4", |
| | | label: "æºè½é®ç", |
| | | raw: { |
| | | cssClass: "", |
| | | listClass: "", |
| | | }, |
| | | }, |
| | | ], |
| | | // éç¨æ¹å¼ |
| | | Askmode: (state) => [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>ç¾ç
å类代ç </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return {}; |
| | | }, |
| | | |
| | | created() {}, |
| | | |
| | | methods: {}, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped></style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div> |
| | | è¯åç¥è¯åº |
| | | </div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data () { |
| | | return { |
| | | |
| | | } |
| | | }, |
| | | |
| | | created () { |
| | | |
| | | }, |
| | | |
| | | methods: { |
| | | |
| | | } |
| | | } |
| | | </script> |
| | | |
| | | <style lang='scss' scoped> |
| | | |
| | | </style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>æ¥æç¥è¯åº</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return {}; |
| | | }, |
| | | |
| | | created() {}, |
| | | |
| | | methods: {}, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped></style> |
¶Ô±ÈÐÂÎļþ |
| | |
| | | <template> |
| | | <div>ç¾ç
ç¥è¯åº</div> |
| | | </template> |
| | | |
| | | <script> |
| | | export default { |
| | | data() { |
| | | return {}; |
| | | }, |
| | | |
| | | created() {}, |
| | | |
| | | methods: {}, |
| | | }; |
| | | </script> |
| | | |
| | | <style lang="scss" scoped></style> |
| | |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "ç«å³å建" : "ä»»å¡è¯¦æ
é
ç½®" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </div> |
| | | |
| | | <!-- ä»»å¡è¯¦æ
--> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="卿¬é¶æ®µéæ©å®£æç
人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>åéå¹é
éå</div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "ç«å³å建" : "ä»»å¡è¯¦æ
é
ç½®" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </div> |
| | | |
| | | <!-- ä»»å¡è¯¦æ
--> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="卿¬é¶æ®µéæ©å®£æç
人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>æ£è
å表</div> |
| | |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "ç«å³å建" : "ä»»å¡è¯¦æ
é
ç½®" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </div> |
| | | |
| | | <!-- ä»»å¡è¯¦æ
--> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="卿¬é¶æ®µéæ©å®£æç
人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>åéå¹é
éå</div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "ç«å³å建" : "ä»»å¡è¯¦æ
é
ç½®" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </div> |
| | | |
| | | <!-- ä»»å¡è¯¦æ
--> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="卿¬é¶æ®µéæ©å®£æç
人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>æ£è
å表</div> |
| | |
| | | </el-form> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "ç«å³å建" : "ä»»å¡è¯¦æ
é
ç½®" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </div> |
| | | |
| | | <!-- ä»»å¡è¯¦æ
--> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="卿¬é¶æ®µéæ©é访ç
人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>åéå¹é
éå</div> |
| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <el-button type="success" @click="nextstep('ruleForm')">{{ |
| | | quote ? "ç«å³å建" : "ä»»å¡è¯¦æ
é
ç½®" |
| | | }}</el-button> |
| | | <el-button @click="resetForm('ruleForm')">éç½®</el-button> |
| | | </div> |
| | | |
| | | <!-- ä»»å¡è¯¦æ
--> |
| | | <div v-if="Editprogress == 2"> |
| | | <el-alert title="卿¬é¶æ®µéæ©é访ç
人" type="success" effect="dark"> |
| | | </el-alert> |
| | | <div class="leftvlue-jbxx"> |
| | | <div class="examine-jic"> |
| | | <div class="headline"> |
| | | <div>æ£è
å表</div> |
| | |
| | | // å¤çé®é¢å±åé |
| | | Variablehandling(arr, type) { |
| | | let Variablist = []; |
| | | this.variableList = []; //åéå表 |
| | | if (type == 1) { |
| | | console.log(arr); |
| | | // 循ç¯é®é¢ |
| | |
| | | } |
| | | }); |
| | | }); |
| | | console.log(Variablist, "Variablist"); |
| | | const Aarr = Variablist.filter( |
| | | (obj, index, self) => |
| | | index === |
| | | self.findIndex((t) => t.name === obj.name && t.value === obj.value) |
| | | ); |
| | | this.variableList = this.transitionList.concat(Aarr); |
| | | console.log(this.variableList, "variableList"); |
| | | // this.form.textParam = this.convertFormat2ToFormat1(this.variableList); |
| | | } |
| | | }, |
| | |
| | | > |
| | | </el-table-column> |
| | | |
| | | <el-table-column |
| | | <!-- <el-table-column |
| | | label="æ£å¸¸å¼èå´" |
| | | align="center" |
| | | key="warndown" |
| | |
| | | <template slot-scope="scope"> |
| | | <span>{{ scope.row.warnup }}~{{ scope.row.warndown }}</span> |
| | | </template> |
| | | </el-table-column> |
| | | </el-table-column> --> |
| | | <el-table-column |
| | | label="ææ æè¿°" |
| | | align="center" |
| | |
| | | ><i class="el-icon-edit"></i>ä¿®æ¹</span |
| | | ></el-button |
| | | > |
| | | <el-button |
| | | <!-- <el-button |
| | | size="medium" |
| | | type="text" |
| | | @click="handlemeasurement(scope.row)" |
| | |
| | | ><span class="button-textcs" |
| | | ><i class="el-icon-help"></i>æµè¯</span |
| | | ></el-button |
| | | > |
| | | > --> |
| | | <el-button |
| | | size="medium" |
| | | type="text" |
| | |
| | | <el-col :span="24"> |
| | | <el-form-item label="éç¨åºæ¯" prop="suitWayList"> |
| | | <el-select |
| | | class="el-select1" |
| | | v-model="indexform.suitWayList" |
| | | multiple |
| | | @change="changeselect" |
| | | placeholder="è¯·éæ©" |
| | | > |
| | | <el-option |
| | |
| | | <el-card |
| | | class="box-card" |
| | | style="margin-bottom: 20px" |
| | | v-if="indexform.valueType == 1 || indexform.valueType == 2" |
| | | v-if="indexform.scriptType == 1 || indexform.scriptType == 2" |
| | | > |
| | | <Regular |
| | | :TargetoptionList="testuserList" |
| | | :intent="false" |
| | | :hasValue="hasValue" |
| | | @addoption="addoption" |
| | | @deloption="deloption" |
| | | @syioption="syioption" |
| | | @xiayioption="xiayioption" |
| | | /> |
| | | </el-card> |
| | | <div v-if="indexform.valueType == 3"> |
| | | <div v-if="indexform.scriptType == 3"> |
| | | <el-form-item label="æ¶éä¿¡æ¯"> |
| | | <el-input |
| | | type="text" |
| | |
| | | radio: "主åç±»", |
| | | testvalue: "", |
| | | testgovalue: "", |
| | | hasValue: true, |
| | | classifyform: { |
| | | categoryname: "", |
| | | }, //ç±»å«è¡¨å |
| | |
| | | getIndexInArray(arr, obj) { |
| | | // è¿åæ°ç»ä¸æå®å
ç´ çç´¢å¼ |
| | | return arr.indexOf(obj); |
| | | }, |
| | | changeselect(row) { |
| | | console.log(row); |
| | | this.hasValue = row.includes('2'); |
| | | }, |
| | | //å é¤åç±» |
| | | deletefenlei(row) { |
| | |
| | | id: this.indexform.id, |
| | | targettype: this.indexform.targettype, |
| | | isoperation: 1, |
| | | isabnormal: 0, |
| | | targetvalue: "", |
| | | targetregex: "", |
| | | targetregex2: "", |
| | |
| | | dynamiccruxsJson: item.dynamiccruxsJson, |
| | | nodynamiccruxsJson: item.nodynamiccruxsJson, |
| | | targetoptionid: item.targetoptionid, |
| | | isabnormal: item.isabnormal, |
| | | }; |
| | | }); |
| | | console.log(this.testuserList); |
| | |
| | | this.title = "ææ è¯¦æ
"; |
| | | this.indexform = {}; |
| | | this.indexform = row; |
| | | this.indexform.scriptType = Number(row.scriptType); |
| | | if (!row.targetoptionList[0]) { |
| | | row.targetoptionList = [ |
| | | { |
| | |
| | | height: 400px; |
| | | } |
| | | } |
| | | .el-select { |
| | | width: 40%; |
| | | } |
| | | ::v-deep.el-tabs--left, |
| | | .el-tabs--right { |
| | | overflow: hidden; |