|
@@ -93,6 +93,9 @@
|
|
<a @click="handleDetail(record)">详情</a>
|
|
<a @click="handleDetail(record)">详情</a>
|
|
</a-menu-item>
|
|
</a-menu-item>
|
|
<a-menu-item>
|
|
<a-menu-item>
|
|
|
|
+ <a @click="handleInform(record)">知会</a>
|
|
|
|
+ </a-menu-item>
|
|
|
|
+ <a-menu-item>
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
<a-popconfirm title="确定删除吗?" @confirm="() => handleDelete(record.id)">
|
|
<a>删除</a>
|
|
<a>删除</a>
|
|
</a-popconfirm>
|
|
</a-popconfirm>
|
|
@@ -105,6 +108,20 @@
|
|
</div>
|
|
</div>
|
|
|
|
|
|
<cost-model-list-modal ref="modalForm" @ok="modalFormOk"></cost-model-list-modal>
|
|
<cost-model-list-modal ref="modalForm" @ok="modalFormOk"></cost-model-list-modal>
|
|
|
|
+
|
|
|
|
+ <j-modal
|
|
|
|
+ title="知会"
|
|
|
|
+ :width="800"
|
|
|
|
+ :visible="visibleInform"
|
|
|
|
+ switchFullscreen
|
|
|
|
+ @ok="handleOk"
|
|
|
|
+ :okButtonProps="{ class:{'jee-hidden': disableSubmit} }"
|
|
|
|
+ @cancel="handleCancel"
|
|
|
|
+ cancelText="关闭">
|
|
|
|
+ <j-select-multi-user :returnKeys="returnKeys" placeholder="请选择指定用户" v-model="userIds" :trigger-change="true"></j-select-multi-user>
|
|
|
|
+ <j-select-user-by-dep placeholder="请选择消息接收方" v-model="receiver"></j-select-user-by-dep>
|
|
|
|
+ </j-modal>
|
|
|
|
+
|
|
</a-card>
|
|
</a-card>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -114,6 +131,7 @@
|
|
import { mixinDevice } from '@/utils/mixin'
|
|
import { mixinDevice } from '@/utils/mixin'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
import { JeecgListMixin } from '@/mixins/JeecgListMixin'
|
|
import CostModelListModal from './modules/CostModelListModal'
|
|
import CostModelListModal from './modules/CostModelListModal'
|
|
|
|
+ import { costModelInform } from '@/api/kzksApi.js'
|
|
|
|
|
|
export default {
|
|
export default {
|
|
name: 'CostModelListList',
|
|
name: 'CostModelListList',
|
|
@@ -142,6 +160,21 @@
|
|
dataIndex: 'xmName'
|
|
dataIndex: 'xmName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
|
|
+ title:'创建人',
|
|
|
|
+ align:"center",
|
|
|
|
+ dataIndex: 'createBy'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title:'所属部门',
|
|
|
|
+ align:"center",
|
|
|
|
+ dataIndex: 'sysOrgCode'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title:'知会给',
|
|
|
|
+ align:"center",
|
|
|
|
+ dataIndex: 'informTo'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
title:'外协费',
|
|
title:'外协费',
|
|
align:"center",
|
|
align:"center",
|
|
dataIndex: 'wxf'
|
|
dataIndex: 'wxf'
|
|
@@ -210,6 +243,14 @@
|
|
},
|
|
},
|
|
dictOptions:{},
|
|
dictOptions:{},
|
|
superFieldList:[],
|
|
superFieldList:[],
|
|
|
|
+
|
|
|
|
+ disableSubmit: false,
|
|
|
|
+ visibleInform: false,
|
|
|
|
+ returnKeys:['id', 'id'], //用户选择返回字段
|
|
|
|
+ userIds:"",
|
|
|
|
+ receiver: "",
|
|
|
|
+
|
|
|
|
+ inform: {}
|
|
}
|
|
}
|
|
},
|
|
},
|
|
created() {
|
|
created() {
|
|
@@ -221,6 +262,25 @@
|
|
},
|
|
},
|
|
},
|
|
},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ handleInform(record){
|
|
|
|
+ console.log(record)
|
|
|
|
+ this.inform.id = record.id
|
|
|
|
+ this.visibleInform = true
|
|
|
|
+ },
|
|
|
|
+ handleOk(){
|
|
|
|
+ // this.visibleInform = false
|
|
|
|
+ console.log(this.receiver)
|
|
|
|
+ this.inform.informTo = this.receiver.toString()
|
|
|
|
+ costModelInform(this.inform).then(res => {
|
|
|
|
+ console.log(res)
|
|
|
|
+ this.visibleInform = false
|
|
|
|
+ this.loadData()
|
|
|
|
+ })
|
|
|
|
+ },
|
|
|
|
+ handleCancel(){
|
|
|
|
+ this.visibleInform = false
|
|
|
|
+
|
|
|
|
+ },
|
|
initDictConfig(){
|
|
initDictConfig(){
|
|
},
|
|
},
|
|
getSuperFieldList(){
|
|
getSuperFieldList(){
|