diff --git a/src/views/category/component/create.vue b/src/views/category/component/create.vue index f4f00d7..11adfe5 100644 --- a/src/views/category/component/create.vue +++ b/src/views/category/component/create.vue @@ -51,8 +51,9 @@ export default { edit_input: 'el-cascader', form_show: true, _props: { + disabled:true, options: this.options, - props: { checkStrictly: true, value: "id", label: "title", disabled: "_disabled" } + props: { checkStrictly: true, value: "id", label: "title", disabled: "_disabled" }, }, _events: { change: (e) => { @@ -67,7 +68,7 @@ export default { // edit_input: "text", form_show: true, _props: { - // 'disabled':true + 'disabled':true, type: "year", "value-format": "yyyy" } @@ -78,7 +79,7 @@ export default { edit_input: "radio", form_show: true, _props:{ - // 'disabled':true + 'disabled':true }, _params: [] }, @@ -354,6 +355,7 @@ export default { formIndex({ page: 1,page_size: 999 }).then(res => { this.formInfo.find(i => i.field === 'form_id')._params = res.data }) + } }; diff --git a/src/views/category/index.vue b/src/views/category/index.vue index c003bc2..290d330 100644 --- a/src/views/category/index.vue +++ b/src/views/category/index.vue @@ -157,7 +157,8 @@ { type: "", label: "", - prop: "index", + prop: "index", + fixed:'left', customFn: row => { return row._type === 'type' ? row._text : row._index; } @@ -174,7 +175,8 @@ }, { prop: "records_count", - label: "预警规则", + label: "预警规则", + fixed:"right", customFn: row => { return(
{ this.categoryTypeList = res - // this.select.categoryType = res.data.length>0?res.data[0].id:'' - // this.select.categoryTypeName = res.data.length>0?res.data[0].title:'' + this.select.category_type_id = res.length>0?res[0].id:'' + this.select.categoryTypeName = res.length>0?res[0].title:'' }) }, diff --git a/src/views/fill/index.vue b/src/views/fill/index.vue index 640d0e5..7dd5c07 100644 --- a/src/views/fill/index.vue +++ b/src/views/fill/index.vue @@ -1,223 +1,152 @@ -