This commit is contained in:
闫晓茹 2024-04-18 16:21:19 +08:00
parent a08c122063
commit 94e14b44e2
4 changed files with 17 additions and 12 deletions

View File

@ -455,6 +455,16 @@ export default {
/^\d{6}(18|19|20)?\d{2}(0[1-9]|1[0-2])(([0-2][1-9])|10|20|30|31)\d{3}(\d|X|x)$/,
},
],
deviceIp: [
{
required: false,
message: "请输入正确的ip地址",
trigger: "blur",
pattern:
/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/,
},
],
deviceCode: [
{ required: true, message: "设备编码不能为空", trigger: "blur" },
],

View File

@ -502,6 +502,7 @@
v-model="form.agencySort"
controls-position="right"
:min="0"
:max="99999"
placeholder="请输入机构排序"
style="width: 208px"
/>

View File

@ -228,6 +228,7 @@
v-model="form.categorySort"
controls-position="right"
:min="0"
:max="99999"
placeholder="请输入类别排序"
style="width: 250px"
/>

View File

@ -388,7 +388,7 @@
<el-input
disabled
type="textarea"
style="width: 500px;"
style="width: 500px"
v-model="formlists.textRemindContent"
placeholder="请输入提醒内容"
/>
@ -430,22 +430,17 @@ export default {
formlist: {},
materialsFilePath: "",
materialsType: "",
// rules: {
// routeHandleRemark: [
// { required: true, message: "", trigger: "change" },
// ],
// },
};
},
created() {
console.log(this.$route.query);
this.info();
//
if (this.$route.query.textRemindContent) {
this.formlists.textRemindContent = this.$route.query.textRemindContent;
}
if( this.$route.query.routeHandleRemark){
this.formlist.routeHandleRemark =
this.$route.query.routeHandleRemark;
if (this.$route.query.routeHandleRemark) {
this.formlist.routeHandleRemark = this.$route.query.routeHandleRemark;
}
//
if (this.$route.query.taskType == "PROPAGANDA_ARTICLE") {
@ -484,8 +479,6 @@ export default {
if (this.$route.query.routeHandleRemark) {
this.questiondata.routeHandleRemark =
this.$route.query.routeHandleRemark;
}
this.questiondata.subjectResultList.forEach((e) => {
@ -569,7 +562,7 @@ export default {
};
</script>
<style lang="scss" scoped>
.tk {
.tk {
::v-deep .el-textarea__inner {
margin: 20px 0 10px 30px;
}