| | |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: '所属部门', |
| | | title: '所属车间', |
| | | align: "center", |
| | | dataIndex: 'departId_dictText', |
| | | width: 220, |
| | |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: '所属部门', |
| | | title: '所属车间', |
| | | align: "center", |
| | | dataIndex: 'departId_dictText', |
| | | width: 220, |
| | |
| | | width: 200, |
| | | }, |
| | | { |
| | | title: '所属部门', |
| | | title: '所属车间', |
| | | align: "center", |
| | | dataIndex: 'departId_dictText', |
| | | width: 220, |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-item label="所属部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <j-dict-select-tag :disabled="formDisabled" type="list" v-decorator="['departId']" :trigger-change="true" dictCode="sys_department,depart_name,depart_id" placeholder="请选择所属部门"/> |
| | | <a-form-item label="所属车间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <j-select-equipment-production v-model="model.departId" :multi="false" @back="backProductionInfo" :backProduction="true" :treeProductOpera="true"></j-select-equipment-production> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | |
| | | import pick from 'lodash.pick' |
| | | import JFormContainer from '@/components/jeecg/JFormContainer' |
| | | import JDictSelectTag from "@/components/dict/JDictSelectTag" |
| | | import JSelectEquipmentProduction from '@comp/jeecgbiz/JSelectEquipmentProduction.vue' |
| | | |
| | | export default { |
| | | name: 'ActivitiSignExamineForm', |
| | | components: { |
| | | JSelectEquipmentProduction, |
| | | JFormContainer, |
| | | JDictSelectTag, |
| | | }, |
| | |
| | | add () { |
| | | this.edit({}); |
| | | }, |
| | | backProductionInfo(info) { |
| | | // console.log(info) |
| | | this.model.productionIds = this.model.selectedProduction; |
| | | this.nextProductionOptions = info.map((item,index,arr)=>{ |
| | | let c = {label:item.text, value: item.value+""} |
| | | return c; |
| | | }) |
| | | }, |
| | | edit (record) { |
| | | this.form.resetFields(); |
| | | this.model = Object.assign({}, record); |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-item label="所属部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <j-dict-select-tag :disabled="formDisabled" type="list" v-decorator="['departId']" :trigger-change="true" dictCode="sys_department,depart_name,depart_id" placeholder="请选择所属部门"/> |
| | | <a-form-item label="所属车间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <j-select-equipment-production v-model="model.departId" :multi="false" @back="backProductionInfo" :backProduction="true" :treeProductOpera="true"></j-select-equipment-production> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | |
| | | import pick from 'lodash.pick' |
| | | import JFormContainer from '@/components/jeecg/JFormContainer' |
| | | import JDictSelectTag from "@/components/dict/JDictSelectTag" |
| | | import JSelectEquipmentProduction from '@comp/jeecgbiz/JSelectEquipmentProduction.vue' |
| | | |
| | | export default { |
| | | name: 'AssignApproveUserForm', |
| | | components: { |
| | | JSelectEquipmentProduction, |
| | | JFormContainer, |
| | | JDictSelectTag, |
| | | }, |
| | |
| | | add () { |
| | | this.edit({}); |
| | | }, |
| | | backProductionInfo(info) { |
| | | // console.log(info) |
| | | this.model.productionIds = this.model.selectedProduction; |
| | | this.nextProductionOptions = info.map((item,index,arr)=>{ |
| | | let c = {label:item.text, value: item.value+""} |
| | | return c; |
| | | }) |
| | | }, |
| | | edit (record) { |
| | | this.form.resetFields(); |
| | | this.model = Object.assign({}, record); |
| | |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | | <a-form-item label="所属部门" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <j-dict-select-tag type="list" v-decorator="['departId']" :trigger-change="true" dictCode="sys_department,depart_name,depart_id" placeholder="请选择所属部门"/> |
| | | <a-form-item label="所属车间" :labelCol="labelCol" :wrapperCol="wrapperCol"> |
| | | <!-- <j-dict-select-tag type="list" v-decorator="['departId']" :trigger-change="true" dictCode="sys_department,depart_name,depart_id" placeholder="请选择所属部门"/>--> |
| | | <j-select-equipment-production v-model="model.departId" :multi="false" @back="backProductionInfo" :backProduction="true" :treeProductOpera="true"></j-select-equipment-production> |
| | | </a-form-item> |
| | | </a-col> |
| | | <a-col :span="24"> |
| | |
| | | import pick from 'lodash.pick' |
| | | import JFormContainer from '@/components/jeecg/JFormContainer' |
| | | import JDictSelectTag from "@/components/dict/JDictSelectTag" |
| | | import JSelectProduction from '@comp/jeecgbiz/JSelectProduction.vue' |
| | | import JSelectEquipmentProduction from '@comp/jeecgbiz/JSelectEquipmentProduction.vue' |
| | | |
| | | export default { |
| | | name: 'NcDeviceCharactersForm', |
| | | components: { |
| | | JSelectEquipmentProduction, |
| | | JSelectProduction, |
| | | JFormContainer, |
| | | JDictSelectTag, |
| | | }, |
| | |
| | | }, |
| | | departId: { |
| | | rules: [ |
| | | { required: true, message: '请选择部门分组!'}, |
| | | { required: true, message: '请选择所属车间!'}, |
| | | ] |
| | | }, |
| | | controlSystem: { |
| | |
| | | add () { |
| | | this.edit({}); |
| | | }, |
| | | backProductionInfo(info) { |
| | | // console.log(info) |
| | | this.model.productionIds = this.model.selectedProduction; |
| | | this.nextProductionOptions = info.map((item,index,arr)=>{ |
| | | let c = {label:item.text, value: item.value+""} |
| | | return c; |
| | | }) |
| | | }, |
| | | edit (record) { |
| | | this.form.resetFields(); |
| | | this.model = Object.assign({}, record); |
| | |
| | | return parseInt(index) + 1 |
| | | } |
| | | }, |
| | | { title: '设备名称', dataIndex: 'deviceName', align: 'center' }, |
| | | { title: '设备编号', dataIndex: 'deviceNo', align: 'center' }, |
| | | { title: '设备型号', dataIndex: 'deviceModel', align: 'center' }, |
| | | { title: '所属部门', dataIndex: 'departName', align: 'center' }, |
| | | { title: '设备分组', dataIndex: 'groupName', align: 'center' }, |
| | | { title: '控制系统', dataIndex: 'controlSystem', align: 'center' } |
| | | { title: '设备名称', dataIndex: 'equipmentName', align: 'center' }, |
| | | { title: '设备编号', dataIndex: 'equipmentId', align: 'center' }, |
| | | { title: '设备类型', dataIndex: 'equipmentType', align: 'center' }, |
| | | { title: '设备型号', dataIndex: 'equipmentModel', align: 'center' }, |
| | | { title: '所属车间', dataIndex: 'productionName', align: 'center' }, |
| | | { title: '数控系统', dataIndex: 'controlSystem', align: 'center' } |
| | | ], |
| | | url: { |
| | | list: '/doc/relative/get/device' |