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

调整

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