Commit 6a9be9f7 authored by 李苏's avatar 李苏 💬

非常规作业类型

parent afb6d897
......@@ -2,33 +2,33 @@ import request from 'common/src/utils/request'
/*query */
export function doQuery(query) {
return request({
url: '/aqgl/rcgl/fcgzylx/query',
method: 'post',
data: query||{}
})
return request({
url: '/aqgl/rcgl/ufcgzylx/query',
method: 'post',
data: query||{}
})
}
/*更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/rcgl/fcgzylx/update',
method: 'post',
data: query||{}
})
return request({
url: '/aqgl/rcgl/ufcgzylx/update',
method: 'post',
data: query||{}
})
}
export function doAdd(query) {
return request({
url: '/aqgl/rcgl/fcgzylx/add',
method: 'post',
data: query||{}
})
return request({
url: '/aqgl/rcgl/ufcgzylx/add',
method: 'post',
data: query||{}
})
}
export function doDelete(query) {
return request({
url: '/aqgl/rcgl/fcgzylx/delete',
method: 'post',
data: query||{}
})
return request({
url: '/aqgl/rcgl/ufcgzylx/delete',
method: 'post',
data: query||{}
})
}
......
......@@ -768,19 +768,19 @@ export const powerRoutes=[
redirect: 'nrtm',
meta: {title: "日常管理", icon: "fa-cog", noCache: false, link: null,mkid:905100000},
children: [
/*{
{
component:'daily/nrtm/index',
hidden:false,
meta:{
"title": "非常规作业类型维护",
"title": "非常规作业类型",
"icon": "",
"noCache": false,
"link": null,
"mkid":905100100,
"mkid":905100400,
},
name:'nrtm',
path:"nrtm"
},*/
},
{
component:'daily/nros/index',
hidden:false,
......
......@@ -2,13 +2,13 @@
<RelDialog :type='type' :editApp='editApp' :app='app' :buttonApp='buttonApp'>
<!-- 填写表单内容,slot=form必写-->
<el-form slot="form" ref="form" :model="form" label-width="80px" :rules="rules">
<!-- <el-row :gutter="20">
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="序号" ref="xh" prop="xh">
<el-input :readonly="readonly" v-model="form.xh" ></el-input>
<el-form-item label="类型编码" ref="code" prop="code">
<el-input :readonly="readonly" v-model="form.code" ></el-input>
</el-form-item>
</el-col>
</el-row> -->
</el-row>
<el-row :gutter="20">
<el-col :span="24">
<el-form-item label="名称" ref="name" prop="name">
......@@ -35,7 +35,7 @@
},
/* 组件名称*/
name: "nrtmEdit",
name: "aqglRcglZsflEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
......@@ -50,8 +50,8 @@
form: {
//ID
id:'',
//序号
xh:'',
//类型编码
code:'',
//名称
name:'',
//备注
......
<template>
<div class="min_full">
<!-- 查询条件-->
<!-- <div class="search" v-condition>
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
......@@ -11,15 +11,14 @@
</div>
</el-col>
</el-row>
</div> -->
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<!-- <PrintButton :app='app'></PrintButton> -->
<PrintButton :app='app'></PrintButton>
<ViewButton ref="view" :app='app'></ViewButton>
<AddButton ref="add" :app='app'></AddButton>
<CopyButton ref="copy" :app='app'></CopyButton>
<EditButton ref="edit" :app='app'></EditButton>
<!-- <AttachFileButton :app='app' ></AttachFileButton> -->
<FieldButton :app='app'></FieldButton>
<ExcelButton :app='app'></ExcelButton>
<!-- 额外按钮-->
......@@ -53,7 +52,7 @@
} from 'common'
export default {
mixins: [tableMixin],
name: 'nrtm',
name: 'aqglRcglZsfl',
/* 初始额外赋值*/
async mounted() {
......@@ -67,18 +66,20 @@
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/rcgl/fcgzylx',
baseUrl: '/aqgl/rcgl/ufcgzylx',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "类型编码", prop: "code", fieldType: "ftString",width:120},
{label: "名称", prop: "name", fieldType: "ftString",width:300},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "序号", prop: "xh", fieldType: "int",width:100},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"}
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString", show: false},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime", show: false},
]
}
},
......@@ -108,3 +109,4 @@
<style scoped>
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment