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

非常规作业类型

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