Commit 1e511164 authored by dingyoujian's avatar dingyoujian

调整

parent c06fab82
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/jcsj/aqgg/query',
......@@ -8,7 +8,7 @@ export function doQuery(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/jcsj/aqgg/update',
......
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/jcsj/bzzywdml/query',
......@@ -8,7 +8,7 @@ export function doQuery(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/jcsj/bzzywdml/update',
......@@ -32,7 +32,7 @@ export function doDelete(query) {
}
/* 角色管理query */
/* query */
export function doQueryDtl(query) {
return request({
url: '/aqgl/jcsj/bzzywd/query',
......@@ -40,7 +40,7 @@ export function doQueryDtl(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdateDtl(query) {
return request({
url: '/aqgl/jcsj/bzzywd/update',
......
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/jcsj/aqwdml/query',
......@@ -8,7 +8,7 @@ export function doQuery(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/jcsj/aqwdml/update',
......@@ -40,7 +40,7 @@ export function doQueryDtl(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdateDtl(query) {
return request({
url: '/aqgl/jcsj/aqwd/update',
......
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/yhgl/yhjl/query',
......@@ -8,7 +8,7 @@ export function doQuery(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/yhgl/yhjl/update',
......
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/yhgl/yhbz/query',
......@@ -8,7 +8,7 @@ export function doQuery(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/yhgl/yhbz/update',
......
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/yhgl/yhbzfl/query',
......@@ -8,7 +8,7 @@ method: 'post',
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/yhgl/yhbzfl/update',
......
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/yhgl/yhfl/query',
......@@ -8,7 +8,7 @@ method: 'post',
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/yhgl/yhfl/update',
......
import request from 'common/src/utils/request'
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/fxyk/fxpc/query',
method: 'post',
data: query||{}
})
}
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/fxyk/fxpc/update',
method: 'post',
data: query||{}
})
}
export function doAdd(query) {
return request({
url: '/aqgl/fxyk/fxpc/add',
method: 'post',
data: query||{}
})
}
export function doDelete(query) {
return request({
url: '/aqgl/fxyk/fxpc/delete',
method: 'post',
data: query||{}
})
}
/**
* 取主表ID作为MID
*/
/* query */
export function doQueryDtl(query) {
return requestDtl({
url: '/aqgl/fxyk/fxpcmx/query',
method: 'post',
data: query||{}
})
}
/* 更新 */
export function doUpdateDtl(query) {
return requestDtl({
url: '/aqgl/fxyk/fxpcmx/update',
method: 'post',
data: query||{}
})
}
export function doAddDtl(query) {
return requestDtl({
url: '/aqgl/fxyk/fxpcmx/add',
method: 'post',
data: query||{}
})
}
export function doDeleteDtl(query) {
return requestDtl({
url: '/aqgl/fxyk/fxpcmx/delete',
method: 'post',
data: query||{}
})
}
export function doQueryFxbz(query) {
return requestDtl({
url: '/aqgl/fxyk/fxpc/queryFxbz',
method: 'post',
data: query||{}
})
}
import request from 'common/src/utils/request'
/* 角色管理query */
/* query */
export function doQuery(query) {
return request({
url: '/aqgl/fxyk/fxbz/query',
......@@ -8,7 +8,7 @@ export function doQuery(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdate(query) {
return request({
url: '/aqgl/fxyk/fxbz/update',
......@@ -31,7 +31,7 @@ export function doDelete(query) {
})
}
/* 角色管理query */
/* query */
export function doQueryJcnr(query) {
return request({
url: '/aqgl/fxyk/fxjcnr/query',
......@@ -39,7 +39,7 @@ export function doQueryJcnr(query) {
data: query||{}
})
}
/* 角色管理更新 */
/* 更新 */
export function doUpdateJcnr(query) {
return request({
url: '/aqgl/fxyk/fxjcnr/update',
......
......@@ -44,8 +44,7 @@
doQueryDtl,
doAddDtl,
doUpdateDtl,
doDeleteDtl,
doExport
doDeleteDtl
} from '@/api/basicData/operationDcManagement.js';
/* edit页面*/
import Edit from './lessEdit'
......
......@@ -43,8 +43,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from '@/api/basicData/operationDcManagement.js';
/* edit页面*/
import Edit from './edit'
......
......@@ -44,8 +44,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -96,8 +96,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -44,8 +44,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -78,8 +78,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -44,8 +44,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -68,8 +68,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
import {
doQuerRoot
......
......@@ -44,8 +44,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/maintenanceDg.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -52,8 +52,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/maintenanceDg.js"
import {
doQuerRoot
......
......@@ -44,8 +44,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -77,8 +77,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
import {
QueryBm,
......
......@@ -44,8 +44,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
/* edit页面*/
import Edit from './edit'
......
......@@ -69,8 +69,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/dangerManagement/enterSafetyRecords.js"
import {
QueryBm,
......
<template>
<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-col :span="12">
<el-form-item label="任务ID" ref="mid" prop="mid">
<el-input :readonly="readonly" v-model="form.mid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="来源单据ID" ref="lydjid" prop="lydjid">
<el-input :readonly="readonly" v-model="form.lydjid" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="检查得分" ref="jcdf" prop="jcdf">
<el-input :readonly="readonly" v-model="form.jcdf" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="整改后得分" ref="zgdf" prop="zgdf">
<el-input :readonly="readonly" v-model="form.zgdf" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="检查结果" ref="jcjg" prop="jcjg">
<el-input :readonly="readonly" v-model="form.jcjg" ></el-input>
</el-form-item>
</el-col>
<el-col :span="12">
<el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="12">
<el-form-item label="系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item>
</el-col>
</el-form>
</RelDialog>
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
mounted() {
},
/* 组件名称*/
name: "aqgl/fxykFxpcmxEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
return {
/* 额外初始化,根据需求*/
systemType: [],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
id:'',
mid:'',
lydjid:'',
jcdf:'',
zgdf:'',
jcjg:'',
zt:'',
bz:'',
whrid:'',
whr:'',
whsj:new Date().getTime(),
cjrid:'',
cjr:'',
cjsj:new Date().getTime(),
sysversion:'',
},
/* form提交时的规则,具体规则参考官网*/
rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
}
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
</style>
<template>
<div class="min_full">
<!-- 查询条件-->
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<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>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQueryDtl,
doAddDtl,
doUpdateDtl,
doDeleteDtl
} from "src/api/riskPrecontrol/maintenanceRiskTask.js";
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/fxykFxpcmx',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/fxyk/fxpcmx',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "任务ID", prop: "mid", fieldType: "ftString",width:192},
{label: "来源单据ID", prop: "lydjid", fieldType: "ftString",width:192},
{label: "检查得分", prop: "jcdf", fieldType: "float"},
{label: "整改后得分", prop: "zgdf", fieldType: "float"},
{label: "检查结果", prop: "jcjg", fieldType: "ftString",width:60},
{label: "状态", prop: "zt", fieldType: "ftString",width:6},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
]
}
},
methods: {
/* 基础查询*/
query: doQueryDtl,
/* 基础增*/
apiAdd: doAddDtl,
/* 基础更新*/
apiUpdate: doUpdateDtl,
/* 删除操作*/
apiDelete: doDeleteDtl,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
<template>
<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-col :span="8">
<el-form-item label="ID" ref="id" prop="id">
<el-input :readonly="readonly" v-model="form.id" ></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="单据来源" ref="djly" prop="djly">
<el-input :readonly="readonly" v-model="form.djly" ></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="风险排查标准编码" ref="fxbzid" prop="fxbzid">
<el-input :readonly="readonly" v-model="form.fxbzid" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="下达日期" ref="xdrq" prop="xdrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.xdrq" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="截止日期" ref="jzrq" prop="jzrq">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.jzrq" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="实际检查时间" ref="sjjcsj" prop="sjjcsj">
<el-date-picker style="width: 100%;" :readonly="readonly" type="date"
v-model="form.sjjcsj" placeholder="选择日期">
</el-date-picker>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="检查岗位" ref="gwid" prop="gwid">
<el-input :readonly="readonly" v-model="form.gwid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="检查人ID" ref="jcrid" prop="jcrid">
<el-input :readonly="readonly" v-model="form.jcrid" ></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="备注" ref="bz" prop="bz">
<el-input :readonly="readonly" v-model="form.bz" ></el-input>
</el-form-item>
</el-col>
</el-row>
<el-row :gutter="20">
<el-col :span="8">
<el-form-item label="系统版本" ref="sysversion" prop="sysversion">
<el-input :readonly="readonly" v-model="form.sysversion" ></el-input>
</el-form-item>
</el-col>
<el-col :span="8">
<el-form-item label="班次" ref="bcid" prop="bcid">
<el-input :readonly="readonly" v-model="form.bcid" ></el-input>
</el-form-item>
</el-col>
</el-row>
</el-form>
</RelDialog>
</template>
<script>
import {editMixin} from 'common'
export default {
mixins: [editMixin],
/* 存放index页面传递的额外参数*/
mounted() {
},
/* 组件名称*/
name: "aqgl/fxykFxpcEdit",
/* 传递props模式一样必填,用于index,button,REdialog之间的组件通信*/
data() {
return {
/* 额外初始化,根据需求*/
systemType: [],
bmList: [],
/* 当前表单初始值,默认由RelDialog查询indexQuery赋值,copy时不赋值id,初始化时所有query的值都会赋值给form*/
form: {
id:'',
djly:'',
fxbzid:'',
zt:'',
xdrq:new Date().getTime(),
jzrq:new Date().getTime(),
sjjcsj:new Date().getTime(),
gwid:'',
jcrid:'',
bz:'',
whrid:'',
whr:'',
whsj:new Date().getTime(),
cjrid:'',
cjr:'',
cjsj:new Date().getTime(),
sysversion:'',
bcid:'',
},
/* form提交时的规则,具体规则参考官网*/
rules: {
roleid: [{
required: true,
trigger: 'blur'
}, ],
rolename: [{
required: true,
trigger: 'blur'
}, ]
}
}
},
methods: {
}
}
</script>
<style scoped lang="scss">
</style>
<template>
<div class="min_full">
<!-- 查询条件-->
<div class="search" v-condition>
<SearchButton :app='app'></SearchButton>
<el-row :gutter="20" class="search-row-1">
<el-col :span="12" class="search-col">
<div class="search-item">
<span class="search-span">名称:</span>
<el-input v-model="queryParams.info"></el-input>
</div>
</el-col>
</el-row>
</div>
<!-- 按钮操作-->
<el-row class="tool-bar">
<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>
<!-- 额外按钮-->
<!-- 表头设置 -->
<!-- 权限-->
</el-row>
<!-- 表格-->
<div class="tablePagers">
<TablePager @getData='getData' :ref="'TablePager'" :app='app' :query='query' @selectItem='selectItem'
@getRow='getRow'>
</TablePager>
</div>
</div>
</template>
<script>
/* 引入需要的接口*/
import {
doQuery,
doAdd,
doUpdate,
doDelete
} from "src/api/riskPrecontrol/maintenanceRiskTask.js";
/* edit页面*/
import Edit from './edit'
import {
tableMixin
} from 'common'
export default {
mixins: [tableMixin],
name: 'aqgl/fxykFxpc',
/* 初始额外赋值*/
async mounted() {
this.$refs['TablePager'].pageQuery()
},
data() {
return {
/*需要的额外参数 */
showDialog: false,
DialogName: '',
type: '',
DialogTitle: '',
/* 基础url*/
baseUrl: '/aqgl/fxyk/fxpc',
/* 查询参数*/
queryParams: {
info: ''
},
/* 表格标题对应参数*/
tableTitle: [
{label: "ID", prop: "id", fieldType: "ftString",width:192},
{label: "单据来源", prop: "djly", fieldType: "ftString",width:60},
{label: "风险排查标准编码", prop: "fxbzid", fieldType: "ftString",width:192},
{label: "状态", prop: "zt", fieldType: "ftString",width:6},
{label: "下达日期", prop: "xdrq", fieldType: "ftDateTime"},
{label: "截止日期", prop: "jzrq", fieldType: "ftDateTime"},
{label: "实际检查时间", prop: "sjjcsj", fieldType: "ftDateTime"},
{label: "检查岗位", prop: "gwid", fieldType: "ftString",width:192},
{label: "检查人ID", prop: "jcrid", fieldType: "ftString",width:192},
{label: "备注", prop: "bz", fieldType: "ftString",width:300},
{label: "维护人", prop: "whr", fieldType: "ftString"},
{label: "维护时间", prop: "whsj", fieldType: "ftDateTime"},
{label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
{label: "班次", prop: "bcid", fieldType: "ftString",width:192},
]
}
},
methods: {
/* 基础查询*/
query: doQuery,
/* 基础增*/
apiAdd: doAdd,
/* 基础更新*/
apiUpdate: doUpdate,
/* 删除操作*/
apiDelete: doDelete,
/* 初始化赋值操作*/
init() {
}
},
components: {
Edit,
}
}
</script>
<style scoped>
</style>
......@@ -86,9 +86,9 @@
}
},
methods: {
/* 基础查询*/
query: doQueryJcnr,
/* 基础增*/
apiAdd: doAddJcnr,
/* 基础更新*/
......@@ -97,7 +97,6 @@
apiDelete: doDeleteJcnr,
/* 初始化赋值操作*/
init() {
}
},
components: {
......
......@@ -43,8 +43,7 @@
doQuery,
doAdd,
doUpdate,
doDelete,
doExport
doDelete
} from "@/api/riskPrecontrol/screeningCriteria.js";
/* edit页面*/
import Edit from './edit'
......
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