Commit 0760bd6f authored by 黄自鹏's avatar 黄自鹏

调整

parent 26a7a504
...@@ -67,17 +67,17 @@ ...@@ -67,17 +67,17 @@
<el-tab-pane label="培训小结" name="third"> <el-tab-pane label="培训小结" name="third">
<Content /> <Content />
</el-tab-pane> --> </el-tab-pane> -->
</el-tabs> </el-tabs>
</div> </div>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
/* 引入需要的接口*/ /* 引入需要的接口*/
import { import {
doQuery, doQuery,
doQueryPxjl, doQueryPxjl,
...@@ -87,37 +87,38 @@ ...@@ -87,37 +87,38 @@
} from '@/api/train/assessment.js'; } from '@/api/train/assessment.js';
import { import {
queryGsTree queryGsTree
} from "@/api/train/planning.js"; } from "@/api/train/planning.js";
import { import {
QueryBm, QueryBm,
} from "common/src/api/system/dmgSystem.js"; } from "common/src/api/system/dmgSystem.js";
/* edit页面*/ /* edit页面*/
import Edit from './edit' import Edit from './edit'
import Participants from './participants.vue' import Participants from './participants.vue'
import Cycle from './cycle.vue' import Cycle from './cycle.vue'
import Content from './content.vue' import PersonLiable from './personLiable.vue' import Content from './content.vue'
import { import PersonLiable from './personLiable.vue'
tableMixin import {
} from 'common' tableMixin
export default { } from 'common'
mixins: [tableMixin], export default {
name: 'appVersion', mixins: [tableMixin],
name: 'appVersion',
/* 初始额外赋值*/
async mounted() { /* 初始额外赋值*/
async mounted() {
},
data() { },
return { data() {
activeName: 'first', return {
/*需要的额外参数 */ activeName: 'first',
showDialog: false, /*需要的额外参数 */
DialogName: '', showDialog: false,
type: '', DialogName: '',
DialogTitle: '', type: '',
/* 基础url*/ DialogTitle: '',
baseUrl: '/aqgl/pxgl/pxjl', /* 基础url*/
/* 查询参数*/ baseUrl: '/aqgl/pxgl/pxjh',
/* 查询参数*/
/* 查询参数*/ /* 查询参数*/
queryParams: { queryParams: {
pxfs:'', pxfs:'',
...@@ -130,15 +131,15 @@ ...@@ -130,15 +131,15 @@
treeDefaultProps: { treeDefaultProps: {
children: 'children', children: 'children',
label: 'bmmc' label: 'bmmc'
}, },
/* 表格标题对应参数*/ /* 表格标题对应参数*/
tableTitle: [ tableTitle: [
{label: "公司", prop: "gsName", fieldType: "ftString",width:192}, {label: "公司", prop: "gsName", fieldType: "ftString",width:192},
{label: "培训项目", prop: "name", fieldType: "ftString",width:300}, {label: "培训项目", prop: "name", fieldType: "ftString",width:300},
{label: "培训对象", prop: "pxdx", fieldType: "ftString",width:300}, {label: "培训对象", prop: "pxdx", fieldType: "ftString",width:300},
{label: "培训人数", prop: "pxrs", fieldType: "int"}, {label: "培训人数", prop: "pxrs", fieldType: "int"},
{label: "培训类型", prop: "type", fieldType: "ftString",width:100,transform:{ {label: "培训类型", prop: "type", fieldType: "ftString",width:100,transform:{
url:'aqgl/pxgl/pxjh/init/type',label:'name',value:'id' url:'aqgl/pxgl/pxjh/init/type',label:'name',value:'id'
}}, }},
{label: "培训时间", prop: "pxsj", fieldType: "ftString",width:200}, {label: "培训时间", prop: "pxsj", fieldType: "ftString",width:200},
{label: "估计费用", prop: "pxfy", fieldType: "ftString",width:200}, {label: "估计费用", prop: "pxfy", fieldType: "ftString",width:200},
...@@ -146,25 +147,25 @@ ...@@ -146,25 +147,25 @@
{label: "项目负责人", prop: "xmfzr", fieldType: "ftString",width:100}, {label: "项目负责人", prop: "xmfzr", fieldType: "ftString",width:100},
{label: "质量负责人", prop: "zlfzr", fieldType: "ftString",width:100}, {label: "质量负责人", prop: "zlfzr", fieldType: "ftString",width:100},
{label: "年度", prop: "year", fieldType: "int"}, {label: "年度", prop: "year", fieldType: "int"},
{label: "月份", prop: "month", fieldType: "int"}, {label: "月份", prop: "month", fieldType: "int"},
{label: "季度", prop: "quarter", fieldType: "int"}, {label: "季度", prop: "quarter", fieldType: "int"},
{label: "培训目标", prop: "pxmb", fieldType: "ftString",width:300}, {label: "培训目标", prop: "pxmb", fieldType: "ftString",width:300},
{label: "培训方式", prop: "pxfs", fieldType: "ftString",width:130}, {label: "培训方式", prop: "pxfs", fieldType: "ftString",width:130},
{label: "授课人", prop: "skr", fieldType: "ftString",width:192}, {label: "授课人", prop: "skr", fieldType: "ftString",width:192},
{label: "课时", prop: "pxsc", fieldType: "float"}, {label: "课时", prop: "pxsc", fieldType: "float"},
{label: "主办单位", prop: "bmName", fieldType: "ftString",width:192}, {label: "主办单位", prop: "bmName", fieldType: "ftString",width:192},
{label: "备注", prop: "bz", fieldType: "ftString",width:300}, {label: "备注", prop: "bz", fieldType: "ftString",width:300},
{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"}, {label: "创建人", prop: "cjr", fieldType: "ftString"},
{label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"}, {label: "创建时间", prop: "cjsj", fieldType: "ftDateTime"},
{label: "附件数", prop: "attachcount", fieldType: "int"}, {label: "附件数", prop: "attachcount", fieldType: "int"},
] ]
} }
}, },
methods: { methods: {
selectedTree(e){ selectedTree(e){
this.queryParams.gsid=e.id||'root' this.queryParams.gsid=e.id||'root'
this.$refs['TablePager'].pageQuery({setFirstCurrent:true}) this.$refs['TablePager'].pageQuery({setFirstCurrent:true})
...@@ -178,35 +179,35 @@ ...@@ -178,35 +179,35 @@
this.$refs.personLiable.$refs['TablePager'].pageQuery() this.$refs.personLiable.$refs['TablePager'].pageQuery()
}) })
}, },
query: doQuery, query: doQuery,
/* treeQuery */ /* treeQuery */
apiTreeQuery: queryGsTree, apiTreeQuery: queryGsTree,
/* 初始化赋值操作*/ /* 初始化赋值操作*/
init() { init() {
}, },
/* 启用停用*/ /* 启用停用*/
}, },
components: { components: {
Edit, Edit,
Participants, Participants,
Cycle, Cycle,
PersonLiable, PersonLiable,
Content Content
} }
} }
</script> </script>
<style scoped> <style scoped>
/deep/.el-tabs__item { /deep/.el-tabs__item {
font-size: 13px; font-size: 13px;
color: #666; color: #666;
} }
</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