Commit 3fa348cc authored by 康振飞's avatar 康振飞

任务列表

parent c6783e18
...@@ -866,7 +866,7 @@ html [type=button] { ...@@ -866,7 +866,7 @@ html [type=button] {
} }
.waitTask {/*flex 布局*/ .waitTask {/*flex 布局*/
display: flex; display: flex!important;
align-items: center; align-items: center;
width: 200px; width: 200px;
height: 100px; height: 100px;
......
...@@ -420,8 +420,8 @@ export default { ...@@ -420,8 +420,8 @@ export default {
this.datasearch.entryID this.datasearch.entryID
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
this.product_List = response.data.result this.product_List = response.result
this.board_List = response.data.result this.board_List = response.result
for (let i = 0; i < this.product_List.length; i++) { for (let i = 0; i < this.product_List.length; i++) {
let obj = this.product_List[i] let obj = this.product_List[i]
......
...@@ -4,10 +4,10 @@ ...@@ -4,10 +4,10 @@
<Form <Form
ref="cardModeldata" ref="cardModeldata"
:model="cardModeldata" :model="cardModeldata"
:rules="ruleValidate"
:label-width="120" :label-width="120"
inline inline
> >
<!-- :rules="ruleValidate" -->
<Row> <Row>
<Col span="12"> <Col span="12">
<FormItem label="设备编号"> <FormItem label="设备编号">
...@@ -143,7 +143,7 @@ export default { ...@@ -143,7 +143,7 @@ export default {
`${PlanUrl}/orderexecutefiles/getbyentryid?entryId=` + this.dispatch_id `${PlanUrl}/orderexecutefiles/getbyentryid?entryId=` + this.dispatch_id
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
this.cardModeldata = response.data.result[0] this.cardModeldata = response.result[0]
;(this.cardModeldata.dispatch_id = this.dispatch_id), ;(this.cardModeldata.dispatch_id = this.dispatch_id),
(this.cardModeldata.execute_id = this.execute_id), (this.cardModeldata.execute_id = this.execute_id),
(this.cardModeldata.order_id = this.order_id) (this.cardModeldata.order_id = this.order_id)
...@@ -165,7 +165,7 @@ export default { ...@@ -165,7 +165,7 @@ export default {
`${systemUrl}/equipinfo/getbyid?Id=` + this.cardModeldata.equip_id `${systemUrl}/equipinfo/getbyid?Id=` + this.cardModeldata.equip_id
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
let obj = response.data.result let obj = response.result
this.equipCode = obj.equip_id this.equipCode = obj.equip_id
this.equipName = obj.equip_name this.equipName = obj.equip_name
this.equipTypeName = obj.equip_winname this.equipTypeName = obj.equip_winname
...@@ -177,7 +177,7 @@ export default { ...@@ -177,7 +177,7 @@ export default {
this.cardModeldata.equip_id this.cardModeldata.equip_id
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
let obj = response.data.result let obj = response.result
this.fileTempUrlPath = fileUrlDown + obj.file this.fileTempUrlPath = fileUrlDown + obj.file
}) })
}, },
...@@ -207,7 +207,7 @@ export default { ...@@ -207,7 +207,7 @@ export default {
}) })
) )
.then((response) => { .then((response) => {
if (response.data.success) { if (response.success) {
this.$Message.success('保存成功') this.$Message.success('保存成功')
this.loaddata() this.loaddata()
this.cleardata() this.cleardata()
......
...@@ -73,7 +73,7 @@ export default { ...@@ -73,7 +73,7 @@ export default {
checker: 0, checker: 0,
check_time: null check_time: null
}, },
isall:[],
isMain: 1, isMain: 1,
productisabled: false, productisabled: false,
product_ID: [], product_ID: [],
...@@ -117,7 +117,7 @@ export default { ...@@ -117,7 +117,7 @@ export default {
service service
.post(`${url}`, JSON.stringify(this.user)) .post(`${url}`, JSON.stringify(this.user))
.then((response) => { .then((response) => {
if (response.data.success) { if (response.success) {
this.$Message.success('保存成功') this.$Message.success('保存成功')
this.$parent.$parent.loadproduct() this.$parent.$parent.loadproduct()
this.$parent.$parent.sendCheckModal = false this.$parent.$parent.sendCheckModal = false
...@@ -152,8 +152,8 @@ export default { ...@@ -152,8 +152,8 @@ export default {
this.user.dispatch_id this.user.dispatch_id
service.post(`${url}`).then((response) => { service.post(`${url}`).then((response) => {
this.product_List = response.data.result this.product_List = response.result
this.board_List = response.data.result this.board_List = response.result
}) })
}, },
loaduser() { loaduser() {
...@@ -167,7 +167,7 @@ export default { ...@@ -167,7 +167,7 @@ export default {
var url = systemUrl + '/MyRole/GetRolesAsync?' + QS.stringify(params) var url = systemUrl + '/MyRole/GetRolesAsync?' + QS.stringify(params)
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
let roles = response.data.result.items let roles = response.result.items
let roleids = [] let roleids = []
for (let i = 0; i < roles.length; i++) { for (let i = 0; i < roles.length; i++) {
roleids.push(roles[i].id) roleids.push(roles[i].id)
...@@ -182,8 +182,8 @@ export default { ...@@ -182,8 +182,8 @@ export default {
`${systemUrl}/myuserrole/GetUsersByRole?ids=` + roleids.join(',') `${systemUrl}/myuserrole/GetUsersByRole?ids=` + roleids.join(',')
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
for (let j = 0; j < response.data.result.length; j++) { for (let j = 0; j < response.result.length; j++) {
let user = response.data.result[j] let user = response.result[j]
var index = this.checkerlist.filter(function(item) { var index = this.checkerlist.filter(function(item) {
return item.id === user.id return item.id === user.id
}) })
......
...@@ -48,6 +48,10 @@ ...@@ -48,6 +48,10 @@
</div> </div>
</div> </div>
</div> </div>
<div class="dd" v-if="!entryData">
<!-- .length=0 -->
暂无数据
</div>
<div <div
@click="groupClick(item,index)" @click="groupClick(item,index)"
:class="item.id==currentID?'hover':'card_box'" :class="item.id==currentID?'hover':'card_box'"
...@@ -369,6 +373,7 @@ export default { ...@@ -369,6 +373,7 @@ export default {
this.currententry = null this.currententry = null
var url = `${PlanUrl}/orderexecute/getentrylist?ExecuteId=` + ExecuteId var url = `${PlanUrl}/orderexecute/getentrylist?ExecuteId=` + ExecuteId
service.get(`${url}`).then((response) => { service.get(`${url}`).then((response) => {
console.log("数据",response)
this.entryData = response.result.entryList this.entryData = response.result.entryList
this.entryHistoryData = this.entryData this.entryHistoryData = this.entryData
let data = [] let data = []
...@@ -450,7 +455,9 @@ export default { ...@@ -450,7 +455,9 @@ export default {
} }
}) })
}, },
detailOk(){
console.log("配套")
},
loadBill() { loadBill() {
var url = var url =
`${designUrl}/orderbillrel/getorderbilllistbyorders?orderids=` + `${designUrl}/orderbillrel/getorderbilllistbyorders?orderids=` +
......
...@@ -24,7 +24,8 @@ ...@@ -24,7 +24,8 @@
float : left; float : left;
width : 310px; width : 310px;
margin-right: 15px; margin-right: 15px;
height : calc(100% - 16px); // height : calc(100% - 16px);
height: 500px;
border : 1px solid #e4e6ed; border : 1px solid #e4e6ed;
overflow-y : auto; overflow-y : auto;
overflow-x : hidden; overflow-x : hidden;
......
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