生产计划-计划工序功能修改 12.13

zhc4dev
zhc077 2 years ago
parent 7a6cb5072f
commit cd8180298c
  1. 610
      ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessAddList.vue
  2. 50
      ant-design-vue-jeecg/src/views/productplan/ZyPlanProcessList.vue

@ -4,130 +4,41 @@
<!-- <div class="table-page-search-wrapper">-->
<!-- <a-form layout="inline" @keyup.enter.native="searchQuery">-->
<!-- <a-row :gutter="24">-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="学期">-->
<!-- <j-dict-select-tag placeholder="请选择学期" v-model="queryParam.semester" dictCode="se_semester,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="学院">-->
<!-- <j-select-depart placeholder="请选择学院" v-model="queryParam.faculty"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="专业">-->
<!-- <j-dict-select-tag placeholder="请选择专业" v-model="queryParam.major" dictCode="se_major,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程类别1">-->
<!-- <j-dict-select-tag placeholder="请选择课程类别1" v-model="queryParam.type1" dictCode="course_type1"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程类别2">-->
<!-- <j-dict-select-tag placeholder="请选择课程类别2" v-model="queryParam.type2" dictCode="course_type2"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程类别3">-->
<!-- <a-input placeholder="请输入课程类别3" v-model="queryParam.type3"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程代码">-->
<!-- <a-input placeholder="请输入课程代码" v-model="queryParam.courseCode"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="课程名称">-->
<!-- <j-dict-select-tag placeholder="请选择课程名称" v-model="queryParam.courseName"-->
<!-- dictCode="se_course,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="教师工号">-->
<!-- <a-input placeholder="请输入教师工号" v-model="queryParam.workNo"></a-input>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="教师姓名">-->
<!-- <j-select-user-by-dep placeholder="请选择教师姓名" v-model="queryParam.teName"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">-->
<!-- <a-button type="primary" @click="searchQuery" icon="search">查询</a-button>-->
<!-- <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>-->
<!-- &lt;!&ndash; <a @click="handleToggleSearch" style="margin-left: 8px">-->
<!-- {{ toggleSearchStatus ? '收起' : '展开' }}-->
<!-- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>-->
<!-- </a>&ndash;&gt;-->
<!-- </span>-->
<!-- </a-col>-->
<!-- </a-row>-->
<!-- </a-form>-->
<!-- &lt;!&ndash;=============================王家东添加用于更新课程质量监控===============================================&ndash;&gt;-->
<!-- &lt;!&ndash;-->
<!-- <a-form layout="inline" @keyup.enter.native="dosx">-->
<!-- <a-row :gutter="24">-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="学期">-->
<!-- <j-dict-select-tag placeholder="请选择学期" v-model="semester" dictCode="se_semester,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <a-form-item label="专业">-->
<!-- <j-dict-select-tag placeholder="请选择专业" v-model="major" dictCode="se_major,name,id"/>-->
<!-- </a-form-item>-->
<!-- </a-col>-->
<!-- <a-col :xl="6" :lg="7" :md="8" :sm="24">-->
<!-- <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">-->
<!-- <a-button type="primary" @click="dosx" icon="search">更新课程质量监控</a-button>-->
<!-- <a-button type="primary" @click="searchReset" icon="reload" style="margin-left: 8px">重置</a-button>-->
<!-- <a @click="handleToggleSearch" style="margin-left: 8px">-->
<!-- {{ toggleSearchStatus ? '收起' : '展开' }}-->
<!-- <a-icon :type="toggleSearchStatus ? 'up' : 'down'"/>-->
<!-- </a>-->
<!-- </span>-->
<!-- </a-col>-->
<!-- </a-row>-->
<!-- </a-form>-->
<!-- &ndash;&gt;-->
<!-- &lt;!&ndash;============================================================================&ndash;&gt;-->
<!-- </div>-->
<!-- &lt;!&ndash; 查询区域-END &ndash;&gt;-->
<!-- &lt;!&ndash; 操作按钮区域 &ndash;&gt;-->
<!-- &lt;!&ndash; <div class="table-operator">&ndash;&gt;-->
<!-- &lt;!&ndash; <a-button @click="handleAdd" type="primary" icon="plus" v-if="user_name==='admin'">新增</a-button>&ndash;&gt;-->
<!-- &lt;!&ndash; <a-button type="primary" icon="download" @click="handleExportXls('开课任务')" v-if="user_name==='admin'">导出</a-button>&ndash;&gt;-->
<!-- &lt;!&ndash; <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel" v-if="user_name==='admin'">&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash;<a-button type="primary" icon="import">导入</a-button>&ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; </a-upload>&ndash;&gt;-->
<!-- &lt;!&ndash; &lt;!&ndash; 高级查询区域 &ndash;&gt;&ndash;&gt;-->
<!-- &lt;!&ndash; <j-super-query :fieldList="superFieldList" ref="superQueryModal" @handleSuperQuery="handleSuperQuery" v-if="user_name==='admin'"></j-super-query>&ndash;&gt;-->
<!-- &lt;!&ndash; <a-dropdown v-if="selectedRowKeys.length > 0">&ndash;&gt;-->
<!-- &lt;!&ndash; <a-menu slot="overlay">&ndash;&gt;-->
<!-- &lt;!&ndash; <a-menu-item key="1" @click="batchDel"><a-icon type="delete"/>删除</a-menu-item>&ndash;&gt;-->
<!-- &lt;!&ndash; </a-menu>&ndash;&gt;-->
<!-- &lt;!&ndash; <a-button style="margin-left: 8px"> 批量操作 <a-icon type="down" /></a-button>&ndash;&gt;-->
<!-- &lt;!&ndash; </a-dropdown>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- <div class="table-operator">-->
<!-- <a-button @click="handleAdd" type="primary" icon="plus">新增</a-button>-->
<!-- <a-button type="primary" icon="download" @click="handleExportXls('生产计划')">导出</a-button>-->
<!-- &lt;!&ndash; <a-upload name="file" :showUploadList="false" :multiple="false" :headers="tokenHeader" :action="importExcelUrl" @change="handleImportExcel">&ndash;&gt;-->
<!-- &lt;!&ndash; <a-button type="primary" icon="import">导入</a-button>&ndash;&gt;-->
<!-- &lt;!&ndash; </a-upload>&ndash;&gt;-->
<!-- &lt;!&ndash; 高级查询区域 &ndash;&gt;-->
<!-- <j-super-query :fieldList="superFieldList" ref="superQueryModal"-->
<!-- @handleSuperQuery="handleSuperQuery"></j-super-query>-->
<!-- <a-dropdown v-if="selectedRowKeys.length > 0">-->
<!-- <a-menu slot="overlay">-->
<!-- <a-menu-item key="1" @click="batchDel">-->
<!-- <a-icon type="delete"/>-->
<!-- 删除-->
<!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- <a-button style="margin-left: 8px"> 批量操作-->
<!-- <a-icon type="down"/>-->
<!-- </a-button>-->
<!-- </a-dropdown>-->
<!-- </div>-->
<!-- &lt;!&ndash; table区域-begin &ndash;&gt;-->
<!-- <div>-->
<!-- &lt;!&ndash; <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">&ndash;&gt;-->
<!-- &lt;!&ndash; <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a style="font-weight: 600">{{ selectedRowKeys.length }}</a>&ndash;&gt;-->
<!-- &lt;!&ndash; <a style="margin-left: 24px" @click="onClearSelected">清空</a>&ndash;&gt;-->
<!-- &lt;!&ndash; </div>&ndash;&gt;-->
<!-- <div class="ant-alert ant-alert-info" style="margin-bottom: 16px;">-->
<!-- <i class="anticon anticon-info-circle ant-alert-icon"></i> 已选择 <a-->
<!-- style="font-weight: 600">{{ selectedRowKeys.length }}</a>-->
<!-- <a style="margin-left: 24px" @click="onClearSelected">清空</a>-->
<!-- </div>-->
<!-- <a-table-->
<!-- ref="table"-->
@ -146,31 +57,49 @@
<!-- <template slot="htmlSlot" slot-scope="text">-->
<!-- <div v-html="text"></div>-->
<!-- </template>-->
<!-- &lt;!&ndash; <template slot="imgSlot" slot-scope="text">&ndash;&gt;-->
<!-- &lt;!&ndash; <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>&ndash;&gt;-->
<!-- &lt;!&ndash; <img v-else :src="getImgView(text)" height="25px" alt="" style="max-width:80px;font-size: 12px;font-style: italic;"/>&ndash;&gt;-->
<!-- &lt;!&ndash; </template>&ndash;&gt;-->
<!-- &lt;!&ndash; <template slot="fileSlot" slot-scope="text">&ndash;&gt;-->
<!-- &lt;!&ndash; <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>&ndash;&gt;-->
<!-- &lt;!&ndash; <a-button&ndash;&gt;-->
<!-- &lt;!&ndash; v-else&ndash;&gt;-->
<!-- &lt;!&ndash; :ghost="true"&ndash;&gt;-->
<!-- &lt;!&ndash; type="primary"&ndash;&gt;-->
<!-- &lt;!&ndash; icon="download"&ndash;&gt;-->
<!-- &lt;!&ndash; size="small"&ndash;&gt;-->
<!-- &lt;!&ndash; @click="downloadFile(text)">&ndash;&gt;-->
<!-- &lt;!&ndash; 下载&ndash;&gt;-->
<!-- &lt;!&ndash; </a-button>&ndash;&gt;-->
<!-- &lt;!&ndash; </template>&ndash;&gt;-->
<!-- <template slot="imgSlot" slot-scope="text">-->
<!-- <span v-if="!text" style="font-size: 12px;font-style: italic;">无图片</span>-->
<!-- <img v-else :src="getImgView(text)" height="25px" alt=""-->
<!-- style="max-width:80px;font-size: 12px;font-style: italic;"/>-->
<!-- </template>-->
<!-- <template slot="fileSlot" slot-scope="text">-->
<!-- <span v-if="!text" style="font-size: 12px;font-style: italic;">无文件</span>-->
<!-- <a-button-->
<!-- v-else-->
<!-- :ghost="true"-->
<!-- type="primary"-->
<!-- icon="download"-->
<!-- size="small"-->
<!-- @click="downloadFile(text)">-->
<!-- 下载-->
<!-- </a-button>-->
<!-- </template>-->
<!-- <span slot="action" slot-scope="text, record">-->
<!-- <a @click="handleEdit(record)" v-if="user_name==='admin'">编辑</a>-->
<!-- <a @click="handleEdit(record)">编辑</a>-->
<!-- <a-divider type="vertical"/>-->
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
<!-- <a>删除</a>-->
<!-- </a-popconfirm>-->
<!-- &lt;!&ndash; <a-dropdown>-->
<!-- <a class="ant-dropdown-link">更多 <a-icon type="down" /></a>-->
<!-- <a-menu slot="overlay">-->
<!-- <a-menu-item>-->
<!-- <a @click="handleDetail(record)">详情</a>-->
<!-- </a-menu-item>-->
<!-- <a-menu-item>-->
<!-- <a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">-->
<!-- <a>删除</a>-->
<!-- </a-popconfirm>-->
<!-- </a-menu-item>-->
<!-- </a-menu>-->
<!-- </a-dropdown>&ndash;&gt;-->
<!-- </span>-->
<!-- </a-table>-->
<!-- </div>-->
<!-- &lt;!&ndash; <class-opening-task-install-modal ref="classOpeningTaskInstallModal" @ok="modalFormOk"></class-opening-task-install-modal>&ndash;&gt;-->
<!-- &lt;!&ndash; <class-opening-task-modal ref="modalForm" @ok="modalFormOk"></class-opening-task-modal>&ndash;&gt;-->
<!-- &lt;!&ndash; <progress-plan-show ref="pps"></progress-plan-show>&ndash;&gt;-->
<!-- <zy-product-plan-modal ref="modalForm" @ok="modalFormOk"></zy-product-plan-modal>-->
<!-- </a-card>-->
<!--</template>-->
@ -179,422 +108,137 @@
<!--import '@/assets/less/TableExpand.less'-->
<!--import {mixinDevice} from '@/utils/mixin'-->
<!--import {JeecgListMixin} from '@/mixins/JeecgListMixin'-->
<!--import ClassOpeningTaskModal from 'src/views/classopeningtask/modules/ClassOpeningTaskModal.vue'-->
<!--import ProgressPlanShow from 'src/views/classopeningtask/ProgressPlanShow.vue'-->
<!--import {filterMultiDictText} from '@/components/dict/JDictSelectUtil'-->
<!--import ClassOpeningTaskInstallModal from "src/views/classopeningtask/modules/ClassOpeningTaskInstallModal.vue";-->
<!--import Vue from 'vue'-->
<!--import {USER_INFO} from "@/store/mutation-types"-->
<!--import {getAction} from '@/api/manage'-->
<!--import ZyProductPlanModal from './modules/ZyProductPlanModal'-->
<!--export default {-->
<!-- name: 'ClassOpeningTaskList',-->
<!-- name: 'ZyProductPlanList',-->
<!-- mixins: [JeecgListMixin, mixinDevice],-->
<!-- // components: {-->
<!-- // ClassOpeningTaskInstallModal,-->
<!-- // ClassOpeningTaskModal,-->
<!-- // ProgressPlanShow-->
<!-- // },-->
<!-- components: {-->
<!-- ZyProductPlanModal-->
<!-- },-->
<!-- data() {-->
<!-- return {-->
<!-- description: '开课任务管理页面',-->
<!-- description: '生产计划管理页面',-->
<!-- // -->
<!-- columns: [-->
<!-- {-->
<!-- title: '学期',-->
<!-- title: '#',-->
<!-- dataIndex: '',-->
<!-- key: 'rowIndex',-->
<!-- width: 60,-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '90px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'semester_dictText'-->
<!-- customRender: function (t, r, index) {-->
<!-- return parseInt(index) + 1;-->
<!-- }-->
<!-- },-->
<!-- {-->
<!-- title: '学院',-->
<!-- title: '工单编号',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '60px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'faculty_dictText'-->
<!-- dataIndex: 'productCode'-->
<!-- },-->
<!-- {-->
<!-- title: '专业',-->
<!-- title: '车间编号',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '60px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'major_dictText'-->
<!-- dataIndex: 'workshopId'-->
<!-- },-->
<!-- {-->
<!-- title: '年级',-->
<!-- title: '车间负责人',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '50px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'year_dictText'-->
<!-- dataIndex: 'responsiblePerson'-->
<!-- },-->
<!-- {-->
<!-- title: '班',-->
<!-- title: '班组编号',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '40px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'classId_dictText'-->
<!-- dataIndex: 'teamId'-->
<!-- },-->
<!-- {-->
<!-- title: '人数',-->
<!-- title: '组长',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'number'-->
<!-- dataIndex: 'teamLeader'-->
<!-- },-->
<!-- {-->
<!-- title: '类别1',-->
<!-- title: '生产开始时间',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'type1_dictText'-->
<!-- dataIndex: 'workTime',-->
<!-- customRender: function (text) {-->
<!-- return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text)-->
<!-- }-->
<!-- },-->
<!-- {-->
<!-- title: '类别2',-->
<!-- title: '生产时长',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'type2_dictText'-->
<!-- dataIndex: 'offTime'-->
<!-- },-->
<!-- {-->
<!-- title: '类别3',-->
<!-- title: '状态',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'type3'-->
<!-- // dataIndex: 'status'-->
<!-- dataIndex: 'status_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '课程代码',-->
<!-- title: '是否加急',-->
<!-- align: "center",-->
<!-- dataIndex: 'courseCode'-->
<!-- // dataIndex: 'speedUp'-->
<!-- dataIndex: 'speedUp_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '课程名称',-->
<!-- title: '审核人',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'courseName_dictText'-->
<!-- dataIndex: 'auditBy'-->
<!-- },-->
<!-- {-->
<!-- title: '学分',-->
<!-- title: '审核时间',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'credit'-->
<!-- },-->
<!-- {-->
<!-- title: '学年',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'schoolYear'-->
<!-- },-->
<!-- {-->
<!-- title: '学期',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'openingSemester_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '教师工号',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'workNo'-->
<!-- },-->
<!-- {-->
<!-- title: '教师姓名',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'teName_dictText'-->
<!-- },-->
<!-- {-->
<!-- title: '理论周学时',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'theoryWeekPeriod'-->
<!-- },-->
<!-- {-->
<!-- title: '上课周数',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'classWeeks'-->
<!-- },-->
<!-- {-->
<!-- title: '理论学时',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'theoryPeriod'-->
<!-- },-->
<!-- {-->
<!-- title: '实验学时',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'experimentPeriod'-->
<!-- },-->
<!-- {-->
<!-- title: '实践学时',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'practicePeriod'-->
<!-- },-->
<!-- {-->
<!-- title: '总学时',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'period'-->
<!-- },-->
<!-- {-->
<!-- title: '承担院系',-->
<!-- align: "center",-->
<!-- customCell: () => {-->
<!-- return {-->
<!-- style: {-->
<!-- 'max-width': '10px',-->
<!-- 'white-space': 'normal',-->
<!-- },-->
<!-- };-->
<!-- },-->
<!-- dataIndex: 'responsibleDepartments_dictText'-->
<!-- dataIndex: 'auditTimr',-->
<!-- customRender: function (text) {-->
<!-- return !text ? "" : (text.length > 10 ? text.substr(0, 10) : text)-->
<!-- }-->
<!-- },-->
<!-- {-->
<!-- title: '操作',-->
<!-- dataIndex: 'action',-->
<!-- align: "center",-->
<!-- fixed: "right",-->
<!-- width: 80,-->
<!-- width: 147,-->
<!-- scopedSlots: {customRender: 'action'}-->
<!-- }-->
<!-- ],-->
<!-- url: {-->
<!-- list: "/classopeningtask/classOpeningTask/list",-->
<!-- delete: "/classopeningtask/classOpeningTask/delete",-->
<!-- deleteBatch: "/classopeningtask/classOpeningTask/deleteBatch",-->
<!-- exportXlsUrl: "/classopeningtask/classOpeningTask/exportXls",-->
<!-- importExcelUrl: "classopeningtask/classOpeningTask/importExcel",-->
<!-- dosx: "/classopeningtask/classOpeningTask/dosx"-->
<!-- list: "/org.jeecg.modules.productplan/zyProductPlan/list",-->
<!-- delete: "/org.jeecg.modules.productplan/zyProductPlan/delete",-->
<!-- deleteBatch: "/org.jeecg.modules.productplan/zyProductPlan/deleteBatch",-->
<!-- exportXlsUrl: "/org.jeecg.modules.productplan/zyProductPlan/exportXls",-->
<!-- importExcelUrl: "org.jeecg.modules.productplan/zyProductPlan/importExcel",-->
<!-- },-->
<!-- dictOptions: {},-->
<!-- superFieldList: [],-->
<!-- user_name: '',-->
<!-- }-->
<!-- },-->
<!-- created() {-->
<!-- this.getSuperFieldList();-->
<!-- this.user_name = Vue.ls.get(USER_INFO).username;-->
<!-- },-->
<!-- computed: {-->
<!-- importExcelUrl: function () {-->
<!-- return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;-->
<!-- },-->
<!-- // importExcelUrl: function(){-->
<!-- // return `${window._CONFIG['domianURL']}/${this.url.importExcelUrl}`;-->
<!-- // },-->
<!-- },-->
<!-- methods: {-->
<!-- dosx() {-->
<!-- getAction(this.url.dosx, {xq: this.semester, zy: this.major}).then((res) => {-->
<!-- if (res.success) {-->
<!-- this.$message.success(res.message);-->
<!-- this.loadData();-->
<!-- } else {-->
<!-- this.$message.warning(res.message);-->
<!-- }-->
<!-- });-->
<!-- },-->
<!-- initDictConfig() {-->
<!-- },-->
<!-- show(record) {-->
<!-- this.$refs.pps.edit(record);-->
<!-- this.$refs.pps.title = "查看";-->
<!-- this.$refs.pps.disableSubmit = true;-->
<!-- },-->
<!-- openInstall(id) {-->
<!-- this.$refs.classOpeningTaskInstallModal.showModal(id);-->
<!-- // this.$children[0].showModal(id)-->
<!-- },-->
<!-- getSuperFieldList() {-->
<!-- let fieldList = [];-->
<!-- fieldList.push({-->
<!-- type: 'string',-->
<!-- value: 'semesterOpeningPlanId',-->
<!-- text: '学期开课计划',-->
<!-- dictCode: 'semester_opening_plan,name,id'-->
<!-- })-->
<!-- fieldList.push({-->
<!-- type: 'popup',-->
<!-- value: 'coursePlanListName',-->
<!-- text: '开课计划课程',-->
<!-- popup: {-->
<!-- code: 'course_plan',-->
<!-- field: 'course_name',-->
<!-- orgFields: 'course_name',-->
<!-- destFields: 'course_plan_list_name'-->
<!-- }-->
<!-- })-->
<!-- fieldList.push({type: 'string', value: 'semester', text: '学期', dictCode: 'se_semester,name,id'})-->
<!-- fieldList.push({type: 'sel_depart', value: 'faculty', text: '学院'})-->
<!-- fieldList.push({type: 'string', value: 'major', text: '专业', dictCode: 'se_major,name,id'})-->
<!-- fieldList.push({type: 'string', value: 'year', text: '年级', dictCode: 'class_year'})-->
<!-- fieldList.push({-->
<!-- type: 'list_multi',-->
<!-- value: 'classId',-->
<!-- text: '班级',-->
<!-- dictTable: 'jx_class',-->
<!-- dictText: 'class_name',-->
<!-- dictCode: 'id'-->
<!-- })-->
<!-- fieldList.push({type: 'string', value: 'number', text: '人数', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'type1', text: '课程类别1', dictCode: 'coursecategory'})-->
<!-- fieldList.push({type: 'string', value: 'type2', text: '课程类别2', dictCode: 'se_nature,content,id'})-->
<!-- fieldList.push({type: 'string', value: 'type3', text: '课程类别3', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'courseCode', text: '课程代码', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'courseName', text: '课程名称', dictCode: 'se_course,name,id'})-->
<!-- fieldList.push({type: 'string', value: 'credit', text: '学分', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'schoolYear', text: '开课学年', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'openingSemester', text: '开课学期', dictCode: 'open_semester'})-->
<!-- fieldList.push({type: 'string', value: 'workNo', text: '教师工号', dictCode: ''})-->
<!-- fieldList.push({type: 'sel_user', value: 'teName', text: '教师姓名'})-->
<!-- fieldList.push({type: 'string', value: 'theoryWeekPeriod', text: '理论周学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'classWeeks', text: '上课周数', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'theoryPeriod', text: '理论学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'experimentPeriod', text: '实验或上机学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'practicePeriod', text: '实践学时', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'period', text: '总学时', dictCode: ''})-->
<!-- fieldList.push({type: 'sel_depart', value: 'responsibleDepartments', text: '承担院系'})-->
<!-- fieldList.push({type: 'string', value: 'productCode', text: '工单编号', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'workshopId', text: '车间id', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'responsiblePerson', text: '车间负责人', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'teamId', text: '班组', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'teamLeader', text: '组长', dictCode: ''})-->
<!-- fieldList.push({type: 'date', value: 'workTime', text: '生产开始时间'})-->
<!-- fieldList.push({type: 'int', value: 'offTime', text: '生产时长', dictCode: ''})-->
<!-- fieldList.push({type: 'int', value: 'status', text: '状态', dictCode: ''})-->
<!-- fieldList.push({type: 'int', value: 'speedUp', text: '是否加急', dictCode: ''})-->
<!-- fieldList.push({type: 'string', value: 'auditBy', text: '审核人', dictCode: ''})-->
<!-- fieldList.push({type: 'date', value: 'auditTimr', text: '审核时间'})-->
<!-- this.superFieldList = fieldList-->
<!-- }-->
<!-- }-->

@ -61,15 +61,15 @@
<!-- &lt;!&ndash; <a @click="jumpPage2(record)">工位工具管理</a>&ndash;&gt;-->
<!-- </span>-->
<span slot="action" slot-scope="text, record">
<a @click="handleEdit(record)">编辑</a>
<!-- <a @click="handleEdit(record)">编辑</a>-->
<!-- <a-divider type="vertical"/>-->
<!-- <a @click="handleDetail(record)">详情</a>-->
<a-divider type="vertical"/>
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete2(record.id)">
<!-- <a-divider type="vertical"/>-->
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
<a>删除</a>
</a-popconfirm>
<a-divider type="vertical"/>
<a @click="pf(record)">制定计划详情</a>
<a @click="jumpPage1(record)">制定计划详情</a>
</span>
</a-table>
@ -136,14 +136,6 @@ export default {
align: "center",
dataIndex: 'userIds'
},
{
title: '计划工序',
dataIndex: 'action1',
align: "center",
// fixed: "right",
width: 80,
scopedSlots: {customRender: 'action1'}
},
{
title: '操作',
dataIndex: 'action',
@ -189,7 +181,7 @@ export default {
},
jumpPage1(record) {
this.$router.push({
path: '/productplan/ZyPlanProcessAddList',
path: '/productplan/ZyProductPlanList',
// query: { //
// 'stationId': record.id,
@ -197,19 +189,25 @@ export default {
// },
});
},
pf(record) {
getAction("productPlanlist", {id: record.id}).then((res) => {
if (res.success) {
this.$router.push({
path: '/src/views/processassessment/assessmentCourse/ClassOpeningTaskList',
query: { //
}
});
} else {
this.$message.error(res.message)
}
});
},
// pf(record) {
// this.$router.push({
// path: '/productplan/ZyPlanProcessAddList',
// query: { //
// }
// });
// getAction("productPlanlist", {id: record.id}).then((res) => {
// if (res.success) {
// this.$router.push({
// path: '/src/views/processassessment/assessmentCourse/ClassOpeningTaskList',
// query: { //
// }
// });
// } else {
// this.$message.error(res.message)
// }
// });
// },
}
}
</script>

Loading…
Cancel
Save